Home
last modified time | relevance | path

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

/linux/arch/arm/mm/
A 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()
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()
114 pmd_val(*new_pmd) |= PMD_DOMAIN(DOMAIN_VECTORS); in pgd_alloc()
[all …]
/linux/arch/powerpc/mm/book3s64/
A 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()
A Dradix_pgtable.c1138 pte_t new_pmd = pfn_pte(__phys_to_pfn(addr), prot); in pmd_set_huge() local
1143 set_pte_at(&init_mm, 0 /* radix unused */, ptep, new_pmd); in pmd_set_huge()
/linux/mm/
A Dmremap.c171 new_pte = pte_offset_map(new_pmd, new_addr); in move_ptes()
172 new_ptl = pte_lockptr(mm, new_pmd); in move_ptes()
255 if (WARN_ON_ONCE(!pmd_none(*new_pmd))) in move_normal_pmd()
263 new_ptl = pmd_lockptr(mm, new_pmd); in move_normal_pmd()
271 VM_BUG_ON(!pmd_none(*new_pmd)); in move_normal_pmd()
284 pmd_t *new_pmd) in move_normal_pmd() argument
486 pmd_t *old_pmd, *new_pmd; in move_page_tables() local
533 if (!new_pmd) in move_page_tables()
551 old_pmd, new_pmd, true)) in move_page_tables()
555 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
[all …]
A Dhuge_memory.c1669 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd) in move_huge_pmd() argument
1680 if (WARN_ON(!pmd_none(*new_pmd))) { in move_huge_pmd()
1681 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd()
1691 new_ptl = pmd_lockptr(mm, new_pmd); in move_huge_pmd()
1697 VM_BUG_ON(!pmd_none(*new_pmd)); in move_huge_pmd()
1702 pgtable_trans_huge_deposit(mm, new_pmd, pgtable); in move_huge_pmd()
1705 set_pmd_at(mm, new_addr, new_pmd, pmd); in move_huge_pmd()
/linux/arch/x86/mm/
A 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()
/linux/arch/mips/kvm/
A 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()
/linux/arch/powerpc/kvm/
A 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()
/linux/arch/arm64/mm/
A Dmmu.c1359 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge() local
1363 pmd_val(new_pmd))) in pmd_set_huge()
1367 set_pmd(pmdp, new_pmd); in pmd_set_huge()
/linux/include/linux/
A Dhuge_mm.h38 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd);

Completed in 30 milliseconds