FIND_GET_PAGE
Section: Memory Management in Linux (9)
Updated: February 2011
Index
Return to Main Contents
NAME
find_get_page - find and get a page reference
SYNOPSIS
-
struct page * find_get_page(struct address_space * mapping, pgoff_t offset);
ARGUMENTS
mapping
-
- the address_space to search
offset
-
the page index
DESCRIPTION
Is there a pagecache struct page at the given (mapping, offset) tuple? If yes, increment its refcount and return it; if no, return NULL.
COPYRIGHT