Lines Matching refs:pgoff_t

494 	pgoff_t max = end_byte >> PAGE_SHIFT;  in filemap_range_has_page()
523 pgoff_t index = start_byte >> PAGE_SHIFT; in __filemap_fdatawait_range()
524 pgoff_t end = end_byte >> PAGE_SHIFT; in __filemap_fdatawait_range()
653 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_writeback()
856 pgoff_t offset = old->index; in replace_page_cache_page()
890 struct folio *folio, pgoff_t index, gfp_t gfp, void **shadowp) in __filemap_add_folio()
985 pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache_locked()
993 pgoff_t index, gfp_t gfp) in filemap_add_folio()
1750 pgoff_t page_cache_next_miss(struct address_space *mapping, in page_cache_next_miss()
1751 pgoff_t index, unsigned long max_scan) in page_cache_next_miss()
1786 pgoff_t page_cache_prev_miss(struct address_space *mapping, in page_cache_prev_miss()
1787 pgoff_t index, unsigned long max_scan) in page_cache_prev_miss()
1835 static void *mapping_get_entry(struct address_space *mapping, pgoff_t index) in mapping_get_entry()
1899 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index, in __filemap_get_folio()
1982 static inline struct page *find_get_entry(struct xa_state *xas, pgoff_t max, in find_get_entry()
2044 unsigned find_get_entries(struct address_space *mapping, pgoff_t start, in find_get_entries()
2045 pgoff_t end, struct pagevec *pvec, pgoff_t *indices) in find_get_entries()
2096 unsigned find_lock_entries(struct address_space *mapping, pgoff_t start, in find_lock_entries()
2097 pgoff_t end, struct pagevec *pvec, pgoff_t *indices) in find_lock_entries()
2160 unsigned find_get_pages_range(struct address_space *mapping, pgoff_t *start, in find_get_pages_range()
2161 pgoff_t end, unsigned int nr_pages, in find_get_pages_range()
2190 if (end == (pgoff_t)-1) in find_get_pages_range()
2191 *start = (pgoff_t)-1; in find_get_pages_range()
2212 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t index, in find_get_pages_contig()
2269 unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index, in find_get_pages_range_tag()
2270 pgoff_t end, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_range_tag()
2303 if (end == (pgoff_t)-1) in find_get_pages_range_tag()
2304 *index = (pgoff_t)-1; in find_get_pages_range_tag()
2344 pgoff_t index, pgoff_t max, struct pagevec *pvec) in filemap_get_read_batch()
2482 struct address_space *mapping, pgoff_t index, in filemap_create_page()
2527 pgoff_t last_index) in filemap_readahead()
2542 pgoff_t index = iocb->ki_pos >> PAGE_SHIFT; in filemap_get_pages()
2543 pgoff_t last_index; in filemap_get_pages()
2858 pgoff_t max = (end - 1) >> PAGE_SHIFT; in mapping_seek_hole_data()
3013 pgoff_t offset = vmf->pgoff; in do_async_mmap_readahead()
3059 pgoff_t offset = vmf->pgoff; in filemap_fault()
3060 pgoff_t max_off; in filemap_fault()
3236 struct xa_state *xas, pgoff_t end_pgoff) in next_uptodate_page()
3277 pgoff_t end_pgoff) in first_map_page()
3285 pgoff_t end_pgoff) in next_map_page()
3292 pgoff_t start_pgoff, pgoff_t end_pgoff) in filemap_map_pages()
3297 pgoff_t last_pgoff = start_pgoff; in filemap_map_pages()
3438 pgoff_t index, in do_read_cache_page()
3561 pgoff_t index, in read_cache_page()
3586 pgoff_t index, in read_cache_page_gfp()
3643 pgoff_t end; in generic_file_direct_write()