Home
last modified time | relevance | path

Searched refs:sgt_base (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c39 struct sg_table *sgt_base; member
126 if (buf->sgt_base) { in vb2_dc_put()
127 sg_free_table(buf->sgt_base); in vb2_dc_put()
128 kfree(buf->sgt_base); in vb2_dc_put()
233 ret = sg_alloc_table(sgt, buf->sgt_base->orig_nents, GFP_KERNEL); in vb2_dc_dmabuf_ops_attach()
239 rd = buf->sgt_base->sgl; in vb2_dc_dmabuf_ops_attach()
405 if (!buf->sgt_base) in vb2_dc_get_dmabuf()
406 buf->sgt_base = vb2_dc_get_base_sgt(buf); in vb2_dc_get_dmabuf()
408 if (WARN_ON(!buf->sgt_base)) in vb2_dc_get_dmabuf()
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c40 struct sg_table *sgt_base; member
180 if (buf->sgt_base) { in vb2_dc_put()
181 sg_free_table(buf->sgt_base); in vb2_dc_put()
182 kfree(buf->sgt_base); in vb2_dc_put()
335 ret = sg_alloc_table(sgt, buf->sgt_base->orig_nents, GFP_KERNEL); in vb2_dc_dmabuf_ops_attach()
341 rd = buf->sgt_base->sgl; in vb2_dc_dmabuf_ops_attach()
511 if (!buf->sgt_base) in vb2_dc_get_dmabuf()
512 buf->sgt_base = vb2_dc_get_base_sgt(buf); in vb2_dc_get_dmabuf()
514 if (WARN_ON(!buf->sgt_base)) in vb2_dc_get_dmabuf()

Completed in 3 milliseconds