Lines Matching defs:last_index
2474 pgoff_t last_index)
2480 page_cache_async_ra(&ractl, folio, last_index - folio->index);
2491 pgoff_t last_index;
2495 /* "last_index" is the index of the page beyond the end of the read */
2496 last_index = DIV_ROUND_UP(iocb->ki_pos + count, PAGE_SIZE);
2501 filemap_get_read_batch(mapping, index, last_index - 1, fbatch);
2506 last_index - index);
2507 filemap_get_read_batch(mapping, index, last_index - 1, fbatch);
2521 err = filemap_readahead(iocb, filp, mapping, folio, last_index);
4142 * @last_index: The final page index (inclusive).
4146 * page range of [first_index, last_index] (inclusive). The statistics
4151 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs)
4157 xas_for_each(&xas, folio, last_index) {
4185 if (folio_last_index > last_index)
4186 nr_pages -= folio_last_index - last_index;
4285 pgoff_t first_index, last_index;
4308 last_index =
4312 filemap_cachestat(mapping, first_index, last_index, &cs);