Home
last modified time | relevance | path

Searched refs:new_pmd (Results 1 – 7 of 7) sorted by relevance

/arch/arm/mm/
Dpgd.c35 pmd_t *new_pmd, *init_pmd; in pgd_alloc() local
66 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
67 if (!new_pmd) in pgd_alloc()
77 new_pmd = pmd_offset(new_pud, TASK_SIZE); in pgd_alloc()
78 memcpy(new_pmd, init_pmd, in pgd_alloc()
81 clean_dcache_area(new_pmd, PTRS_PER_PMD * sizeof(pmd_t)); in pgd_alloc()
99 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
100 if (!new_pmd) in pgd_alloc()
103 new_pte = pte_alloc_map(mm, new_pmd, 0); in pgd_alloc()
113 pmd_val(*new_pmd) &= ~PMD_DOMAIN_MASK; in pgd_alloc()
[all …]
/arch/powerpc/mm/book3s64/
Dhash_hugepage.c28 unsigned long old_pmd, new_pmd; in __hash_page_thp() local
49 new_pmd = old_pmd | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_thp()
51 new_pmd |= _PAGE_DIRTY; in __hash_page_thp()
52 } while (!pmd_xchg(pmdp, __pmd(old_pmd), __pmd(new_pmd))); in __hash_page_thp()
60 rflags = htab_convert_pte_flags(new_pmd, flags); in __hash_page_thp()
134 new_pmd |= H_PAGE_HASHPTE; in __hash_page_thp()
182 new_pmd |= H_PAGE_COMBO; in __hash_page_thp()
189 *pmdp = __pmd(new_pmd & ~H_PAGE_BUSY); in __hash_page_thp()
Dradix_pgtable.c1156 pte_t new_pmd = pfn_pte(__phys_to_pfn(addr), prot); in pmd_set_huge() local
1161 set_pte_at(&init_mm, 0 /* radix unused */, ptep, new_pmd); in pmd_set_huge()
/arch/x86/mm/
Dkmmio.c129 pmd_t new_pmd; in clear_pmd_presence() local
133 new_pmd = pmd_mkinvalid(*pmd); in clear_pmd_presence()
136 new_pmd = __pmd(*old); in clear_pmd_presence()
138 set_pmd(pmd, new_pmd); in clear_pmd_presence()
/arch/mips/kvm/
Dmmu.c120 pmd_t *new_pmd; in kvm_mips_walk_pgd() local
124 new_pmd = kvm_mmu_memory_cache_alloc(cache); in kvm_mips_walk_pgd()
125 pmd_init((unsigned long)new_pmd, in kvm_mips_walk_pgd()
127 pud_populate(NULL, pud, new_pmd); in kvm_mips_walk_pgd()
/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c611 pmd_t *pmd, *new_pmd = NULL; in kvmppc_create_pte() local
629 new_pmd = kvmppc_pmd_alloc(); in kvmppc_create_pte()
670 if (!new_pmd) { in kvmppc_create_pte()
694 if (!new_pmd) in kvmppc_create_pte()
696 pud_populate(kvm->mm, pud, new_pmd); in kvmppc_create_pte()
697 new_pmd = NULL; in kvmppc_create_pte()
774 if (new_pmd) in kvmppc_create_pte()
775 kvmppc_pmd_free(new_pmd); in kvmppc_create_pte()
/arch/arm64/mm/
Dmmu.c1482 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge() local
1486 pmd_val(new_pmd))) in pmd_set_huge()
1490 set_pmd(pmdp, new_pmd); in pmd_set_huge()