1FIND_GET_PAGES_CONTI(9) Memory Management in Linux FIND_GET_PAGES_CONTI(9)
2
3
4
6 find_get_pages_contig - gang contiguous pagecache lookup
7
9 unsigned find_get_pages_contig(struct address_space * mapping,
10 pgoff_t index, unsigned int nr_pages,
11 struct page ** pages);
12
14 mapping
15 The address_space to search
16
17 index
18 The starting page index
19
20 nr_pages
21 The maximum number of pages
22
23 pages
24 Where the resulting pages are placed
25
27 find_get_pages_contig works exactly like find_get_pages, except that
28 the returned number of pages are guaranteed to be contiguous.
29
30 find_get_pages_contig returns the number of pages which were found.
31
33Kernel Hackers Manual 2.6. June 2019 FIND_GET_PAGES_CONTI(9)