find_get_entry
Prev | More Memory Management Functions | Next

## Name

find_get_entry — find and get a page cache entry

## Synopsis

`struct page * find_get_entry (` | struct address_space * mapping,
| pgoff_t offset`)`;

## Arguments

`mapping`

  the address_space to search

`offset`

  the page cache index

## Description

Looks up the page cache slot at `mapping` & `offset`. If there is a page cache page, it is returned with an increased refcount.

If the slot holds a shadow entry of a previously evicted page, or a swap entry from shmem/tmpfs, it is returned.

Otherwise, `NULL` is returned.

Prev | Up | Next
page_cache_prev_hole | Home | find_lock_entry