Searched refs:mem_priv (Results 1 – 6 of 6) 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 …]
370 static int vb2_vmalloc_map_dmabuf(void *mem_priv) in vb2_vmalloc_map_dmabuf() argument372 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_map_dmabuf()379 static void vb2_vmalloc_unmap_dmabuf(void *mem_priv) in vb2_vmalloc_unmap_dmabuf() argument381 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_unmap_dmabuf()387 static void vb2_vmalloc_detach_dmabuf(void *mem_priv) in vb2_vmalloc_detach_dmabuf() argument389 struct vb2_vmalloc_buf *buf = mem_priv; in vb2_vmalloc_detach_dmabuf()
536 static int vb2_dma_sg_map_dmabuf(void *mem_priv) in vb2_dma_sg_map_dmabuf() argument538 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_map_dmabuf()564 static void vb2_dma_sg_unmap_dmabuf(void *mem_priv) in vb2_dma_sg_unmap_dmabuf() argument566 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_unmap_dmabuf()588 static void vb2_dma_sg_detach_dmabuf(void *mem_priv) in vb2_dma_sg_detach_dmabuf() argument590 struct vb2_dma_sg_buf *buf = mem_priv; in vb2_dma_sg_detach_dmabuf()
579 static int vb2_dc_map_dmabuf(void *mem_priv) in vb2_dc_map_dmabuf() argument581 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_map_dmabuf()618 static void vb2_dc_unmap_dmabuf(void *mem_priv) in vb2_dc_unmap_dmabuf() argument620 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_unmap_dmabuf()643 static void vb2_dc_detach_dmabuf(void *mem_priv) in vb2_dc_detach_dmabuf() argument645 struct vb2_dc_buf *buf = mem_priv; in vb2_dc_detach_dmabuf()
175 void *mem_priv; member
31269 + buffer->gd_buffer[index].mem_priv = NULL;31286 + buffer->gd_buffer[i].mem_priv = NULL;31331 + buffer->gd_buffer[index].mem_priv = buf;31353 + buf = buffer->gd_buffer[index].mem_priv;31380 + buf = buffer->gd_buffer[index].mem_priv;31495 + dma_buf = buffer->gd_buffer[i].mem_priv;31686 + void *mem_priv;