Searched refs:mem_priv (Results 1 – 5 of 5) sorted by relevance
226 void *mem_priv; in __vb2_buf_mem_alloc() local242 mem_priv = call_ptr_memop(alloc, in __vb2_buf_mem_alloc()246 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()247 if (mem_priv) in __vb2_buf_mem_alloc()248 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()253 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()260 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()261 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()275 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()276 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()[all …]
368 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument370 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()382 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument384 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()391 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument393 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
551 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument553 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()579 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument581 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()604 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument606 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
690 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument692 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()730 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument732 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()756 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument758 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
181 void *mem_priv; member