1READ_CACHE_PAGES(9)       Memory Management in Linux       READ_CACHE_PAGES(9)
2
3
4

NAME

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

SYNOPSIS

10       int read_cache_pages(struct address_space * mapping,
11                            struct list_head * pages,
12                            int (*filler) (void *, struct page *),
13                            void * data);
14

ARGUMENTS

16       mapping
17           the address_space
18
19       pages
20           The address of a list_head which contains the target pages. These
21           pages have their ->index populated and are otherwise uninitialised.
22
23       filler
24           callback routine for filling a single page.
25
26       data
27           private data for the callback routine.
28

DESCRIPTION

30       Hides the details of the LRU cache etc from the filesystems.
31
33Kernel Hackers Manual 2.6.       November 2011             READ_CACHE_PAGES(9)
Impressum