.\" 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 "NFS_SCAN_LIST" "" "06 October 2005" "" "" .SH NAME nfs_scan_list \- Scan a list for matching requests .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int nfs_scan_list (struct list_head * \fIhead\fB, struct list_head * \fIdst\fB, struct file * \fIfile\fB, unsigned long \fIidx_start\fB, unsigned int \fInpages\fB); \fR .SH "ARGUMENTS" .TP \fB\fIhead\fB\fR One of the NFS inode request lists .TP \fB\fIdst\fB\fR Destination list .TP \fB\fIfile\fB\fR if set, ensure we match requests from this file .TP \fB\fIidx_start\fB\fR lower bound of page->index to scan .TP \fB\fInpages\fB\fR idx_start + npages sets the upper bound to scan. .SH "DESCRIPTION" .PP Moves elements from one of the inode request lists. If the number of requests is set to 0, the entire address_space starting at index idx_start, is scanned. The requests are *not* checked to ensure that they form a contiguous set. You must be holding the nfs_wreq_lock when calling this function