Home
last modified time | relevance | path

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

/linux/include/linux/
A 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()
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()
A Dswap.h443 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
/linux/mm/
A Dswap_state.c87 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()
A Dswap_cgroup.c79 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup()
133 pgoff_t offset = swp_offset(ent); in swap_cgroup_record()
A Dswapfile.c1136 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 …]
A Dpage_vma_mapped.c101 pfn = swp_offset(entry); in check_pte()
111 pfn = swp_offset(entry); in check_pte()
A Dfrontswap.c255 pgoff_t offset = swp_offset(entry); in __frontswap_store()
304 pgoff_t offset = swp_offset(entry); in __frontswap_load()
A Dmprotect.c152 swp_offset(entry)); in change_pte_range()
164 swp_offset(entry)); in change_pte_range()
170 swp_offset(entry)); in change_pte_range()
A Dmincore.c141 swp_offset(entry)); in mincore_pte_range()
A Dpage_io.c93 offset = swp_offset(entry); in swap_slot_free_notify()
A Dhmm.c262 *hmm_pfn = swp_offset(entry) | cpu_flags; in hmm_vma_handle_pte()
A Dhuge_memory.c1059 swp_offset(entry)); in copy_huge_pmd()
1757 swp_offset(entry)); in change_huge_pmd()
2422 offset = swp_offset(entry); in __split_huge_page()
A Dzswap.c955 offset = swp_offset(swpentry); in zswap_writeback_entry()
A Ddebug_vm_pgtable.c899 swp = make_readable_migration_entry(swp_offset(swp)); in swap_migration_tests()
A Dshmem.c1190 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()
1646 swap_index = swp_offset(entry); in shmem_replace_page()
A Dmemory.c808 swp_offset(entry)); in copy_nonpresent_pte()
842 swp_offset(entry)); in copy_nonpresent_pte()
A Dhugetlb.c4770 swp_offset(swp_entry)); in copy_hugetlb_page_range()
6161 swp_offset(entry)); in hugetlb_change_protection()
A Dmemcontrol.c5509 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte()
/linux/fs/proc/
A Dtask_mmu.c1389 (swp_offset(entry) << MAX_SWAPFILES_SHIFT); in pte_to_pagemap_entry()
1442 offset = swp_offset(entry) + in pagemap_pmd_range()
/linux/kernel/power/
A Dswap.c180 offset = swp_offset(get_swap_page_of_type(swap)); in alloc_swapdev_block()

Completed in 89 milliseconds