'\" t .\" Title: dma_buf_fd .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DMA_BUF_FD" "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_fd \- returns a file descriptor for the given dma_buf .SH "SYNOPSIS" .HP \w'int\ dma_buf_fd('u .BI "int dma_buf_fd(struct\ dma_buf\ *\ " "dmabuf" ", int\ " "flags" ");" .SH "ARGUMENTS" .PP \fIdmabuf\fR .RS 4 [in] pointer to dma_buf for which fd is required\&. .RE .PP \fIflags\fR .RS 4 [in] flags to give to fd .RE .SH "DESCRIPTION" .PP On success, returns an associated \*(Aqfd\*(Aq\&. Else, returns error\&. .SH "COPYRIGHT" .br