Lines Matching refs:first

227 			   pgoff_t first, pgoff_t last)  in afs_kill_pages()  argument
234 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages()
239 _debug("kill %lx-%lx", first, last); in afs_kill_pages()
241 count = last - first + 1; in afs_kill_pages()
244 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages()
252 if (page->index >= first) in afs_kill_pages()
253 first = page->index + 1; in afs_kill_pages()
259 } while (first <= last); in afs_kill_pages()
269 pgoff_t first, pgoff_t last) in afs_redirty_pages() argument
276 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_redirty_pages()
281 _debug("redirty %lx-%lx", first, last); in afs_redirty_pages()
283 count = last - first + 1; in afs_redirty_pages()
286 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_redirty_pages()
294 if (page->index >= first) in afs_redirty_pages()
295 first = page->index + 1; in afs_redirty_pages()
299 } while (first <= last); in afs_redirty_pages()
308 pgoff_t first, pgoff_t last, in afs_store_data() argument
322 first, last, offset, to); in afs_store_data()
355 afs_fs_store_data(&fc, mapping, first, last, offset, to); in afs_store_data()
367 (first * PAGE_SIZE + offset), in afs_store_data()
401 pgoff_t start, first, last; in afs_write_back_from_locked_page() local
499 first = primary_page->index; in afs_write_back_from_locked_page()
500 last = first + count - 1; in afs_write_back_from_locked_page()
502 _debug("write back %lx[%u..] to %lx[..%u]", first, offset, last, to); in afs_write_back_from_locked_page()
504 ret = afs_store_data(mapping, first, last, offset, to); in afs_write_back_from_locked_page()
519 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
525 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
536 afs_kill_pages(mapping, first, last); in afs_write_back_from_locked_page()
676 pgoff_t first = call->first, last = call->last; in afs_pages_written_back() local
679 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_pages_written_back()
684 _debug("done %lx-%lx", first, last); in afs_pages_written_back()
686 count = last - first + 1; in afs_pages_written_back()
690 first, count, pv.pages); in afs_pages_written_back()
700 first += count; in afs_pages_written_back()
702 } while (first <= last); in afs_pages_written_back()