.\" 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 "INVALIDATE_MAPPING_PAGES" "" "06 October 2005" "" "" .SH NAME invalidate_mapping_pages \- Invalidate all the unlocked pages of one inode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned long invalidate_mapping_pages (struct address_space * \fImapping\fB, pgoff_t \fIstart\fB, pgoff_t \fIend\fB); \fR .SH "ARGUMENTS" .TP \fB\fImapping\fB\fR the address_space which holds the pages to invalidate .TP \fB\fIstart\fB\fR the offset 'from' which to invalidate .TP \fB\fIend\fB\fR the offset 'to' which to invalidate (inclusive) .SH "DESCRIPTION" .PP This function only removes the unlocked pages, if you want to remove all the pages of one inode, you must call truncate_inode_pages. .PP \fBinvalidate_mapping_pages\fR will not block on IO activity. It will not invalidate pages which are dirty, locked, under writeback or mapped into pagetables.