.\" 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 "PAGE_REFERENCED_FILE" "9" "09 October 2005" "" "" .SH NAME page_referenced_file \- referenced check for object-based rmap .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int page_referenced_file (struct page * \fIpage\fB, int \fIignore_token\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpage\fB\fR the page we're checking references on. .TP \fB\fIignore_token\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP For an object-based mapped page, find all the places it is mapped and check/clear the referenced flag. This is done by following the page->mapping pointer, then walking the chain of vmas it holds. It returns the number of references it found. .PP This function is only called from page_referenced for object-based pages.