Searched refs:swp_type (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | swapops.h | 98 static inline unsigned swp_type(swp_entry_t entry) in swp_type() function 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() 236 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry() 237 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry() 287 return swp_entry(swp_type(entry), in make_migration_entry_young() 303 return swp_entry(swp_type(entry), in make_migration_entry_dirty() 387 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry() 431 return swp_type(entry) == SWP_PTE_MARKER; in is_pte_marker_entry() [all …]
|
| /linux-6.15/mm/ |
| H A D | swap_cgroup.c | 74 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 D | swap.h | 33 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
|
| H A D | zswap.c | 238 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree() 1043 swp_type(entry->swpentry), in zswap_decompress() 1629 unsigned type = swp_type(swp); in zswap_store()
|
| H A D | swap_state.c | 617 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
|
| H A D | swapfile.c | 1484 unsigned int type = swp_type(entry); in __swap_entries_free() 2112 if (swp_type(entry) != type) in unuse_pte_range() 3666 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
|
| H A D | internal.h | 317 pte_t new = __swp_entry_to_pte(__swp_entry(swp_type(entry), in pte_move_swp_offset()
|
| H A D | shmem.c | 1417 if (swp_type(entry) != type) in shmem_find_swap_entries() 2203 tmp = swp_entry(swp_type(swap), in shmem_split_large_entry() 2320 swap = swp_entry(swp_type(swap), swp_offset(swap) + offset); in shmem_swapin_folio() 2350 swap = swp_entry(swp_type(swap), swp_offset(swap) + offset); in shmem_swapin_folio()
|
| /linux-6.15/arch/arm64/mm/ |
| H A D | mteswap.c | 75 mte_invalidate_tags(swp_type(entry), swp_offset(entry)); in __mte_invalidate_tags()
|
| /linux-6.15/fs/proc/ |
| H A D | task_mmu.c | 1748 frame = swp_type(entry) | in pte_to_pagemap_entry() 1816 frame = swp_type(entry) | in pagemap_pmd_range()
|