Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dswapops.h48 * | swp_type | swp_offset |
98 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()
196 return swp_type(entry) == SWP_DEVICE_EXCLUSIVE; in is_device_exclusive_entry()
235 return unlikely(swp_type(entry) == SWP_MIGRATION_READ || in is_migration_entry()
236 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry()
237 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()
242 return unlikely(swp_type(entr in is_writable_migration_entry()
[all...]
/linux/mm/
H A Dswap_cgroup.c74 map = swap_cgroup_ctrl[swp_type(ent)].map; in swap_cgroup_record()
101 map = swap_cgroup_ctrl[swp_type(ent)].map; in swap_cgroup_clear()
126 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup_id()
H A Dswap.h35 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
H A Dzswap.c238 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree()
1043 swp_type(entry->swpentry), in zswap_decompress()
1626 unsigned type = swp_type(swp); in zswap_store()
H A Dswap_state.c614 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
H A Dinternal.h339 pte_t new = __swp_entry_to_pte(__swp_entry(swp_type(entry), in pte_move_swp_offset()
H A Dswapfile.c2114 if (swp_type(entry) != type) in unuse_pte_range()
3673 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
H A Dshmem.c1449 if (swp_type(entry) != type) in shmem_find_swap_entries()
2285 tmp = swp_entry(swp_type(swap), in shmem_split_large_entry()
2353 swap = swp_entry(swp_type(swap), swp_offset(swap) + offset); in shmem_swapin_folio()
/linux/arch/arm64/mm/
H A Dmteswap.c75 mte_invalidate_tags(swp_type(entry), swp_offset(entry)); in __mte_invalidate_tags()
/linux/fs/proc/
H A Dtask_mmu.c1880 frame = swp_type(entry) | in pte_to_pagemap_entry()
1948 frame = swp_type(entry) | in pagemap_pmd_range()