Lines Matching refs:file
1162 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument
1197 file->private_data = data; in rfkill_fop_open()
1199 return stream_open(inode, file); in rfkill_fop_open()
1210 static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait) in rfkill_fop_poll() argument
1212 struct rfkill_data *data = file->private_data; in rfkill_fop_poll()
1215 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1225 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read() argument
1228 struct rfkill_data *data = file->private_data; in rfkill_fop_read()
1236 if (file->f_flags & O_NONBLOCK) { in rfkill_fop_read()
1268 static ssize_t rfkill_fop_write(struct file *file, const char __user *buf, in rfkill_fop_write() argument
1271 struct rfkill_data *data = file->private_data; in rfkill_fop_write()
1322 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
1324 struct rfkill_data *data = file->private_data; in rfkill_fop_release()
1346 static long rfkill_fop_ioctl(struct file *file, unsigned int cmd, in rfkill_fop_ioctl() argument
1349 struct rfkill_data *data = file->private_data; in rfkill_fop_ioctl()