table of contents
other versions
GET_DMA_BUF(9) | Device drivers infrastructure | GET_DMA_BUF(9) |
NAME¶
get_dma_buf - convenience wrapper for get_file.SYNOPSIS¶
void
get_dma_buf(struct dma_buf * dmabuf);
ARGUMENTS¶
dmabuf[in] pointer to dma_buf
DESCRIPTION¶
Increments the reference count on the dma-buf, needed in case of drivers that either need to create additional references to the dmabuf on the kernel side. For example, an exporter that needs to keep a dmabuf ptr so that subsequent exports don't create a new dmabuf.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |