PAGEVEC_LOOKUP

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

pagevec_lookup - gang pagecache lookup  

SYNOPSIS

"SYNOPSIS"

unsigned int pagevec_lookup (struct pagevec * pvec, struct address_space * mapping, pgoff_t start, unsigned int nr_pages);  

ARGUMENTS

pvec
Where the resulting pages are placed
mapping
The address_space to search
start
The starting page index
nr_pages
The maximum number of pages
 

DESCRIPTION

pagevec_lookup will search for and return a group of up to nr_pages pages in the mapping. The pages are placed in pvec. pagevec_lookup takes a reference against the pages in pvec.

The search returns a group of mapping-contiguous pages with ascending indexes. There may be holes in the indices due to not-present pages.

pagevec_lookup returns the number of pages which were found.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:21:02 GMT, October 06, 2005