dma_buf_get(9)

dma_buf_get9

Returns the dma_buf structure related to an fd

Usage

struct dma_buf * dma_buf_get(int fd);

Arguments

fd

[in] fd associated with the dma_buf to be returned

Overview

On success, returns the dma_buf structure associated with an fd; uses file's refcounting done by fget to increase refcount. returns ERR_PTR otherwise.

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