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

NAME

6       read_cache_page - read into page cache, fill it if needed
7

SYNOPSIS

9       struct page * read_cache_page(struct address_space * mapping,
10                                     pgoff_t index,
11                                     int (*filler) (void *, struct page *),
12                                     void * data);
13

ARGUMENTS

15       mapping
16           the page's address_space
17
18       index
19           the page index
20
21       filler
22           function to perform the read
23
24       data
25           first arg to filler(data, page) function, often left as NULL
26

DESCRIPTION

28       Read into the page cache. If a page already exists, and PageUptodate is
29       not set, try to fill the page then wait for it to become unlocked.
30
31       If the page does not get brought uptodate, return -EIO.
32
34Kernel Hackers Manual 3.10         June 2019                READ_CACHE_PAGE(9)
Impressum