Lines Matching full:first
239 pgoff_t first, pgoff_t last) in afs_kill_pages() argument
246 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_kill_pages()
251 _debug("kill %lx-%lx", first, last); in afs_kill_pages()
253 count = last - first + 1; in afs_kill_pages()
256 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages()
264 if (page->index >= first) in afs_kill_pages()
265 first = page->index + 1; in afs_kill_pages()
272 } while (first <= last); in afs_kill_pages()
282 pgoff_t first, pgoff_t last) in afs_redirty_pages() argument
289 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_redirty_pages()
294 _debug("redirty %lx-%lx", first, last); in afs_redirty_pages()
296 count = last - first + 1; in afs_redirty_pages()
299 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_redirty_pages()
307 if (page->index >= first) in afs_redirty_pages()
308 first = page->index + 1; in afs_redirty_pages()
312 } while (first <= last); in afs_redirty_pages()
321 pgoff_t first, pgoff_t last) in afs_pages_written_back() argument
328 vnode->fid.vid, vnode->fid.vnode, first, last); in afs_pages_written_back()
333 _debug("done %lx-%lx", first, last); in afs_pages_written_back()
335 count = last - first + 1; in afs_pages_written_back()
339 first, count, pv.pages); in afs_pages_written_back()
348 first += count; in afs_pages_written_back()
350 } while (first <= last); in afs_pages_written_back()
405 afs_pages_written_back(vnode, op->store.first, op->store.last); in afs_store_data_success()
408 (op->store.first * PAGE_SIZE + op->store.first_offset), in afs_store_data_success()
423 pgoff_t first, pgoff_t last, in afs_store_data() argument
436 first, last, offset, to); in afs_store_data()
454 op->store.first = first; in afs_store_data()
503 pgoff_t start, first, last; in afs_write_back_from_locked_page() local
597 * set; the first page is still locked at this point, but all the rest in afs_write_back_from_locked_page()
602 first = primary_page->index; in afs_write_back_from_locked_page()
603 last = first + count - 1; in afs_write_back_from_locked_page()
608 _debug("write back %lx[%u..] to %lx[..%u]", first, offset, last, to); in afs_write_back_from_locked_page()
612 ret = afs_store_data(mapping, first, last, offset, to, false); in afs_write_back_from_locked_page()
627 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
633 afs_redirty_pages(wbc, mapping, first, last); in afs_write_back_from_locked_page()
645 afs_kill_pages(mapping, first, last); in afs_write_back_from_locked_page()