Lines Matching refs:idx_start
515 static int nfs_wait_on_requests_locked(struct inode *inode, pgoff_t idx_start, unsigned int npages)
526 idx_end = idx_start + npages - 1;
528 next = idx_start;
567 * @idx_start: lower bound of page->index to scan.
568 * @npages: idx_start + npages sets the upper bound to scan.
574 nfs_scan_commit(struct inode *inode, struct list_head *dst, pgoff_t idx_start, unsigned int npages)
580 res = nfs_scan_list(nfsi, &nfsi->commit, dst, idx_start, npages);
588 static inline int nfs_scan_commit(struct inode *inode, struct list_head *dst, pgoff_t idx_start, unsigned int npages)
1283 pgoff_t idx_start, idx_end;
1290 idx_start = 0;
1292 idx_start = wbc->range_start >> PAGE_CACHE_SHIFT;
1294 if (idx_end > idx_start) {
1295 pgoff_t l_npages = 1 + idx_end - idx_start;
1305 ret = nfs_wait_on_requests_locked(inode, idx_start, npages);
1310 pages = nfs_scan_commit(inode, &head, idx_start, npages);