table of contents
other versions
- jessie 3.16.56-1+deb8u1
DMA_BUF_GET(9) | Device drivers infrastructure | DMA_BUF_GET(9) |
NAME¶
dma_buf_get - returns the dma_buf structure related to an fdSYNOPSIS¶
struct dma_buf *
dma_buf_get(int fd);
ARGUMENTS¶
fd[in] fd associated with the dma_buf to be returned
DESCRIPTION¶
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |