.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FIND_LOCK_PAGE" "" "06 October 2005" "" "" .SH NAME find_lock_page \- locate, pin and lock a pagecache page .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct page * find_lock_page (struct address_space * \fImapping\fB, unsigned long \fIoffset\fB); \fR .SH "ARGUMENTS" .TP \fB\fImapping\fB\fR -- undescribed -- .TP \fB\fIoffset\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP \fImapping\fR - the address_space to search \fIoffset\fR - the page index .PP Locates the desired pagecache page, locks it, increments its reference count and returns its address. .PP Returns zero if the page was not present. \fBfind_lock_page\fR may sleep.