Lines Matching refs:sg_table
21 struct sg_table *sg_table; member
34 if (!IS_ERR_OR_NULL(cache->sg_table)) in dma_buf_cache_destructor()
36 cache->sg_table, in dma_buf_cache_destructor()
148 struct sg_table *sg_table, in dma_buf_cache_unmap_attachment() argument
158 dma_buf_unmap_attachment(attach, sg_table, direction); in dma_buf_cache_unmap_attachment()
164 struct sg_table *dma_buf_cache_map_attachment(struct dma_buf_attachment *attach, in dma_buf_cache_map_attachment()
169 struct sg_table *sg_table; in dma_buf_cache_map_attachment() local
175 sg_table = dma_buf_map_attachment(attach, direction); in dma_buf_cache_map_attachment()
178 if (cache->sg_table) { in dma_buf_cache_map_attachment()
181 sg_table = cache->sg_table; in dma_buf_cache_map_attachment()
185 dma_buf_unmap_attachment(attach, cache->sg_table, in dma_buf_cache_map_attachment()
190 sg_table = dma_buf_map_attachment(attach, direction); in dma_buf_cache_map_attachment()
191 cache->sg_table = sg_table; in dma_buf_cache_map_attachment()
196 return sg_table; in dma_buf_cache_map_attachment()