Searched refs:swp_type (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | swapops.h | 96 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function 118 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte() 203 return swp_entry(swp_type(entry), in make_migration_entry_young() 211 return swp_entry(swp_type(entry), in make_migration_entry_dirty() 265 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry() 337 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()
|
| /linux/mm/ |
| H A D | swap_state.c | 646 swp_entry(swp_type(entry), offset), in swap_cluster_readahead() 764 if (swp_type(entry) != swp_type(targ_entry)) { in swap_vma_readahead()
|
| H A D | zswap.c | 233 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree() 979 swp_type(entry->swpentry), in zswap_decompress() 1564 unsigned type = swp_type(swp); in zswap_store()
|
| H A D | swap.h | 80 return __swap_type_to_info(swp_type(entry)); in __swap_entry_to_info()
|
| H A D | internal.h | 338 pte_t new = __swp_entry_to_pte(__swp_entry(swp_type(entry), in pte_move_swp_offset()
|
| H A D | swapfile.c | 144 return swap_type_to_info(swp_type(entry)); in swap_entry_to_info() 2276 if (swp_type(entry) != type) in unuse_pte_range()
|
| H A D | shmem.c | 1454 if (swp_type(entry) != type) in shmem_find_swap_entries() 2265 tmp = swp_entry(swp_type(swap), in shmem_split_large_entry() 2334 swap = swp_entry(swp_type(swap), swp_offset(swap) + offset); in shmem_swapin_folio()
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 1959 frame = swp_type(entry) | in pte_to_pagemap_entry() 2024 frame = swp_type(entry) | in pagemap_pmd_range_thp()
|