1FIND_LOCK_PAGE(9)         Memory Management in Linux         FIND_LOCK_PAGE(9)
2
3
4

NAME

6       find_lock_page - locate, pin and lock a pagecache page
7

SYNOPSIS

9       struct page * find_lock_page(struct address_space * mapping,
10                                    pgoff_t offset);
11

ARGUMENTS

13       mapping
14           the address_space to search
15
16       offset
17           the page index
18

DESCRIPTION

20       Looks up the page cache slot at mapping & offset. If there is a page
21       cache page, it is returned locked and with an increased refcount.
22
23       Otherwise, NULL is returned.
24
25       find_lock_page may sleep.
26
28Kernel Hackers Manual 3.10         June 2019                 FIND_LOCK_PAGE(9)
Impressum