Lines Matching defs:file

149  * vb2_expbuf() - Export a buffer as a file descriptor
166 * would be passing (&file->f_flags & %O_NONBLOCK) here
277 * @file: file argument passed to the poll file operation handler
278 * @wait: wait argument passed to the poll file operation handler
280 * This function implements poll file operation handler for a driver.
282 * be informed that the file descriptor of a video device is available for
284 * For OUTPUT queues, if a buffer is ready to be dequeued, the file descriptor
293 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait);
307 * @file: file through which the vb2 queue access is performed
310 * @file.
317 static inline bool vb2_queue_is_busy(struct vb2_queue *q, struct file *file)
319 return q->owner && q->owner != file->private_data;
324 int vb2_ioctl_reqbufs(struct file *file, void *priv,
326 int vb2_ioctl_create_bufs(struct file *file, void *priv,
328 int vb2_ioctl_prepare_buf(struct file *file, void *priv,
330 int vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p);
331 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p);
332 int vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p);
333 int vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i);
334 int vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i);
335 int vb2_ioctl_expbuf(struct file *file, void *priv,
340 int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma);
341 int vb2_fop_release(struct file *file);
342 int _vb2_fop_release(struct file *file, struct mutex *lock);
343 ssize_t vb2_fop_write(struct file *file, const char __user *buf,
345 ssize_t vb2_fop_read(struct file *file, char __user *buf,
347 __poll_t vb2_fop_poll(struct file *file, poll_table *wait);
349 unsigned long vb2_fop_get_unmapped_area(struct file *file, unsigned long addr,