---
name: "find_trylock_page"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/find_trylock_page"
---

# find\_trylock\_page(9)

find and lock a page

## NAME

find\_trylock\_page - find and lock a page

## SYNOPSIS

**struct page \* find\_trylock\_page(struct address\_space \*** *mapping***, unsigned long** *offset***);**

## ARGUMENTS

*mapping*

the address\_space to search

*offset*

the page index

## DESCRIPTION

Same as **find\_get\_page**, but trylock it instead of incrementing the count.

## COPYRIGHT
