FIND_LOCK_PAGE(9) Memory Management in Linux FIND_LOCK_PAGE(9)

NAME find_lock_page - locate, pin and lock a pagecache page

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

ARGUMENTS mapping the address_space to search

offset the page index

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.

COPYRIGHT Kernel Hackers Manual 2.6. September 2010 FIND_LOCK_PAGE(9)