Home
last modified time | relevance | path

Searched refs:swp_offset (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dswapops.h60 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() function
92 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()
Dswap.h426 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
/kernel/linux/linux-5.10/mm/
Dswap_state.c113 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()
Dswap_cgroup.c79 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup()
133 pgoff_t offset = swp_offset(ent); in swap_cgroup_record()
Dswapfile.c1045 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 …]
Dfrontswap.c251 pgoff_t offset = swp_offset(entry); in __frontswap_store()
300 pgoff_t offset = swp_offset(entry); in __frontswap_load()
Dmincore.c141 swp_offset(entry)); in mincore_pte_range()
Dzswap.c897 offset = swp_offset(swpentry); in zswap_writeback_entry()
Dshmem.c1217 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()
1636 swap_index = swp_offset(entry); in shmem_replace_page()
Dhuge_memory.c2462 offset = swp_offset(entry); in __split_huge_page()
Dmemcontrol.c5686 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c1425 (swp_offset(entry) << MAX_SWAPFILES_SHIFT); in pte_to_pagemap_entry()
1482 offset = swp_offset(entry) + in pagemap_pmd_range()
/kernel/linux/linux-5.10/kernel/power/
Dswap.c180 offset = swp_offset(get_swap_page_of_type(swap)); in alloc_swapdev_block()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch59720 - swp_offset(entry));
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch364210 - swp_offset(swp));
364289 - swp_offset(entry));