Lines Matching refs:sg_table
268 * Returns sg_table containing the scatterlist to be returned; may return NULL
272 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach,
275 struct sg_table *sg_table = ERR_PTR(-EINVAL);
282 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction);
284 return sg_table;
293 * @sg_table: [in] scatterlist info of the buffer to unmap
298 struct sg_table *sg_table,
301 if (WARN_ON(!attach || !attach->dmabuf || !sg_table))
304 attach->dmabuf->ops->unmap_dma_buf(attach, sg_table,