Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dswapops.h98 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()
202 swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE; in is_device_exclusive_entry()
255 swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE || in is_migration_entry()
256 swp_type(entry) == SWP_MIGRATION_WRITE); in is_migration_entry()
306 return swp_entry(swp_type(entry), in make_migration_entry_young()
322 return swp_entry(swp_type(entry), in make_migration_entry_dirty()
406 return swp_type(entry) == SWP_HWPOISON; in is_hwpoison_entry()
440 return swp_type(entry) == SWP_PTE_MARKER; in is_pte_marker_entry()
[all …]
/openbmc/linux/mm/
H A Dswap.h28 (&swapper_spaces[swp_type(entry)][swp_offset(entry) \
H A Dswap_cgroup.c82 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup()
H A Dzswap.c653 tree = zswap_trees[swp_type(entry->swpentry)]; in zswap_reclaim_entry()
1196 int type = swp_type(swp); in zswap_store()
1399 int type = swp_type(swp); in zswap_load()
H A Dswapfile.c1413 return (int)swp_type(*e1) - (int)swp_type(*e2); in swp_entry_cmp()
1870 if (swp_type(entry) != type) in unuse_pte_range()
3391 return swap_type_to_swap_info(swp_type(entry)); in swp_swap_info()
H A Dswap_state.c651 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
H A Dshmem.c1306 if (swp_type(entry) != type) in shmem_find_swap_entries()
/openbmc/linux/fs/proc/
H A Dtask_mmu.c1443 frame = swp_type(entry) | in pte_to_pagemap_entry()
1508 frame = swp_type(entry) | in pagemap_pmd_range()