1DMA_BUF_UNMAP_ATTACH(9) Device drivers infrastructure DMA_BUF_UNMAP_ATTACH(9)
2
3
4
6 dma_buf_unmap_attachment - unmaps and decreases usecount of the
7 buffer;might deallocate the scatterlist associated. Is a wrapper for
8 unmap_dma_buf of dma_buf_ops.
9
11 void dma_buf_unmap_attachment(struct dma_buf_attachment * attach,
12 struct sg_table * sg_table,
13 enum dma_data_direction direction);
14
16 attach
17 [in] attachment to unmap buffer from
18
19 sg_table
20 [in] scatterlist info of the buffer to unmap
21
22 direction
23 [in] direction of DMA transfer
24
26 This unmaps a DMA mapping for attached obtained by
27 dma_buf_map_attachment.
28
30Kernel Hackers Manual 3.10 June 2019 DMA_BUF_UNMAP_ATTACH(9)