Lines Matching refs:file
1103 static int rfkill_fop_open(struct inode *inode, struct file *file) in rfkill_fop_open() argument
1135 file->private_data = data; in rfkill_fop_open()
1137 return stream_open(inode, file); in rfkill_fop_open()
1149 static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait) in rfkill_fop_poll() argument
1151 struct rfkill_data *data = file->private_data; in rfkill_fop_poll()
1154 poll_wait(file, &data->read_wait, wait); in rfkill_fop_poll()
1164 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read() argument
1167 struct rfkill_data *data = file->private_data; in rfkill_fop_read()
1175 if (file->f_flags & O_NONBLOCK) { in rfkill_fop_read()
1206 static ssize_t rfkill_fop_write(struct file *file, const char __user *buf, in rfkill_fop_write() argument
1258 static int rfkill_fop_release(struct inode *inode, struct file *file) in rfkill_fop_release() argument
1260 struct rfkill_data *data = file->private_data; in rfkill_fop_release()
1283 static long rfkill_fop_ioctl(struct file *file, unsigned int cmd, in rfkill_fop_ioctl() argument
1286 struct rfkill_data *data = file->private_data; in rfkill_fop_ioctl()