'\" t .\" Title: read_cache_pages .\" 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 "READ_CACHE_PAGES" "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" read_cache_pages \- populate an address space with some pages & start reads against them .SH "SYNOPSIS" .HP \w'int\ read_cache_pages('u .BI "int read_cache_pages(struct\ address_space\ *\ " "mapping" ", struct\ list_head\ *\ " "pages" ", int\ (*" "filler" ")\ (void\ *,\ struct\ page\ *), void\ *\ " "data" ");" .SH "ARGUMENTS" .PP \fImapping\fR .RS 4 the address_space .RE .PP \fIpages\fR .RS 4 The address of a list_head which contains the target pages\&. These pages have their \->index populated and are otherwise uninitialised\&. .RE .PP \fIfiller\fR .RS 4 callback routine for filling a single page\&. .RE .PP \fIdata\fR .RS 4 private data for the callback routine\&. .RE .SH "DESCRIPTION" .PP Hides the details of the LRU cache etc from the filesystems\&. .SH "COPYRIGHT" .br