Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dswapops.h98 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function
150 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()
180 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()
201 return swp_type(entry) == SWP_DEVICE_EXCLUSIVE_READ || in is_device_exclusive_entry()
202 swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE; in is_device_exclusive_entry()
207 return unlikely(swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE); in is_writable_device_exclusive_entry()
254 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()
255 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry()
256 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()
[all …]
/Linux-v6.6/mm/
Dswap.h28 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
Dswap_cgroup.c82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
Dzswap.c653 tree = zswap_trees[swp_type(entry->swpentry)]; in zswap_reclaim_entry()
1194 int type = swp_type(swp); in zswap_store()
1394 int type = swp_type(swp); in zswap_load()
Dswapfile.c1408 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()
1859 if (swp_type(entry) != type) in unuse_pte_range()
3367 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
Dswap_state.c651 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
Dshmem.c1295 if (swp_type(entry) != type) in shmem_find_swap_entries()
/Linux-v6.6/fs/proc/
Dtask_mmu.c1438 frame = swp_type(entry) | in pte_to_pagemap_entry()
1503 frame = swp_type(entry) | in pagemap_pmd_range()