Searched refs:swp_offset (Results 1 – 20 of 20) sorted by relevance
60 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() function92 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()252 struct page *p = pfn_to_page(swp_offset(entry)); in pfn_swap_entry_to_page()301 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()360 return swp_offset(entry); in hwpoison_entry_to_pfn()
443 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
87 pgoff_t idx = swp_offset(entry); in get_shadow_from_swap_cache()104 pgoff_t idx = swp_offset(entry); in add_to_swap_cache()157 pgoff_t idx = swp_offset(entry); in __delete_from_swap_cache()343 page = find_get_page(swap_address_space(entry), swp_offset(entry)); in lookup_swap_cache()412 page = find_get_page(swap_address_space(swp), swp_offset(swp)); in find_get_incore_page()438 swp_offset(entry)); in __read_swap_cache_async()617 unsigned long entry_offset = swp_offset(entry); in swap_cluster_readahead()
79 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup()133 pgoff_t offset = swp_offset(ent); in swap_cgroup_record()
1136 offset = swp_offset(entry); in __swap_info_get()1285 offset = swp_offset(entry); in get_swap_device()1463 offset = swp_offset(entry); in page_swapcount()1474 pgoff_t offset = swp_offset(entry); in __swap_count()1488 pgoff_t offset = swp_offset(entry); in swap_swapcount()1532 offset = swp_offset(entry); in swp_swapcount()1636 offset = swp_offset(entry); in page_trans_huge_map_swapcount()1961 offset = swp_offset(entry); in unuse_pte_range()3437 offset = swp_offset(entry); in __swap_duplicate()3548 return swp_offset(swap); in __page_file_index()[all …]
101 pfn = swp_offset(entry); in check_pte()111 pfn = swp_offset(entry); in check_pte()
255 pgoff_t offset = swp_offset(entry); in __frontswap_store()304 pgoff_t offset = swp_offset(entry); in __frontswap_load()
152 swp_offset(entry)); in change_pte_range()164 swp_offset(entry)); in change_pte_range()170 swp_offset(entry)); in change_pte_range()
141 swp_offset(entry)); in mincore_pte_range()
93 offset = swp_offset(entry); in swap_slot_free_notify()
262 *hmm_pfn = swp_offset(entry) | cpu_flags; in hmm_vma_handle_pte()
1059 swp_offset(entry)); in copy_huge_pmd()1757 swp_offset(entry)); in change_huge_pmd()2422 offset = swp_offset(entry); in __split_huge_page()
955 offset = swp_offset(swpentry); in zswap_writeback_entry()
899 swp = make_readable_migration_entry(swp_offset(swp)); in swap_migration_tests()
1190 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()1646 swap_index = swp_offset(entry); in shmem_replace_page()
808 swp_offset(entry)); in copy_nonpresent_pte()842 swp_offset(entry)); in copy_nonpresent_pte()
4770 swp_offset(swp_entry)); in copy_hugetlb_page_range()6161 swp_offset(entry)); in hugetlb_change_protection()
5509 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte()
1389 (swp_offset(entry) << MAX_SWAPFILES_SHIFT); in pte_to_pagemap_entry()1442 offset = swp_offset(entry) + in pagemap_pmd_range()
180 offset = swp_offset(get_swap_page_of_type(swap)); in alloc_swapdev_block()
Completed in 89 milliseconds