dma_buf_map_attachment(9)

dma_buf_map_attachment9

Returns the scatterlist table of the attachment; mapped into _device_ address space. is a wrapper for map_dma_buf of the dma_buf_ops.

Usage

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

Arguments

attach

[in] attachment whose scatterlist is to be returned

direction

[in] direction of DMA transfer

Overview

Returns sg_table containing the scatterlist to be returned; returns ERR_PTR on error.

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