Lines Matching refs:last
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()
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()
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()
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()
407 atomic_long_add((op->store.last * PAGE_SIZE + op->store.last_to) - 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()
455 op->store.last = last; in afs_store_data()
503 pgoff_t start, first, last; in afs_write_back_from_locked_page() local
603 last = first + count - 1; in afs_write_back_from_locked_page()
605 end = (loff_t)last * PAGE_SIZE + to; 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()