1__FIND_GET_PAGE(9) Memory Management in Linux __FIND_GET_PAGE(9)
2
3
4
6 __find_get_page - find and get a page reference
7
9 struct page * __find_get_page(struct address_space * mapping,
10 pgoff_t offset);
11
13 mapping
14 the address_space to search
15
16 offset
17 the page index
18
20 Looks up the page cache slot at mapping & offset. If there is a page
21 cache page, it is returned with an increased refcount.
22
23 If the slot holds a shadow entry of a previously evicted page, or a
24 swap entry from shmem/tmpfs, it is returned.
25
26 Otherwise, NULL is returned.
27
29Kernel Hackers Manual 3.10 June 2019 __FIND_GET_PAGE(9)