dma_buf_vmap
Prev | Device Drivers DMA Management | Next

## Name

dma_buf_vmap — Create virtual mapping for the buffer object into kernel address space. Same restrictions as for vmap and friends apply.

## Synopsis

`void * dma_buf_vmap (` | struct dma_buf * dmabuf`)`;

## Arguments

`dmabuf`

  [in] buffer to vmap

## Description

This call may fail due to lack of virtual mapping address space. These calls are optional in drivers. The intended use for them is for mapping objects linear in kernel space for high use objects. Please attempt to use kmap/kunmap before thinking about these interfaces.

Prev | Up | Next
dma_buf_mmap | Home | dma_buf_vunmap