Searched refs:swp_type (Results 1 – 8 of 8) sorted by relevance
97 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function119 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()204 return swp_entry(swp_type(entry), in make_migration_entry_young()212 return swp_entry(swp_type(entry), in make_migration_entry_dirty()266 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry()338 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()
848 ra_entry = swp_entry(swp_type(entry), offset); in swap_cluster_readahead()953 if (swp_type(entry) != swp_type(targ_entry)) { in swap_vma_readahead()
233 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree()965 swp_type(entry->swpentry), in zswap_decompress()1558 unsigned type = swp_type(swp); in zswap_store()
119 return __swap_type_to_info(swp_type(entry)); in __swap_entry_to_info()
483 pte_t new = __swp_entry_to_pte(__swp_entry(swp_type(entry), in pte_move_swp_offset()
143 return swap_type_to_info(swp_type(entry)); in swap_entry_to_info()2556 if (swp_type(entry) != type) in unuse_pte_range()
1476 if (swp_type(entry) != type) in shmem_find_swap_entries()2225 tmp = swp_entry(swp_type(swap), in shmem_split_large_entry()2294 swap = swp_entry(swp_type(swap), swp_offset(swap) + offset); in shmem_swapin_folio()
2062 frame = swp_type(entry) | in pte_to_pagemap_entry()2127 frame = swp_type(entry) | in pagemap_pmd_range_thp()