dma_buf_unmap_attachment(9)

dma_buf_unmap_attachment9

Unmaps and decreases usecount of the buffer;might deallocate the scatterlist associated. is a wrapper for unmap_dma_buf of dma_buf_ops.

Usage

void dma_buf_unmap_attachment(struct dma_buf_attachment * attach, struct sg_table * sg_table, enum dma_data_direction direction);

Arguments

attach

[in] attachment to unmap buffer from

sg_table

[in] scatterlist info of the buffer to unmap

direction

[in] direction of DMA transfer

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.