Lines Matching refs:pgoff_t

106 	pgoff_t start;		/* start of range currently being fallocated */
107 pgoff_t next; /* the next page offset to be fallocated */
108 pgoff_t nr_falloced; /* how many new pages have been fallocated */
109 pgoff_t nr_unswapped; /* how often writepage refused to swap out */
148 static int shmem_swapin_folio(struct inode *inode, pgoff_t index,
474 pgoff_t index, void *expected, void *replacement) in shmem_replace_entry()
496 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap()
538 bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force, in shmem_is_huge()
663 pgoff_t index; in shmem_unused_huge_shrink()
745 bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force, in shmem_is_huge()
763 pgoff_t index, void *expected, gfp_t gfp, in shmem_add_to_page_cache()
851 pgoff_t index, void *radswap) in shmem_free_swap()
870 pgoff_t start, pgoff_t end) in shmem_partial_swap_usage()
935 pgoff_t index = 0; in shmem_unlock_mapping()
949 static struct folio *shmem_get_partial_folio(struct inode *inode, pgoff_t index) in shmem_get_partial_folio()
986 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range()
987 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range()
989 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range()
993 pgoff_t index; in shmem_undo_range()
1292 pgoff_t start, struct folio_batch *fbatch, in shmem_find_swap_entries()
1293 pgoff_t *indices, unsigned int type) in shmem_find_swap_entries()
1334 struct folio_batch *fbatch, pgoff_t *indices) in shmem_unuse_swap_entries()
1368 pgoff_t start = 0; in shmem_unuse_inode()
1370 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unuse_inode()
1447 pgoff_t index; in shmem_writepage()
1590 struct shmem_inode_info *info, pgoff_t index) in shmem_pseudo_vma_init()
1606 struct shmem_inode_info *info, pgoff_t index) in shmem_swapin()
1648 struct shmem_inode_info *info, pgoff_t index) in shmem_alloc_hugefolio()
1652 pgoff_t hindex; in shmem_alloc_hugefolio()
1669 struct shmem_inode_info *info, pgoff_t index) in shmem_alloc_folio()
1682 pgoff_t index, bool huge) in shmem_alloc_and_acct_folio()
1731 struct shmem_inode_info *info, pgoff_t index) in shmem_replace_folio()
1736 pgoff_t swap_index; in shmem_replace_folio()
1799 static void shmem_set_folio_swapin_error(struct inode *inode, pgoff_t index, in shmem_set_folio_swapin_error()
1830 static int shmem_swapin_folio(struct inode *inode, pgoff_t index, in shmem_swapin_folio()
1944 static int shmem_get_folio_gfp(struct inode *inode, pgoff_t index, in shmem_get_folio_gfp()
1954 pgoff_t hindex; in shmem_get_folio_gfp()
2157 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop, in shmem_get_folio()
2353 pgoff_t index; in shmem_get_policy()
2579 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in shmem_mfill_atomic_pte()
2583 pgoff_t max_off; in shmem_mfill_atomic_pte()
2692 pgoff_t index = pos >> PAGE_SHIFT; in shmem_write_begin()
2752 pgoff_t index; in shmem_file_read_iter()
2764 pgoff_t end_index; in shmem_file_read_iter()
3050 pgoff_t start, index, end, undo_fallocend; in shmem_fallocate()
4908 pgoff_t index, gfp_t gfp) in shmem_read_folio_gfp()
4933 pgoff_t index, gfp_t gfp) in shmem_read_mapping_page_gfp()