Lines Matching defs:filep
711 static loff_t lseek(struct file *filep, loff_t offset, int orig)
717 static ssize_t read(struct file *filep, char *outbuf, size_t n, loff_t *ppos)
719 struct IR *ir = (struct IR *)filep->private_data;
759 if (filep->f_flags & O_NONBLOCK) {
898 static ssize_t write(struct file *filep, const char *buf, size_t n,
901 struct IR *ir = (struct IR *)filep->private_data;
973 static unsigned int poll(struct file *filep, poll_table *wait)
975 struct IR *ir = (struct IR *)filep->private_data;
984 poll_wait(filep, &ir->buf.wait_poll, wait);
995 static long ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
997 struct IR *ir = (struct IR *)filep->private_data;
1054 static int open(struct inode *node, struct file *filep)
1080 filep->private_data = ir;
1086 static int close(struct inode *node, struct file *filep)
1089 struct IR *ir = (struct IR *)filep->private_data;