Searched refs:mem_priv (Results 1 – 5 of 5) sorted by relevance
217 void *mem_priv; in __vb2_buf_mem_alloc() local233 mem_priv = call_ptr_memop(vb, alloc, in __vb2_buf_mem_alloc()236 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()237 if (mem_priv) in __vb2_buf_mem_alloc()238 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()243 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()250 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()251 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()265 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()266 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()[all …]
372 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument374 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()386 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument388 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()395 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument397 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
542 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument544 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()570 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument572 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()595 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument597 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
585 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument587 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()624 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument626 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()650 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument652 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
178 void *mem_priv; member