1READ_CACHE_PAGE_GFP(9) Memory Management in Linux READ_CACHE_PAGE_GFP(9)
2
3
4
6 read_cache_page_gfp - read into page cache, using specified page
7 allocation flags.
8
10 struct page * read_cache_page_gfp(struct address_space * mapping,
11 pgoff_t index, gfp_t gfp);
12
14 mapping
15 the page's address_space
16
17 index
18 the page index
19
20 gfp
21 the page allocator flags to use if allocating
22
24 This is the same as “read_mapping_page(mapping, index, NULL)”, but with
25 any new page allocations done using the specified allocation flags.
26
27 If the page does not get brought uptodate, return -EIO.
28
30Kernel Hackers Manual 3.10 June 2019 READ_CACHE_PAGE_GFP(9)