Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dswapops.h53 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function
94 arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); in swp_entry_to_pte()
118 return swp_type(entry) == SWP_SWAPIN_ERROR; in is_swapin_error_entry()
134 int type = swp_type(entry); in is_device_private_entry()
140 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_writable_device_private_entry()
155 return swp_type(entry) == SWP_DEVICE_EXCLUSIVE_READ || in is_device_exclusive_entry()
156 swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE; in is_device_exclusive_entry()
161 return unlikely(swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE); in is_writable_device_exclusive_entry()
208 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()
209 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry()
[all …]
/linux-5.19.10/mm/
Dfrontswap.c164 int type = swp_type(entry); in __frontswap_store()
203 int type = swp_type(entry); in __frontswap_load()
Dswap.h31 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
Dswap_cgroup.c82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
Dswapfile.c1399 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()
1862 if (swp_type(entry) != type) in unuse_pte_range()
3382 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
Dswap_state.c655 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
Dzswap.c969 tree = zswap_trees[swp_type(swpentry)]; in zswap_writeback_entry()
Dshmem.c1181 if (swp_type(entry) != type) in shmem_find_swap_entries()
/linux-5.19.10/fs/proc/
Dtask_mmu.c1419 frame = swp_type(entry) | in pte_to_pagemap_entry()
1479 frame = swp_type(entry) | in pagemap_pmd_range()