Home
last modified time | relevance | path

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

/openbmc/linux/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()