1DMA_BUF_VMAP(9)          Device drivers infrastructure         DMA_BUF_VMAP(9)
2
3
4

NAME

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

SYNOPSIS

10       void * dma_buf_vmap(struct dma_buf * dmabuf);
11

ARGUMENTS

13       dmabuf
14           [in] buffer to vmap
15

DESCRIPTION

17       This call may fail due to lack of virtual mapping address space. These
18       calls are optional in drivers. The intended use for them is for mapping
19       objects linear in kernel space for high use objects. Please attempt to
20       use kmap/kunmap before thinking about these interfaces.
21
22       Returns NULL on error.
23
25Kernel Hackers Manual 3.10         June 2019                   DMA_BUF_VMAP(9)
Impressum