Lines Matching refs:file
1106 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument
1138 file->private_data = data; in rfkill_fop_open()
1140 return stream_open(inode, file); in rfkill_fop_open()
1152 static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait) in rfkill_fop_poll() argument
1154 struct rfkill_data *data = file->private_data; in rfkill_fop_poll()
1157 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1167 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read() argument
1170 struct rfkill_data *data = file->private_data; in rfkill_fop_read()
1178 if (file->f_flags & O_NONBLOCK) { in rfkill_fop_read()
1209 static ssize_t rfkill_fop_write(struct file *file, const char __user *buf, in rfkill_fop_write() argument
1261 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
1263 struct rfkill_data *data = file->private_data; in rfkill_fop_release()
1286 static long rfkill_fop_ioctl(struct file *file, unsigned int cmd, in rfkill_fop_ioctl() argument
1289 struct rfkill_data *data = file->private_data; in rfkill_fop_ioctl()