1. NAME

dma_buf_get - returns the dma_buf structure related to an fd

2. SYNOPSIS

struct dma_buf * dma_buf_get(int  fd );

3. ARGUMENTS

fd
    [in] fd associated with the dma_buf to be returned

4. DESCRIPTION

On success, returns the dma_buf structure associated with an fd; uses fileAqs refcounting done by fget to increase refcount. returns ERR_PTR otherwise.

5. COPYRIGHT