Home
last modified time | relevance | path

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

/arch/arm/mm/
Dpgd.c37 pmd_t *new_pmd, *init_pmd; in pgd_alloc() local
64 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
65 if (!new_pmd) in pgd_alloc()
79 new_pmd = pmd_alloc(mm, new_pud, 0); in pgd_alloc()
80 if (!new_pmd) in pgd_alloc()
83 new_pte = pte_alloc_map(mm, new_pmd, 0); in pgd_alloc()
93 pmd_val(*new_pmd) &= ~PMD_DOMAIN_MASK; in pgd_alloc()
94 pmd_val(*new_pmd) |= PMD_DOMAIN(DOMAIN_VECTORS); in pgd_alloc()
109 pmd_free(mm, new_pmd); in pgd_alloc()
/arch/powerpc/mm/
Dhugepage-hash64.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()
54 rflags = htab_convert_pte_flags(new_pmd); in __hash_page_thp()
128 new_pmd |= H_PAGE_HASHPTE; in __hash_page_thp()
177 new_pmd |= H_PAGE_COMBO; in __hash_page_thp()
184 *pmdp = __pmd(new_pmd & ~H_PAGE_BUSY); in __hash_page_thp()
/arch/unicore32/mm/
Dpgd.c30 pmd_t *new_pmd, *init_pmd; in get_pgd_slow() local
53 new_pmd = pmd_alloc(mm, (pud_t *)new_pgd, 0); in get_pgd_slow()
54 if (!new_pmd) in get_pgd_slow()
57 new_pte = pte_alloc_map(mm, new_pmd, 0); in get_pgd_slow()
71 pmd_free(mm, new_pmd); in get_pgd_slow()
/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c215 pmd_t *pmd, *new_pmd = NULL; in kvmppc_create_pte() local
232 new_pmd = pmd_alloc_one(kvm->mm, gpa); in kvmppc_create_pte()
253 if (!new_pmd) in kvmppc_create_pte()
255 pud_populate(kvm->mm, pud, new_pmd); in kvmppc_create_pte()
256 new_pmd = NULL; in kvmppc_create_pte()
317 if (new_pmd) in kvmppc_create_pte()
318 pmd_free(kvm->mm, new_pmd); in kvmppc_create_pte()
/arch/x86/mm/
Dkmmio.c129 pmd_t new_pmd; in clear_pmd_presence() local
133 new_pmd = pmd_mknotpresent(*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/arm/include/asm/
Dkvm_mmu.h69 static inline void kvm_set_pmd(pmd_t *pmd, pmd_t new_pmd) in kvm_set_pmd() argument
71 *pmd = new_pmd; in kvm_set_pmd()
/arch/mips/kvm/
Dmmu.c150 pmd_t *new_pmd; in kvm_mips_walk_pgd() local
154 new_pmd = mmu_memory_cache_alloc(cache); in kvm_mips_walk_pgd()
155 pmd_init((unsigned long)new_pmd, in kvm_mips_walk_pgd()
157 pud_populate(NULL, pud, new_pmd); in kvm_mips_walk_pgd()
/arch/arm64/mm/
Dmmu.c936 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), sect_prot); in pmd_set_huge() local
940 pmd_val(new_pmd))) in pmd_set_huge()
944 set_pmd(pmdp, new_pmd); in pmd_set_huge()