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.