Searched refs:swp_entry (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/ |
A D | swapops.h | 112 return swp_entry(SWP_DEVICE_READ, offset); in make_readable_device_private_entry() 117 return swp_entry(SWP_DEVICE_WRITE, offset); in make_writable_device_private_entry() 154 return swp_entry(0, 0); in make_readable_device_private_entry() 159 return swp_entry(0, 0); in make_writable_device_private_entry() 174 return swp_entry(0, 0); in make_readable_device_exclusive_entry() 179 return swp_entry(0, 0); in make_writable_device_exclusive_entry() 207 return swp_entry(SWP_MIGRATION_READ, offset); in make_readable_migration_entry() 224 return swp_entry(0, 0); in make_readable_migration_entry() 229 return swp_entry(0, 0); in make_writable_migration_entry() 326 return swp_entry(0, 0); in pmd_to_swp_entry() [all …]
|
/linux/arch/arm64/mm/ |
A D | mteswap.c | 72 swp_entry_t entry = swp_entry(type, offset); in mte_invalidate_tags() 80 swp_entry_t entry = swp_entry(type, 0); in mte_invalidate_tags_area() 81 swp_entry_t last_entry = swp_entry(type + 1, 0); in mte_invalidate_tags_area()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | memcg_test.rst | 24 swap_cgroup ... an entry per swp_entry. 34 a page/swp_entry may be charged (usage += PAGE_SIZE) at 41 a page/swp_entry may be uncharged (usage -= PAGE_SIZE) by 47 Called when swp_entry's refcnt goes down to 0. A charge against swap 85 swp_entry's refcnt += 1. 87 swp_entry's refcnt += # of ptes. 90 swp_entry's refcnt -= 1. 94 (e) zap_pte() is called and swp_entry's refcnt -=1 -> 0.
|
/linux/mm/ |
A D | swap_state.c | 260 swp_entry_t entry = swp_entry(type, curr); in clear_shadow_from_swap_cache() 644 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
|
A D | migrate.c | 2765 swp_entry_t swp_entry; in migrate_vma_insert_page() local 2768 swp_entry = make_writable_device_private_entry( in migrate_vma_insert_page() 2771 swp_entry = make_readable_device_private_entry( in migrate_vma_insert_page() 2773 entry = swp_entry_to_pte(swp_entry); in migrate_vma_insert_page()
|
A D | swapfile.c | 128 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap() 899 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots() 1021 *slot = swp_entry(si->type, offset); in swap_alloc_cluster() 2218 entry = swp_entry(type, i); in try_to_unuse() 2947 swp_entry_to_pte(swp_entry(0, ~0UL)))) + 1; in generic_max_swapfile_size()
|
A D | huge_memory.c | 2077 swp_entry_t swp_entry; in __split_huge_pmd_locked() local 2079 swp_entry = make_writable_migration_entry( in __split_huge_pmd_locked() 2082 swp_entry = make_readable_migration_entry( in __split_huge_pmd_locked() 2084 entry = swp_entry_to_pte(swp_entry); in __split_huge_pmd_locked()
|
A D | hugetlb.c | 4762 swp_entry_t swp_entry = pte_to_swp_entry(entry); in copy_hugetlb_page_range() local 4764 if (is_writable_migration_entry(swp_entry) && cow) { in copy_hugetlb_page_range() 4769 swp_entry = make_readable_migration_entry( in copy_hugetlb_page_range() 4770 swp_offset(swp_entry)); in copy_hugetlb_page_range() 4771 entry = swp_entry_to_pte(swp_entry); in copy_hugetlb_page_range()
|
A D | zswap.c | 1094 struct zswap_header zhdr = { .swpentry = swp_entry(type, offset) }; in zswap_frontswap_store()
|
/linux/kernel/power/ |
A D | swap.c | 183 swap_free(swp_entry(swap, offset)); in alloc_swapdev_block() 207 swap_free(swp_entry(swap, offset)); in free_all_swap_pages()
|
Completed in 40 milliseconds