table of contents
DMA_BUF_PUT(9) | Device drivers infrastructure | DMA_BUF_PUT(9) |
NAME¶
dma_buf_put - decreases refcount of the buffer
SYNOPSIS¶
void dma_buf_put(struct dma_buf * dmabuf);
ARGUMENTS¶
dmabuf
[in] buffer to reduce refcount of
DESCRIPTION¶
Uses file's refcounting done implicitly by fput.
If, as a result of this call, the refcount becomes 0, the 'release' file operation related to this fd is called. It calls dma_buf_ops.release vfunc in turn, and frees the memory allocated for dmabuf when exported.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |