Searched refs:swp_type (Results 1 – 8 of 8) sorted by relevance
98 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function180 int type = swp_type(entry); in is_device_private_entry()186 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_writable_device_private_entry()202 swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE; in is_device_exclusive_entry()255 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry()256 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()306 return swp_entry(swp_type(entry), in make_migration_entry_young()322 return swp_entry(swp_type(entry), in make_migration_entry_dirty()406 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry()440 return swp_type(entry) == SWP_PTE_MARKER; in is_pte_marker_entry()[all …]
28 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
653 tree = zswap_trees[swp_type(entry->swpentry)]; in zswap_reclaim_entry()1196 int type = swp_type(swp); in zswap_store()1399 int type = swp_type(swp); in zswap_load()
1413 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()1870 if (swp_type(entry) != type) in unuse_pte_range()3391 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
651 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
1319 if (swp_type(entry) != type) in shmem_find_swap_entries()
1441 frame = swp_type(entry) | in pte_to_pagemap_entry()1502 frame = swp_type(entry) | in pagemap_pmd_range()