Lines Matching refs:dmabuf
91 static int system_heap_attach(struct dma_buf *dmabuf, in system_heap_attach() argument
94 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_attach()
122 static void system_heap_detach(struct dma_buf *dmabuf, in system_heap_detach() argument
125 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_detach()
169 static int system_heap_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_begin_cpu_access() argument
172 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_begin_cpu_access()
192 static int system_heap_dma_buf_end_cpu_access(struct dma_buf *dmabuf, in system_heap_dma_buf_end_cpu_access() argument
195 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_end_cpu_access()
215 static int system_heap_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma) in system_heap_mmap() argument
217 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_mmap()
270 static int system_heap_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in system_heap_vmap() argument
272 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_vmap()
298 static void system_heap_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map) in system_heap_vunmap() argument
300 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_vunmap()
329 static void system_heap_dma_buf_release(struct dma_buf *dmabuf) in system_heap_dma_buf_release() argument
331 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_dma_buf_release()
395 struct dma_buf *dmabuf; in system_heap_do_allocate() local
451 dmabuf = dma_buf_export(&exp_info); in system_heap_do_allocate()
452 if (IS_ERR(dmabuf)) { in system_heap_do_allocate()
453 ret = PTR_ERR(dmabuf); in system_heap_do_allocate()
468 return dmabuf; in system_heap_do_allocate()