'\" t .\" Title: dma_buf_vmap .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DMA_BUF_VMAP" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dma_buf_vmap \- Create virtual mapping for the buffer object into kernel address space\&. Same restrictions as for vmap and friends apply\&. .SH "SYNOPSIS" .HP \w'void\ *\ dma_buf_vmap('u .BI "void * dma_buf_vmap(struct\ dma_buf\ *\ " "dmabuf" ");" .SH "ARGUMENTS" .PP \fIdmabuf\fR .RS 4 [in] buffer to vmap .RE .SH "DESCRIPTION" .PP 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\&. .PP Returns NULL on error\&. .SH "COPYRIGHT" .br