Lines Matching refs:pgoff_t
103 pgoff_t start; /* start of range currently being fallocated */
104 pgoff_t next; /* the next page offset to be fallocated */
105 pgoff_t nr_falloced; /* how many new pages have been fallocated */
106 pgoff_t nr_unswapped; /* how often writepage refused to swap out */
139 static int shmem_swapin_folio(struct inode *inode, pgoff_t index,
407 pgoff_t index, void *expected, void *replacement) in shmem_replace_entry()
429 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap()
471 bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force, in shmem_is_huge()
596 pgoff_t index; in shmem_unused_huge_shrink()
678 bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force, in shmem_is_huge()
696 pgoff_t index, void *expected, gfp_t gfp, in shmem_add_to_page_cache()
784 pgoff_t index, void *radswap) in shmem_free_swap()
803 pgoff_t start, pgoff_t end) in shmem_partial_swap_usage()
866 pgoff_t index = 0; in shmem_unlock_mapping()
880 static struct folio *shmem_get_partial_folio(struct inode *inode, pgoff_t index) in shmem_get_partial_folio()
910 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range()
911 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range()
913 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range()
917 pgoff_t index; in shmem_undo_range()
1184 pgoff_t start, struct folio_batch *fbatch, in shmem_find_swap_entries()
1185 pgoff_t *indices, unsigned int type) in shmem_find_swap_entries()
1226 struct folio_batch *fbatch, pgoff_t *indices) in shmem_unuse_swap_entries()
1260 pgoff_t start = 0; in shmem_unuse_inode()
1262 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unuse_inode()
1338 pgoff_t index; in shmem_writepage()
1489 struct shmem_inode_info *info, pgoff_t index) in shmem_pseudo_vma_init()
1505 struct shmem_inode_info *info, pgoff_t index) in shmem_swapin()
1547 struct shmem_inode_info *info, pgoff_t index) in shmem_alloc_hugefolio()
1551 pgoff_t hindex; in shmem_alloc_hugefolio()
1568 struct shmem_inode_info *info, pgoff_t index) in shmem_alloc_folio()
1581 pgoff_t index, bool huge) in shmem_alloc_and_acct_folio()
1629 struct shmem_inode_info *info, pgoff_t index) in shmem_replace_folio()
1634 pgoff_t swap_index; in shmem_replace_folio()
1697 static void shmem_set_folio_swapin_error(struct inode *inode, pgoff_t index, in shmem_set_folio_swapin_error()
1733 static int shmem_swapin_folio(struct inode *inode, pgoff_t index, in shmem_swapin_folio()
1850 static int shmem_get_folio_gfp(struct inode *inode, pgoff_t index, in shmem_get_folio_gfp()
1860 pgoff_t hindex; in shmem_get_folio_gfp()
2065 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop, in shmem_get_folio()
2261 pgoff_t index; in shmem_get_policy()
2430 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in shmem_mfill_atomic_pte()
2434 pgoff_t max_off; in shmem_mfill_atomic_pte()
2548 pgoff_t index = pos >> PAGE_SHIFT; in shmem_write_begin()
2608 pgoff_t index; in shmem_file_read_iter()
2620 pgoff_t end_index; in shmem_file_read_iter()
2749 pgoff_t start, index, end, undo_fallocend; in shmem_fallocate()
4338 pgoff_t index, gfp_t gfp) in shmem_read_folio_gfp()
4363 pgoff_t index, gfp_t gfp) in shmem_read_mapping_page_gfp()