Query: dma_buf_get
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DMA_BUF_GET(9) Device drivers infrastructure DMA_BUF_GET(9)NAMEdma_buf_get - returns the dma_buf structure related to an fdSYNOPSISstruct dma_buf * dma_buf_get(int fd);ARGUMENTSfd [in] fd associated with the dma_buf to be returnedDESCRIPTIONOn success, returns the dma_buf structure associated with an fd; uses file's refcounting done by fget to increase refcount. returns ERR_PTR otherwise.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DMA_BUF_GET(9)