Lines Matching refs:dma_buf
44 struct dma_buf *dmabuf; in dma_buf_release()
65 struct dma_buf *dmabuf; in dma_buf_mmap_internal()
110 struct dma_buf *dma_buf_export_named(void *priv, const struct dma_buf_ops *ops, in dma_buf_export_named()
113 struct dma_buf *dmabuf; in dma_buf_export_named()
126 dmabuf = kzalloc(sizeof(struct dma_buf), GFP_KERNEL); in dma_buf_export_named()
158 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd()
183 struct dma_buf *dma_buf_get(int fd) in dma_buf_get()
207 void dma_buf_put(struct dma_buf *dmabuf) in dma_buf_put()
226 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, in dma_buf_attach()
268 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) in dma_buf_detach()
346 int dma_buf_begin_cpu_access(struct dma_buf *dmabuf, size_t start, size_t len, in dma_buf_begin_cpu_access()
373 void dma_buf_end_cpu_access(struct dma_buf *dmabuf, size_t start, size_t len, in dma_buf_end_cpu_access()
392 void *dma_buf_kmap_atomic(struct dma_buf *dmabuf, unsigned long page_num) in dma_buf_kmap_atomic()
408 void dma_buf_kunmap_atomic(struct dma_buf *dmabuf, unsigned long page_num, in dma_buf_kunmap_atomic()
427 void *dma_buf_kmap(struct dma_buf *dmabuf, unsigned long page_num) in dma_buf_kmap()
443 void dma_buf_kunmap(struct dma_buf *dmabuf, unsigned long page_num, in dma_buf_kunmap()
468 int dma_buf_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma, in dma_buf_mmap()
516 void *dma_buf_vmap(struct dma_buf *dmabuf) in dma_buf_vmap()
554 void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) in dma_buf_vunmap()
577 struct dma_buf *buf_obj; in dma_buf_describe()