Lines Matching refs:file
1024 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument
1056 file->private_data = data; in rfkill_fop_open()
1058 return nonseekable_open(inode, file); in rfkill_fop_open()
1070 static unsigned int rfkill_fop_poll(struct file *file, poll_table *wait) in rfkill_fop_poll() argument
1072 struct rfkill_data *data = file->private_data; in rfkill_fop_poll()
1075 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1085 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read() argument
1088 struct rfkill_data *data = file->private_data; in rfkill_fop_read()
1096 if (file->f_flags & O_NONBLOCK) { in rfkill_fop_read()
1127 static ssize_t rfkill_fop_write(struct file *file, const char __user *buf, in rfkill_fop_write() argument
1178 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
1180 struct rfkill_data *data = file->private_data; in rfkill_fop_release()
1203 static long rfkill_fop_ioctl(struct file *file, unsigned int cmd, in rfkill_fop_ioctl() argument
1206 struct rfkill_data *data = file->private_data; in rfkill_fop_ioctl()