1DMA_BUF_GET(9)           Device drivers infrastructure          DMA_BUF_GET(9)
2
3
4

NAME

6       dma_buf_get - returns the dma_buf structure related to an fd
7

SYNOPSIS

9       struct dma_buf * dma_buf_get(int fd);
10

ARGUMENTS

12       fd
13           [in] fd associated with the dma_buf to be returned
14

DESCRIPTION

16       On success, returns the dma_buf structure associated with an fd; uses
17       file's refcounting done by fget to increase refcount. returns ERR_PTR
18       otherwise.
19
21Kernel Hackers Manual 3.10         June 2019                    DMA_BUF_GET(9)
Impressum