1. NAME

dma_buf_unmap_attachment - unmaps and decreases usecount of the buffer;might deallocate the scatterlist associated. Is a wrapper for unmap_dma_buf of dma_buf_ops.

2. SYNOPSIS

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

3. ARGUMENTS

attach
    [in] attachment to unmap buffer from

sg_table
    [in] scatterlist info of the buffer to unmap

direction
    [in] direction of DMA transfer

4. COPYRIGHT