1DMA_BUF_ATTACH(9) Device drivers infrastructure DMA_BUF_ATTACH(9)
2
3
4
6 dma_buf_attach - Add the device to dma_buf´s attachments list;
7 optionally, calls attach of dma_buf_ops to allow device-specific attach
8 functionality
9
11 struct dma_buf_attachment * dma_buf_attach(struct dma_buf * dmabuf,
12 struct device * dev);
13
15 dmabuf
16 [in] buffer to attach device to.
17
18 dev
19 [in] device to be attached.
20
22 Returns struct dma_buf_attachment * for this attachment; returns
23 ERR_PTR on error.
24
26Kernel Hackers Manual 2.6. June 2019 DMA_BUF_ATTACH(9)