get_dma_buf(9)
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.