Lines Matching defs:file
3 * Header file for dma buffer sharing framework.
16 #include <linux/file.h>
299 * address_space associated with the struct file stored in vma->vm_file
301 * framework only backs every dma_buf fd with the anon_file struct file,
302 * i.e. all dma_bufs share the same file.
304 * Hence exporters need to setup their own file (and address_space)
307 * exporter could use the shmem file already provided by gem (and set
310 * own file.
356 * @file: file pointer used for sharing buffers across, and for refcounting.
384 * userspace representation is a normal file descriptor, which can be created by
394 struct file *file;
519 * @flags: mode flags for the file
557 get_file(dmabuf->file);
587 int is_dma_buf_file(struct file *file);
619 * get_dma_buf_from_file - Get struct dma_buf* from struct file*
620 * @f: [in] pointer to struct file, which is associated with a
624 * If @f is not a file associated with dma_buf, return NULL.
626 struct dma_buf *get_dma_buf_from_file(struct file *f);