1DMA_BUF_PUT(9)           Device drivers infrastructure          DMA_BUF_PUT(9)
2
3
4

NAME

6       dma_buf_put - decreases refcount of the buffer
7

SYNOPSIS

9       void dma_buf_put(struct dma_buf * dmabuf);
10

ARGUMENTS

12       dmabuf
13           [in] buffer to reduce refcount of
14

DESCRIPTION

16       Uses file's refcounting done implicitly by fput.
17
18       If, as a result of this call, the refcount becomes 0, the 'release'
19       file operation related to this fd is called. It calls
20       dma_buf_ops.release vfunc in turn, and frees the memory allocated for
21       dmabuf when exported.
22
24Kernel Hackers Manual 3.10         June 2019                    DMA_BUF_PUT(9)
Impressum