dma_buf_vmap(9)

dma_buf_vmap9

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

Usage

void * dma_buf_vmap(struct dma_buf * dmabuf);

Arguments

dmabuf

[in] buffer to vmap

Overview

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.

Returns NULL on error.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.