Lines Matching refs:dmabuf
50 static int cma_heap_attach(struct dma_buf *dmabuf, in cma_heap_attach() argument
53 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_attach()
83 static void cma_heap_detach(struct dma_buf *dmabuf, in cma_heap_detach() argument
86 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_detach()
123 static int cma_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_begin_cpu_access() argument
126 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_begin_cpu_access()
144 static int cma_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in cma_heap_dma_buf_end_cpu_access() argument
147 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_end_cpu_access()
183 static int cma_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in cma_heap_mmap() argument
185 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_mmap()
207 static int cma_heap_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in cma_heap_vmap() argument
209 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_vmap()
234 static void cma_heap_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in cma_heap_vunmap() argument
236 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_vunmap()
247 static void cma_heap_dma_buf_release(struct dma_buf *dmabuf) in cma_heap_dma_buf_release() argument
249 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_dma_buf_release()
290 struct dma_buf *dmabuf; in cma_heap_allocate() local
351 dmabuf = dma_buf_export(&exp_info); in cma_heap_allocate()
352 if (IS_ERR(dmabuf)) { in cma_heap_allocate()
353 ret = PTR_ERR(dmabuf); in cma_heap_allocate()
356 return dmabuf; in cma_heap_allocate()