'\" t .\" Title: follow_pfn .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Memory Management in Linux .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "FOLLOW_PFN" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Memory Management in Linux" .\" ----------------------------------------------------------------- .\" * 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" follow_pfn \- look up PFN at a user virtual address .SH "SYNOPSIS" .HP \w'int\ follow_pfn('u .BI "int follow_pfn(struct\ vm_area_struct\ *\ " "vma" ", unsigned\ long\ " "address" ", unsigned\ long\ *\ " "pfn" ");" .SH "ARGUMENTS" .PP \fIvma\fR .RS 4 memory mapping .RE .PP \fIaddress\fR .RS 4 user virtual address .RE .PP \fIpfn\fR .RS 4 location to store found PFN .RE .SH "DESCRIPTION" .PP Only IO mappings and raw PFN mappings are allowed\&. .PP Returns zero and the pfn at \fIpfn\fR on success, \-ve otherwise\&. .SH "COPYRIGHT" .br