1. NAME▲

find_lock_page - locate, pin and lock a pagecache page

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

mapping
    the address_space to search

offset
    the page index

4. DESCRIPTION ▲

Locates the desired pagecache page, locks it, increments its reference count and returns its address.

Returns zero if the page was not present. find_lock_page may sleep.

5. COPYRIGHT ▲