Query: read_cache_page
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
READ_CACHE_PAGE(9) Memory Management in Linux READ_CACHE_PAGE(9)NAMEread_cache_page - read into page cache, fill it if neededSYNOPSISstruct page * read_cache_page(struct address_space * mapping, pgoff_t index, int (*filler) (void *, struct page *), void * data);ARGUMENTSmapping 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 NULLDESCRIPTIONRead into the page cache. If a page already exists, and PageUptodate is not set, try to fill the page then wait for it to become unlocked. If the page does not get brought uptodate, return -EIO.COPYRIGHTKernel Hackers Manual 3.10 June 2014 READ_CACHE_PAGE(9)