Lines Matching defs:file
74 * indicates that file->private_data points to &struct v4l2_fh.
123 * v4l2_prio_change - changes the v4l2 file handler priority
136 * v4l2_prio_open - Implements the priority logic for a file handler open
147 * v4l2_prio_close - Implements the priority logic for a file handler close
168 * v4l2_prio_check - Implements the priority logic for a file handler close
202 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
203 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
204 __poll_t (*poll) (struct file *, struct poll_table_struct *);
205 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
207 long (*compat_ioctl32) (struct file *, unsigned int, unsigned long);
209 unsigned long (*get_unmapped_area) (struct file *, unsigned long,
211 int (*mmap) (struct file *, struct vm_area_struct *);
212 int (*open) (struct file *);
213 int (*release) (struct file *);
295 /* V4L2 file handles */
499 * video_devdata - gets &struct video_device from struct file.
501 * @file: pointer to struct file
503 struct video_device *video_devdata(struct file *file);
507 * struct file.
509 * @file: pointer to struct file
514 static inline void *video_drvdata(struct file *file)
516 return video_get_drvdata(video_devdata(file));