Lines Matching refs:first

233 			   pgoff_t first, pgoff_t last)  in afs_kill_pages()  argument
240 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages()
245 _debug("kill %lx-%lx", first, last); in afs_kill_pages()
247 count = last - first + 1; in afs_kill_pages()
250 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages()
258 if (page->index >= first) in afs_kill_pages()
259 first = page->index + 1; in afs_kill_pages()
266 } while (first <= last); in afs_kill_pages()
276 pgoff_t first, pgoff_t last) in afs_redirty_pages() argument
283 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_redirty_pages()
288 _debug("redirty %lx-%lx", first, last); in afs_redirty_pages()
290 count = last - first + 1; in afs_redirty_pages()
293 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_redirty_pages()
301 if (page->index >= first) in afs_redirty_pages()
302 first = page->index + 1; in afs_redirty_pages()
306 } while (first <= last); in afs_redirty_pages()
315 pgoff_t first, pgoff_t last) in afs_pages_written_back() argument
322 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_pages_written_back()
327 _debug("done %lx-%lx", first, last); in afs_pages_written_back()
329 count = last - first + 1; in afs_pages_written_back()
333 first, count, pv.pages); in afs_pages_written_back()
343 first += count; in afs_pages_written_back()
345 } while (first <= last); in afs_pages_written_back()
355 pgoff_t first, pgoff_t last, in afs_store_data() argument
370 first, last, offset, to); in afs_store_data()
410 afs_fs_store_data(&fc, mapping, first, last, offset, to, scb); in afs_store_data()
417 afs_pages_written_back(vnode, first, last); in afs_store_data()
425 (first * PAGE_SIZE + offset), in afs_store_data()
460 pgoff_t start, first, last; in afs_write_back_from_locked_page() local
558 first = primary_page->index; in afs_write_back_from_locked_page()
559 last = first + count - 1; in afs_write_back_from_locked_page()
561 _debug("write back %lx[%u..] to %lx[..%u]", first, offset, last, to); in afs_write_back_from_locked_page()
563 ret = afs_store_data(mapping, first, last, offset, to); in afs_write_back_from_locked_page()
578 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
584 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
596 afs_kill_pages(mapping, first, last); in afs_write_back_from_locked_page()