Searched refs:init_mm (Results 1 – 8 of 8) sorted by relevance
/mm/kasan/ |
D | init.c | 107 set_pte_at(&init_mm, addr, pte, zero_pte); in zero_pte_populate() 123 pmd_populate_kernel(&init_mm, pmd, in zero_pmd_populate() 132 p = pte_alloc_one_kernel(&init_mm); in zero_pmd_populate() 138 pmd_populate_kernel(&init_mm, pmd, p); in zero_pmd_populate() 157 pud_populate(&init_mm, pud, in zero_pud_populate() 160 pmd_populate_kernel(&init_mm, pmd, in zero_pud_populate() 169 p = pmd_alloc(&init_mm, pud, addr); in zero_pud_populate() 173 pud_populate(&init_mm, pud, in zero_pud_populate() 195 p4d_populate(&init_mm, p4d, in zero_p4d_populate() 198 pud_populate(&init_mm, pud, in zero_p4d_populate() [all …]
|
/mm/ |
D | init-mm.c | 29 struct mm_struct init_mm = { variable 34 .mmap_sem = __RWSEM_INITIALIZER(init_mm.mmap_sem), 35 .page_table_lock = __SPIN_LOCK_UNLOCKED(init_mm.page_table_lock), 36 .arg_lock = __SPIN_LOCK_UNLOCKED(init_mm.arg_lock), 37 .mmlist = LIST_HEAD_INIT(init_mm.mmlist), 40 INIT_MM_CONTEXT(init_mm)
|
D | sparse-vmemmap.c | 152 set_pte_at(&init_mm, addr, pte, entry); in vmemmap_pte_populate() 175 pmd_populate_kernel(&init_mm, pmd, p); in vmemmap_pmd_populate() 187 pud_populate(&init_mm, pud, p); in vmemmap_pud_populate() 199 p4d_populate(&init_mm, p4d, p); in vmemmap_p4d_populate() 211 pgd_populate(&init_mm, pgd, p); in vmemmap_pgd_populate()
|
D | highmem.c | 194 pte_clear(&init_mm, PKMAP_ADDR(i), &pkmap_page_table[i]); in flush_all_zero_pkmaps() 258 set_pte_at(&init_mm, vaddr, in map_new_virtual()
|
D | vmalloc.c | 70 pte_t ptent = ptep_get_and_clear(&init_mm, addr, pte); in vunmap_pte_range() 160 set_pte_at(&init_mm, addr, pte, mk_pte(page, prot)); in vmap_pte_range() 172 pmd = pmd_alloc(&init_mm, pud, addr); in vmap_pmd_range() 189 pud = pud_alloc(&init_mm, p4d, addr); in vmap_pud_range() 206 p4d = p4d_alloc(&init_mm, pgd, addr); in vmap_p4d_range() 3117 if (apply_to_page_range(&init_mm, (unsigned long)area->addr, in alloc_vm_area()
|
D | memory.c | 472 pte_t *new = pte_alloc_one_kernel(&init_mm); in __pte_alloc_kernel() 478 spin_lock(&init_mm.page_table_lock); in __pte_alloc_kernel() 480 pmd_populate_kernel(&init_mm, pmd, new); in __pte_alloc_kernel() 483 spin_unlock(&init_mm.page_table_lock); in __pte_alloc_kernel() 485 pte_free_kernel(&init_mm, new); in __pte_alloc_kernel() 2067 pte = (mm == &init_mm) ? in apply_to_pte_range() 2085 if (mm != &init_mm) in apply_to_pte_range()
|
D | swapfile.c | 2165 prev_mm = &init_mm; in try_to_unuse() 2169 p = &init_mm.mmlist; in try_to_unuse() 2172 (p = p->next) != &init_mm.mmlist) { in try_to_unuse() 2265 list_for_each_safe(p, next, &init_mm.mmlist) in drain_mmlist()
|
D | rmap.c | 1677 list_add(&mm->mmlist, &init_mm.mmlist); in try_to_unmap_one()
|