Lines Matching refs:pgoff_t
477 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_page()
506 pgoff_t index = start_byte >> PAGE_SHIFT; in __filemap_fdatawait_range()
507 pgoff_t end = end_byte >> PAGE_SHIFT; in __filemap_fdatawait_range()
635 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_writeback()
811 pgoff_t offset = old->index; in replace_page_cache_folio()
845 struct folio *folio, pgoff_t index, gfp_t gfp, void **shadowp) in __filemap_add_folio()
933 pgoff_t index, gfp_t gfp) in filemap_add_folio()
1731 pgoff_t page_cache_next_miss(struct address_space *mapping, in page_cache_next_miss()
1732 pgoff_t index, unsigned long max_scan) in page_cache_next_miss()
1767 pgoff_t page_cache_prev_miss(struct address_space *mapping, in page_cache_prev_miss()
1768 pgoff_t index, unsigned long max_scan) in page_cache_prev_miss()
1816 void *filemap_get_entry(struct address_space *mapping, pgoff_t index) in filemap_get_entry()
1863 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index, in __filemap_get_folio()
1969 static inline struct folio *find_get_entry(struct xa_state *xas, pgoff_t max, in find_get_entry()
2024 unsigned find_get_entries(struct address_space *mapping, pgoff_t *start, in find_get_entries()
2025 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices) in find_get_entries()
2070 unsigned find_lock_entries(struct address_space *mapping, pgoff_t *start, in find_lock_entries()
2071 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices) in find_lock_entries()
2135 unsigned filemap_get_folios(struct address_space *mapping, pgoff_t *start, in filemap_get_folios()
2136 pgoff_t end, struct folio_batch *fbatch) in filemap_get_folios()
2162 if (end == (pgoff_t)-1) in filemap_get_folios()
2163 *start = (pgoff_t)-1; in filemap_get_folios()
2189 pgoff_t *start, pgoff_t end, struct folio_batch *fbatch) in filemap_get_folios_contig()
2259 unsigned filemap_get_folios_tag(struct address_space *mapping, pgoff_t *start, in filemap_get_folios_tag()
2260 pgoff_t end, xa_mark_t tag, struct folio_batch *fbatch) in filemap_get_folios_tag()
2289 if (end == (pgoff_t)-1) in filemap_get_folios_tag()
2290 *start = (pgoff_t)-1; in filemap_get_folios_tag()
2330 pgoff_t index, pgoff_t max, struct folio_batch *fbatch) in filemap_get_read_batch()
2479 struct address_space *mapping, pgoff_t index, in filemap_create_folio()
2525 pgoff_t last_index) in filemap_readahead()
2541 pgoff_t index = iocb->ki_pos >> PAGE_SHIFT; in filemap_get_pages()
2542 pgoff_t last_index; in filemap_get_pages()
3052 pgoff_t max = (end - 1) >> PAGE_SHIFT; in mapping_seek_hole_data()
3271 pgoff_t max_idx, index = vmf->pgoff; in filemap_fault()
3413 pgoff_t start) in filemap_map_pmd()
3441 struct address_space *mapping, pgoff_t end_pgoff) in next_uptodate_folio()
3568 pgoff_t start_pgoff, pgoff_t end_pgoff) in filemap_map_pages()
3573 pgoff_t last_pgoff = start_pgoff; in filemap_map_pages()
3705 pgoff_t index, filler_t filler, struct file *file, gfp_t gfp) in do_read_cache_folio()
3780 struct folio *read_cache_folio(struct address_space *mapping, pgoff_t index, in read_cache_folio()
3806 pgoff_t index, gfp_t gfp) in mapping_read_folio_gfp()
3813 pgoff_t index, filler_t *filler, struct file *file, gfp_t gfp) in do_read_cache_page()
3824 pgoff_t index, filler_t *filler, struct file *file) in read_cache_page()
3847 pgoff_t index, in read_cache_page_gfp()
4155 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat()
4164 pgoff_t folio_first_index, folio_last_index; in filemap_cachestat()
4273 pgoff_t first_index, last_index; in SYSCALL_DEFINE4()