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       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.       November 2011               FIND_LOCK_PAGE(9)
Impressum