Lines Matching defs:last_index
2564 pgoff_t last_index)
2572 page_cache_async_ra(&ractl, folio, last_index - folio->index);
2582 pgoff_t last_index;
2587 /* "last_index" is the index of the page beyond the end of the read */
2588 last_index = DIV_ROUND_UP(iocb->ki_pos + count, PAGE_SIZE);
2593 filemap_get_read_batch(mapping, index, last_index - 1, fbatch);
2603 page_cache_sync_ra(&ractl, last_index - index);
2606 filemap_get_read_batch(mapping, index, last_index - 1, fbatch);
2617 err = filemap_readahead(iocb, filp, mapping, folio, last_index);
2631 trace_mm_filemap_get_pages(mapping, index, last_index - 1);
4419 * @last_index: The final page index (inclusive).
4423 * page range of [first_index, last_index] (inclusive). The statistics
4428 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs)
4437 xas_for_each(&xas, folio, last_index) {
4465 if (folio_last_index > last_index)
4466 nr_pages -= folio_last_index - last_index;
4579 pgoff_t first_index, last_index;
4599 last_index =
4603 filemap_cachestat(mapping, first_index, last_index, &cs);