Lines Matching refs:pgoff_t
288 pgoff_t end_index; /* The last page we want to read */ in do_page_cache_ra()
419 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
420 pgoff_t index, unsigned long max) in count_history_pages()
422 pgoff_t head; in count_history_pages()
436 pgoff_t index, in try_context_readahead()
440 pgoff_t size; in try_context_readahead()
478 static inline int ra_alloc_folio(struct readahead_control *ractl, pgoff_t index, in ra_alloc_folio()
479 pgoff_t mark, unsigned int order, gfp_t gfp) in ra_alloc_folio()
504 pgoff_t index = readahead_index(ractl); in page_cache_ra_order()
505 pgoff_t limit = (i_size_read(mapping->host) - 1) >> PAGE_SHIFT; in page_cache_ra_order()
506 pgoff_t mark = index + ra->size - ra->async_size; in page_cache_ra_order()
573 pgoff_t index = readahead_index(ractl); in ondemand_readahead()
574 pgoff_t expected, prev_index; in ondemand_readahead()
610 pgoff_t start; in ondemand_readahead()
796 pgoff_t new_index, new_nr_pages; in readahead_expand()