1DMA_BUF_GET(9) Device drivers infrastructure DMA_BUF_GET(9)
23
4
NAME
6dma_buf_get - returns the dma_buf structure related to an fd
7
SYNOPSIS
9struct dma_buf * dma_buf_get(int fd);
10
ARGUMENTS
12fd
13[in] fd associated with the dma_buf to be returned
14
DESCRIPTION
16On success, returns the dma_buf structure associated with an fd; uses
17file's refcounting done by fget to increase refcount. returns ERR_PTR
18otherwise.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 DMA_BUF_GET(9)