'\" t .\" Title: relay_mmap_buf .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: relay interface support .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "RELAY_MMAP_BUF" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "relay interface support" .\" ----------------------------------------------------------------- .\" * 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" relay_mmap_buf \- mmap channel buffer to process address space .SH "SYNOPSIS" .HP \w'int\ relay_mmap_buf('u .BI "int relay_mmap_buf(struct\ rchan_buf\ *\ " "buf" ", struct\ vm_area_struct\ *\ " "vma" ");" .SH "ARGUMENTS" .PP \fIbuf\fR .RS 4 relay channel buffer .RE .PP \fIvma\fR .RS 4 vm_area_struct describing memory to be mapped .RE .SH "DESCRIPTION" .PP Returns 0 if ok, negative on error .PP Caller should already have grabbed mmap_sem\&. .SH "COPYRIGHT" .br