Home
last modified time | relevance | path

Searched refs:new_pud (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/arch/arm/mm/
Dpgd.c34 pud_t *new_pud, *init_pud; in pgd_alloc() local
62 new_pud = pud_alloc(mm, new_p4d, MODULES_VADDR); in pgd_alloc()
63 if (!new_pud) in pgd_alloc()
66 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
77 new_pmd = pmd_offset(new_pud, TASK_SIZE); in pgd_alloc()
95 new_pud = pud_alloc(mm, new_p4d, 0); in pgd_alloc()
96 if (!new_pud) in pgd_alloc()
99 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
133 pud_free(mm, new_pud); in pgd_alloc()
/linux-6.6.21/mm/
Dmremap.c305 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_normal_pud() argument
317 if (WARN_ON_ONCE(!pud_none(*new_pud))) in move_normal_pud()
325 new_ptl = pud_lockptr(mm, new_pud); in move_normal_pud()
333 VM_BUG_ON(!pud_none(*new_pud)); in move_normal_pud()
335 pud_populate(mm, new_pud, pud_pgtable(pud)); in move_normal_pud()
346 pud_t *new_pud) in move_normal_pud() argument
354 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_huge_pud() argument
364 if (WARN_ON_ONCE(!pud_none(*new_pud))) in move_huge_pud()
372 new_ptl = pud_lockptr(mm, new_pud); in move_huge_pud()
380 VM_BUG_ON(!pud_none(*new_pud)); in move_huge_pud()
[all …]
/linux-6.6.21/arch/riscv/mm/
Dpgtable.c20 pud_t new_pud = pfn_pud(__phys_to_pfn(phys), prot); in pud_set_huge() local
22 set_pud(pud, new_pud); in pud_set_huge()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c617 pud_t *pud, *new_pud = NULL; in kvmppc_create_pte() local
630 new_pud = pud_alloc_one(kvm->mm, gpa); in kvmppc_create_pte()
650 if (!new_pud) in kvmppc_create_pte()
652 p4d_populate(kvm->mm, p4d, new_pud); in kvmppc_create_pte()
653 new_pud = NULL; in kvmppc_create_pte()
779 if (new_pud) in kvmppc_create_pte()
780 pud_free(kvm->mm, new_pud); in kvmppc_create_pte()
/linux-6.6.21/arch/arm64/mm/
Dmmu.c1173 pud_t new_pud = pfn_pud(__phys_to_pfn(phys), mk_pud_sect_prot(prot)); in pud_set_huge() local
1177 pud_val(new_pud))) in pud_set_huge()
1181 set_pud(pudp, new_pud); in pud_set_huge()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_pgtable.c1545 pte_t new_pud = pfn_pte(__phys_to_pfn(addr), prot); in pud_set_huge() local
1550 set_pte_at(&init_mm, 0 /* radix unused */, ptep, new_pud); in pud_set_huge()