'\" t .\" Title: dma_buf_unmap_attachment .\" 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_UNMAP_ATTACH" "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_unmap_attachment \- unmaps and decreases usecount of the buffer;might deallocate the scatterlist associated\&. Is a wrapper for \fBunmap_dma_buf\fR of dma_buf_ops\&. .SH "SYNOPSIS" .HP \w'void\ dma_buf_unmap_attachment('u .BI "void dma_buf_unmap_attachment(struct\ dma_buf_attachment\ *\ " "attach" ", struct\ sg_table\ *\ " "sg_table" ", enum\ dma_data_direction\ " "direction" ");" .SH "ARGUMENTS" .PP \fIattach\fR .RS 4 [in] attachment to unmap buffer from .RE .PP \fIsg_table\fR .RS 4 [in] scatterlist info of the buffer to unmap .RE .PP \fIdirection\fR .RS 4 [in] direction of DMA transfer .RE .SH "COPYRIGHT" .br