Lines Matching refs:dmabuf

73 static int system_heap_attach(struct dma_buf *dmabuf,  in system_heap_attach()  argument
76 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_attach()
103 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach() argument
106 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_detach()
142 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access() argument
145 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_begin_cpu_access()
163 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access() argument
166 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_end_cpu_access()
184 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap() argument
186 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_mmap()
232 static int system_heap_vmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vmap() argument
234 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_vmap()
260 static void system_heap_vunmap(struct dma_buf *dmabuf, struct iosys_map *map) in system_heap_vunmap() argument
262 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_vunmap()
273 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release() argument
275 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_release()
332 struct dma_buf *dmabuf; in system_heap_allocate() local
387 dmabuf = dma_buf_export(&exp_info); in system_heap_allocate()
388 if (IS_ERR(dmabuf)) { in system_heap_allocate()
389 ret = PTR_ERR(dmabuf); in system_heap_allocate()
392 return dmabuf; in system_heap_allocate()