dma_buf_attach(9)

dma_buf_attach9

Add the device to dma_buf's attachments list; optionally, calls attach of dma_buf_ops to allow device-specific attach functionality

Usage

struct dma_buf_attachment * dma_buf_attach(struct dma_buf * dmabuf, struct device * dev);

Arguments

dmabuf

[in] buffer to attach device to.

dev

[in] device to be attached.

Overview

Returns struct dma_buf_attachment * for this attachment; 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.