1DMA_BUF_FD(9) Device drivers infrastructure DMA_BUF_FD(9)
23
4
NAME
6dma_buf_fd - returns a file descriptor for the given dma_buf
7
SYNOPSIS
9int dma_buf_fd(struct dma_buf * dmabuf, int flags);
10
ARGUMENTS
12dmabuf
13[in] pointer to dma_buf for which fd is required.
1415
flags
16[in] flags to give to fd
17
DESCRIPTION
19On success, returns an associated 'fd'. Else, returns error.
20
COPYRIGHT
22Kernel Hackers Manual 3.10 June 2019 DMA_BUF_FD(9)