Home
last modified time | relevance | path

Searched refs:swp_type (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/include/linux/
Dswapops.h51 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function
92 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()
122 int type = swp_type(entry); in is_device_private_entry()
128 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_writable_device_private_entry()
143 return swp_type(entry) == SWP_DEVICE_EXCLUSIVE_READ || in is_device_exclusive_entry()
144 swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE; in is_device_exclusive_entry()
149 return unlikely(swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE); in is_writable_device_exclusive_entry()
196 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()
197 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()
202 return unlikely(swp_type(entry) == SWP_MIGRATION_WRITE); in is_writable_migration_entry()
[all …]
Dswap.h437 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
/Linux-v5.15/mm/
Dfrontswap.c253 int type = swp_type(entry); in __frontswap_store()
302 int type = swp_type(entry); in __frontswap_load()
Dswap_cgroup.c82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
Dswapfile.c1416 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()
1958 if (swp_type(entry) != type) in unuse_pte_range()
3527 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
Dswap_state.c644 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
Dzswap.c954 tree = zswap_trees[swp_type(swpentry)]; in zswap_writeback_entry()
Dshmem.c1189 if (swp_type(entry) != type) in shmem_find_swap_entries()
/Linux-v5.15/fs/proc/
Dtask_mmu.c1384 frame = swp_type(entry) | in pte_to_pagemap_entry()
1440 frame = swp_type(entry) | in pagemap_pmd_range()