'\" t .\" Title: dma_buf_end_cpu_access .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DMA_BUF_END_CPU_ACCE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_end_cpu_access \- Must be called after accessing a dma_buf from the cpu in the kernel context\&. Calls end_cpu_access to allow exporter\-specific actions\&. Coherency is only guaranteed in the specified range for the specified access direction\&. .SH "SYNOPSIS" .HP \w'int\ dma_buf_end_cpu_access('u .BI "int dma_buf_end_cpu_access(struct\ dma_buf\ *\ " "dmabuf" ", enum\ dma_data_direction\ " "direction" ");" .SH "ARGUMENTS" .PP \fIdmabuf\fR .RS 4 [in] buffer to complete cpu access for\&. .RE .PP \fIdirection\fR .RS 4 [in] length of range for cpu access\&. .RE .SH "DESCRIPTION" .PP Can return negative error values, returns 0 on success\&. .SH "COPYRIGHT" .br