Searched refs:swp_type (Results 1 – 9 of 9) sorted by relevance
41 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function83 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()109 int type = swp_type(entry); in is_device_private_entry()120 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_write_device_private_entry()174 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()175 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()180 return unlikely(swp_type(entry) == SWP_MIGRATION_WRITE); in is_write_migration_entry()267 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()321 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry()354 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
406 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
249 int type = swp_type(entry); in __frontswap_store()298 int type = swp_type(entry); in __frontswap_load()
82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
577 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
1393 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()1931 if (swp_type(entry) != type) in unuse_pte_range()3482 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
859 tree = zswap_trees[swp_type(swpentry)]; in zswap_writeback_entry()
1143 if (swp_type(entry) != type) in shmem_find_swap_entries()
1343 frame = swp_type(entry) | in pte_to_pagemap_entry()1400 frame = swp_type(entry) | in pagemap_pmd_range()