read_cache_page (9) - Linux Manuals
read_cache_page: read into page cache, fill it if needed
Command to display read_cache_page
manual in Linux: $ man 9 read_cache_page
NAME
read_cache_page - read into page cache, fill it if needed
SYNOPSIS
-
struct page * read_cache_page(struct address_space * mapping, pgoff_t index, int (*filler) (void *, struct page *), void * data);
ARGUMENTS
mapping
-
- the page's address_space
index
-
the page index
filler
-
function to perform the read
data
-
first arg to filler(data, page) function, often left as NULL
DESCRIPTION
Read into the page cache. If a page already exists, and
PageUptodate
is not set, try to fill the page and wait for it to become unlocked.
If the page does not get brought uptodate, return -EIO.
COPYRIGHT
Pages related to read_cache_page
- read_cache_page_gfp (9) - read into page cache, using specified page allocation flags.
- read_cache_pages (9) - populate an address space with some pages & start reads against them
- read_abs_bbt (9) - [GENERIC] Read the bad block table starting at a given page
- read_abs_bbts (9) - [GENERIC] Read the bad block table(s) for all chips starting at a given page
- read_bbt (9) - [GENERIC] Read the bad block table starting from page
- read_zsdata (9) - Read the data port of a Z8530 channel
- read_zsreg (9) - Read a register from a Z85230
- reallocate_resource (9) - allocate a slot in the resource tree given range & alignment. The resource will be relocated if the new size cannot be reallocated in the current location.