Searched refs:swp_offset (Results 1 – 15 of 15) 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()124 *entry = swp_entry(SWP_DEVICE_READ, swp_offset(*entry)); in make_device_private_entry_read()134 return swp_offset(entry); in device_private_entry_to_pfn()139 return pfn_to_page(swp_offset(entry)); in device_private_entry_to_page()194 return swp_offset(entry); in migration_entry_to_pfn()199 struct page *p = pfn_to_page(swp_offset(entry)); in migration_entry_to_page()210 *entry = swp_entry(SWP_MIGRATION_READ, swp_offset(*entry)); in make_migration_entry_read()278 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()
426 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
113 pgoff_t idx = swp_offset(entry); in get_shadow_from_swap_cache()132 pgoff_t idx = swp_offset(entry); in add_to_swap_cache()188 pgoff_t idx = swp_offset(entry); in __delete_from_swap_cache()378 page = find_get_page(swap_address_space(entry), swp_offset(entry)); in lookup_swap_cache()446 page = find_get_page(swap_address_space(swp), swp_offset(swp)); in find_get_incore_page()472 swp_offset(entry)); in __read_swap_cache_async()653 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()
1045 return swp_offset(entry); in scan_swap_map()1172 offset = swp_offset(entry); in __swap_info_get()1196 if (data_race(!p->swap_map[swp_offset(entry)])) in _swap_info_get()1321 offset = swp_offset(entry); in get_swap_device()1339 unsigned long offset = swp_offset(entry); in __swap_entry_free()1354 unsigned long offset = swp_offset(entry); in swap_entry_free()1386 unsigned long offset = swp_offset(entry); in put_swap_page()1436 unsigned long offset = swp_offset(entry); in split_swap_cluster()1499 offset = swp_offset(entry); in page_swapcount()1510 pgoff_t offset = swp_offset(entry); in __swap_count()[all …]
251 pgoff_t offset = swp_offset(entry); in __frontswap_store()300 pgoff_t offset = swp_offset(entry); in __frontswap_load()
141 swp_offset(entry)); in mincore_pte_range()
897 offset = swp_offset(swpentry); in zswap_writeback_entry()
1217 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()1636 swap_index = swp_offset(entry); in shmem_replace_page()
2462 offset = swp_offset(entry); in __split_huge_page()
5686 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte()
1425 (swp_offset(entry) << MAX_SWAPFILES_SHIFT); in pte_to_pagemap_entry()1482 offset = swp_offset(entry) + in pagemap_pmd_range()
180 offset = swp_offset(get_swap_page_of_type(swap)); in alloc_swapdev_block()
59720 - swp_offset(entry));
364210 - swp_offset(swp));364289 - swp_offset(entry));