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(alloc, in __vb2_buf_mem_alloc()237 if (IS_ERR_OR_NULL(mem_priv)) { in __vb2_buf_mem_alloc()238 if (mem_priv) in __vb2_buf_mem_alloc()239 ret = PTR_ERR(mem_priv); in __vb2_buf_mem_alloc()244 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()251 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()252 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc()266 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free()267 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free()[all …]
373 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument375 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()387 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument389 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()396 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument398 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
552 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument554 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()580 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument582 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()605 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument607 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
697 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument699 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()736 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument738 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()762 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument764 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
179 void *mem_priv; member