|GET_DMA_BUF(9)||Device drivers infrastructure||GET_DMA_BUF(9)|
get_dma_buf - convenience wrapper for get_file.
void get_dma_buf(struct dma_buf * dmabuf);
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.
|January 2017||Kernel Hackers Manual 4.8.|