/mm/ |
D | swap_state.c | 79 swp_entry_t entry = swp_entry(i, 1); in total_swapcache_pages() local 111 void *get_shadow_from_swap_cache(swp_entry_t entry) in get_shadow_from_swap_cache() 129 int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() 185 swp_entry_t entry, void *shadow) in __delete_from_swap_cache() 197 void *entry = xas_store(&xas, shadow); in __delete_from_swap_cache() local 219 swp_entry_t entry; in add_to_swap() local 275 swp_entry_t entry = { .val = page_private(page) }; in delete_from_swap_cache() local 294 swp_entry_t entry = swp_entry(type, curr); in clear_shadow_from_swap_cache() local 370 struct page *lookup_swap_cache(swp_entry_t entry, struct vm_area_struct *vma, in lookup_swap_cache() 452 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in __read_swap_cache_async() [all …]
|
D | zswap.c | 267 struct zswap_entry *entry; in zswap_entry_cache_alloc() local 276 static void zswap_entry_cache_free(struct zswap_entry *entry) in zswap_entry_cache_free() 287 struct zswap_entry *entry; in zswap_rb_search() local 305 static int zswap_rb_insert(struct rb_root *root, struct zswap_entry *entry, in zswap_rb_insert() 328 static void zswap_rb_erase(struct rb_root *root, struct zswap_entry *entry) in zswap_rb_erase() 340 static void zswap_free_entry(struct zswap_entry *entry) in zswap_free_entry() 354 static void zswap_entry_get(struct zswap_entry *entry) in zswap_entry_get() 363 struct zswap_entry *entry) in zswap_entry_put() 378 struct zswap_entry *entry; in zswap_entry_find_get() local 845 static int zswap_get_swap_cache_page(swp_entry_t entry, in zswap_get_swap_cache_page() [all …]
|
D | swapfile.c | 131 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap() local 1057 swp_entry_t entry; in scan_swap_map() local 1182 static struct swap_info_struct *__swap_info_get(swp_entry_t entry) in __swap_info_get() 1211 static struct swap_info_struct *_swap_info_get(swp_entry_t entry) in _swap_info_get() 1228 static struct swap_info_struct *swap_info_get(swp_entry_t entry) in swap_info_get() 1238 static struct swap_info_struct *swap_info_get_cont(swp_entry_t entry, in swap_info_get_cont() 1329 struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() 1358 swp_entry_t entry) in __swap_entry_free() 1373 static void swap_entry_free(struct swap_info_struct *p, swp_entry_t entry) in swap_entry_free() 1394 void swap_free(swp_entry_t entry) in swap_free() [all …]
|
D | page_vma_mapped.c | 40 swp_entry_t entry; in map_pte() local 90 swp_entry_t entry; in check_pte() local 100 swp_entry_t entry; in check_pte() local 228 swp_entry_t entry; in page_vma_mapped_walk() local
|
D | huge_memory.c | 617 pmd_t entry; in __do_huge_pmd_anonymous_page() local 699 pmd_t entry; in set_huge_zero_page() local 777 pmd_t entry; in insert_pfn_pmd() local 878 pud_t entry; in insert_pfn_pud() local 1040 swp_entry_t entry = pmd_to_swp_entry(pmd); in copy_huge_pmd() local 1230 pud_t entry; in huge_pud_set_accessed() local 1252 pmd_t entry; in huge_pmd_set_accessed() local 1313 pmd_t entry; in do_huge_pmd_wp_page() local 1690 swp_entry_t entry; in zap_huge_pmd() local 1800 pmd_t entry; in change_huge_pmd() local [all …]
|
D | truncate.c | 35 pgoff_t index, void *entry) in __clear_shadow_entry() 47 void *entry) in clear_shadow_entry() 112 pgoff_t index, void *entry) in invalidate_exceptional_entry() 126 pgoff_t index, void *entry) in invalidate_exceptional_entry2()
|
D | swap_slots.c | 299 int free_swap_slot(swp_entry_t entry) in free_swap_slot() 338 swp_entry_t entry; in get_swap_page() local
|
D | pgtable-generic.c | 66 pte_t entry, int dirty) in ptep_set_access_flags() 107 pmd_t entry, int dirty) in pmdp_set_access_flags()
|
D | rmap.c | 946 pte_t entry; in page_mkclean_one() local 961 pmd_t entry; in page_mkclean_one() local 1584 swp_entry_t entry; in try_to_unmap_one() local 1675 swp_entry_t entry; in try_to_unmap_one() local 1703 swp_entry_t entry = { .val = page_private(subpage) }; in try_to_unmap_one() local
|
D | hmm.c | 214 swp_entry_t entry) in hmm_is_device_private_entry() 250 swp_entry_t entry = pte_to_swp_entry(pte); in hmm_vma_handle_pte() local 484 pte_t entry; in hmm_vma_walk_hugetlb_entry() local
|
D | frontswap.c | 248 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_store() local 297 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_load() local
|
D | memory.c | 754 swp_entry_t entry = pte_to_swp_entry(pte); in copy_nonpresent_pte() local 1289 swp_entry_t entry; in zap_pte_range() local 2008 pte_t *pte, entry; in insert_pfn() local 2931 pte_t entry; in cow_user_page() local 3108 pte_t entry; in wp_page_reuse() local 3148 pte_t entry; in wp_page_copy() local 3618 swp_entry_t entry; in do_swap_page() local 3897 pte_t entry; in do_anonymous_page() local 4108 pmd_t entry; in do_set_pmd() local 4172 pte_t entry; in do_set_pte() local [all …]
|
D | migrate.c | 194 swp_entry_t entry; in remove_migration_pte() local 294 swp_entry_t entry; in __migration_entry_wait() local 2120 pmd_t *pmd, pmd_t entry, in migrate_misplaced_transhuge_page() 2354 swp_entry_t entry; in migrate_vma_collect_pmd() local 2849 pte_t entry; in migrate_vma_insert_page() local
|
D | mremap.c | 390 static __always_inline unsigned long get_extent(enum pgt_entry entry, in get_extent() 426 static bool move_pgt_entry(enum pgt_entry entry, struct vm_area_struct *vma, in move_pgt_entry()
|
D | mincore.c | 130 swp_entry_t entry = pte_to_swp_entry(pte); in mincore_pte_range() local
|
D | madvise.c | 201 swp_entry_t entry; in swapin_walk_pmd_entry() local 637 swp_entry_t entry; in madvise_free_pte_range() local
|
D | workingset.c | 200 unsigned long entry = xa_to_value(shadow); in unpack_shadow() local
|
D | sparse-vmemmap.c | 148 pte_t entry; in vmemmap_pte_populate() local
|
D | memcontrol.c | 3348 static int mem_cgroup_move_swap_account(swp_entry_t entry, in mem_cgroup_move_swap_account() 3364 static inline int mem_cgroup_move_swap_account(swp_entry_t entry, in mem_cgroup_move_swap_account() 5622 pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() 5660 pte_t ptent, swp_entry_t *entry) in mc_handle_swap_pte() 5667 unsigned long addr, pte_t ptent, swp_entry_t *entry) in mc_handle_file_pte() 6880 swp_entry_t entry = { .val = page_private(page) }; in __mem_cgroup_charge() local 7242 void mem_cgroup_swapout(struct page *page, swp_entry_t entry) in mem_cgroup_swapout() 7311 int __mem_cgroup_try_charge_swap(struct page *page, swp_entry_t entry) in __mem_cgroup_try_charge_swap() 7357 void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages) in __mem_cgroup_uncharge_swap()
|
D | memory-failure.c | 1526 struct memory_failure_entry entry = { in memory_failure_queue() local 1546 struct memory_failure_entry entry = { 0, }; in memory_failure_work_func() local
|
D | filemap.c | 864 void *entry, *old = NULL; in __add_to_page_cache_locked() local 1635 void *entry = xas_next(&xas); in page_cache_next_miss() local 1671 void *entry = xas_prev(&xas); in page_cache_prev_miss() local
|
D | mprotect.c | 143 swp_entry_t entry = pte_to_swp_entry(oldpte); in change_pte_range() local
|
D | hugetlb.c | 3763 pte_t entry; in make_huge_pte() local 3782 pte_t entry; in set_huge_ptep_writable() local 3818 pte_t *src_pte, *dst_pte, entry, dst_entry; in copy_hugetlb_page_range() local 4582 pte_t *ptep, entry; in hugetlb_fault() local 5115 swp_entry_t entry = pte_to_swp_entry(pte); in hugetlb_change_protection() local
|
D | util.c | 803 swp_entry_t entry; in page_mapping() local
|
/mm/damon/ |
D | vaddr.c | 407 pte_t entry = huge_ptep_get(pte); in damon_hugetlb_mkold() local 440 pte_t entry; in damon_mkold_hugetlb_entry() local 568 pte_t entry; in damon_young_hugetlb_entry() local
|