1FIND_LOCK_PAGE(9) Memory Management in Linux FIND_LOCK_PAGE(9)
2
3
4
6 find_lock_page - locate, pin and lock a pagecache page
7
9 struct page * find_lock_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 Locates the desired pagecache page, locks it, increments its reference
21 count and returns its address.
22
23 Returns zero if the page was not present. find_lock_page may sleep.
24
26Kernel Hackers Manual 2.6. June 2019 FIND_LOCK_PAGE(9)