Scroll to navigation

DMA_BUF_UNMAP_ATTACH(9) Device drivers infrastructure DMA_BUF_UNMAP_ATTACH(9)

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.

SYNOPSIS

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

DESCRIPTION

This unmaps a DMA mapping for attached obtained by dma_buf_map_attachment.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10