read_cache_pages

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

read_cache_pages - populate an address space with some pages & start reads against them

SYNOPSIS

int read_cache_pages(struct address_space * mapping, struct list_head * pages, int (*filler) (void *, struct page *), void * data);

ARGUMENTS

mapping

the address_space

pages

The address of a list_head which contains the target pages. These pages have their ->index populated and are otherwise uninitialised.

filler

callback routine for filling a single page.

data

private data for the callback routine.

DESCRIPTION

Hides the details of the LRU cache etc from the filesystems.