.\" 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 "UNMAP_MAPPING_RANGE" "9" "09 October 2005" "" "" .SH NAME unmap_mapping_range \- unmap the portion of all mmaps .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void unmap_mapping_range (struct address_space * \fImapping\fB, loff_t const \fIholebegin\fB, loff_t const \fIholelen\fB, int \fIeven_cows\fB); \fR .SH "ARGUMENTS" .TP \fB\fImapping\fB\fR the address space containing mmaps to be unmapped. .TP \fB\fIholebegin\fB\fR byte in first page to unmap, relative to the start of the underlying file. This will be rounded down to a PAGE_SIZE boundary. Note that this is different from \fBvmtruncate\fR, which must keep the partial page. In contrast, we must get rid of partial pages. .TP \fB\fIholelen\fB\fR size of prospective hole in bytes. This will be rounded up to a PAGE_SIZE boundary. A holelen of zero truncates to the end of the file. .TP \fB\fIeven_cows\fB\fR 1 when truncating a file, unmap even private COWed pages; but 0 when invalidating pagecache, don't throw away private data. .SH "DESCRIPTION" .PP in the specified address_space corresponding to the specified page range in the underlying file.