Lines Matching refs:pgoff_t
107 pgoff_t start; /* start of range currently being fallocated */
108 pgoff_t next; /* the next page offset to be fallocated */
109 pgoff_t nr_falloced; /* how many new pages have been fallocated */
110 pgoff_t nr_unswapped; /* how often writepage refused to swap out */
156 static int shmem_swapin_folio(struct inode *inode, pgoff_t index,
487 pgoff_t index, void *expected, void *replacement) in shmem_replace_entry()
509 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap()
551 static bool __shmem_huge_global_enabled(struct inode *inode, pgoff_t index, in __shmem_huge_global_enabled()
587 static bool shmem_huge_global_enabled(struct inode *inode, pgoff_t index, in shmem_huge_global_enabled()
675 pgoff_t next, end; in shmem_unused_huge_shrink()
774 static bool shmem_huge_global_enabled(struct inode *inode, pgoff_t index, in shmem_huge_global_enabled()
787 pgoff_t index, void *expected, gfp_t gfp) in shmem_add_to_page_cache()
860 pgoff_t index, void *radswap) in shmem_free_swap()
881 pgoff_t start, pgoff_t end) in shmem_partial_swap_usage()
945 pgoff_t index = 0; in shmem_unlock_mapping()
959 static struct folio *shmem_get_partial_folio(struct inode *inode, pgoff_t index) in shmem_get_partial_folio()
996 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range()
997 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range()
999 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range()
1003 pgoff_t index; in shmem_undo_range()
1304 pgoff_t start, struct folio_batch *fbatch, in shmem_find_swap_entries()
1305 pgoff_t *indices, unsigned int type) in shmem_find_swap_entries()
1346 struct folio_batch *fbatch, pgoff_t *indices) in shmem_unuse_swap_entries()
1378 pgoff_t start = 0; in shmem_unuse_inode()
1380 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unuse_inode()
1457 pgoff_t index; in shmem_writepage()
1615 pgoff_t index, unsigned int order, pgoff_t *ilx);
1618 struct shmem_inode_info *info, pgoff_t index) in shmem_swapin_cluster()
1621 pgoff_t ilx; in shmem_swapin_cluster()
1657 struct vm_area_struct *vma, pgoff_t index, in shmem_allowable_huge_orders()
1717 struct address_space *mapping, pgoff_t index, in shmem_suitable_orders()
1721 pgoff_t aligned_index; in shmem_suitable_orders()
1754 struct address_space *mapping, pgoff_t index, in shmem_suitable_orders()
1762 struct shmem_inode_info *info, pgoff_t index) in shmem_alloc_folio()
1765 pgoff_t ilx; in shmem_alloc_folio()
1776 gfp_t gfp, struct inode *inode, pgoff_t index, in shmem_alloc_and_add_folio()
1894 struct shmem_inode_info *info, pgoff_t index, in shmem_replace_folio()
1900 pgoff_t swap_index = swap_cache_index(entry); in shmem_replace_folio()
1980 static void shmem_set_folio_swapin_error(struct inode *inode, pgoff_t index, in shmem_set_folio_swapin_error()
2007 static int shmem_split_large_entry(struct inode *inode, pgoff_t index, in shmem_split_large_entry()
2051 pgoff_t aligned_index = round_down(index, 1 << order); in shmem_split_large_entry()
2091 static int shmem_swapin_folio(struct inode *inode, pgoff_t index, in shmem_swapin_folio()
2148 pgoff_t offset = index - round_down(index, 1 << split_order); in shmem_swapin_folio()
2230 static int shmem_get_folio_gfp(struct inode *inode, pgoff_t index, in shmem_get_folio_gfp()
2433 int shmem_get_folio(struct inode *inode, pgoff_t index, loff_t write_end, in shmem_get_folio()
2660 unsigned long addr, pgoff_t *ilx) in shmem_get_policy()
2663 pgoff_t index; in shmem_get_policy()
2677 pgoff_t index, unsigned int order, pgoff_t *ilx) in shmem_get_pgoff_policy()
2689 pgoff_t index, unsigned int order, pgoff_t *ilx) in shmem_get_pgoff_policy()
2910 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in shmem_mfill_atomic_pte()
2914 pgoff_t max_off; in shmem_mfill_atomic_pte()
3025 pgoff_t index = pos >> PAGE_SHIFT; in shmem_write_begin()
3083 pgoff_t index; in shmem_file_read_iter()
3095 pgoff_t end_index; in shmem_file_read_iter()
3381 pgoff_t start, index, end, undo_fallocend; in shmem_fallocate()
5328 pgoff_t index, gfp_t gfp) in shmem_read_folio_gfp()
5352 pgoff_t index, gfp_t gfp) in shmem_read_mapping_page_gfp()