Create virtual mapping for the buffer object into kernel address space. same restrictions as for vmap and friends apply.
void * dma_buf_vmap(struct dma_buf * dmabuf);
dmabuf
[in] buffer to vmap
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.