Returns a file descriptor for the given dma_buf
int dma_buf_fd(struct dma_buf * dmabuf, int flags);
dmabuf
[in] pointer to dma_buf for which fd is required.
flags
[in] flags to give to fd
On success, returns an associated 'fd'. Else, returns error.