Searched refs:swp_type (Results 1 – 8 of 8) sorted by relevance
41 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function85 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()114 int type = swp_type(entry); in is_device_private_entry()125 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_write_device_private_entry()194 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()195 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()200 return unlikely(swp_type(entry) == SWP_MIGRATION_WRITE); in is_write_migration_entry()287 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pmd()341 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry()374 return swp_type(entry) >= MAX_SWAPFILES; in non_swap_entry()
404 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
250 int type = swp_type(entry); in __frontswap_store()299 int type = swp_type(entry); in __frontswap_load()
82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
1059 type = swp_type(entry); in __swap_info_get()1282 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()2271 sis = swap_info[swp_type(entry)]; in map_swap_entry()3374 type = swp_type(entry); in __swap_duplicate()3474 return swap_info[swp_type(entry)]; in swp_swap_info()
597 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
869 tree = zswap_trees[swp_type(swpentry)]; in zswap_writeback_entry()
1257 frame = swp_type(entry) | in pte_to_pagemap_entry()1314 frame = swp_type(entry) | in pagemap_pmd_range()