dma_buf_fd
Prev | Device Drivers DMA Management | Next

## Name

dma_buf_fd — returns a file descriptor for the given dma_buf

## Synopsis

`int dma_buf_fd (` | struct dma_buf * dmabuf,
| int flags`)`;

## Arguments

`dmabuf`

  [in] pointer to dma_buf for which fd is required.

`flags`

  [in] flags to give to fd

## Description

On success, returns an associated 'fd'. Else, returns error.

Prev | Up | Next
dma_buf_export_named | Home | dma_buf_get