Home
last modified time | relevance | path

Searched refs:new_pgd (Results 1 – 5 of 5) sorted by relevance

/linux/arch/m68k/include/asm/
H A Dsun3_pgalloc.h41 pgd_t *new_pgd; in pgd_alloc() local
43 new_pgd = __pgd_alloc(mm, 0); in pgd_alloc()
44 if (likely(new_pgd != NULL)) { in pgd_alloc()
45 memcpy(new_pgd, swapper_pg_dir, PAGE_SIZE); in pgd_alloc()
46 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT)); in pgd_alloc()
48 return new_pgd; in pgd_alloc()
H A Dmcf_pgalloc.h85 pgd_t *new_pgd; in pgd_alloc() local
92 new_pgd = ptdesc_address(ptdesc); in pgd_alloc()
94 memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
95 memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT); in pgd_alloc()
96 return new_pgd; in pgd_alloc()
/linux/arch/arm/mm/
H A Dpgd.c32 pgd_t *new_pgd, *init_pgd; in pgd_alloc() local
38 new_pgd = _pgd_alloc(mm); in pgd_alloc()
39 if (!new_pgd) in pgd_alloc()
46 memcpy(new_pgd + USER_PTRS_PER_PGD, init_pgd + USER_PTRS_PER_PGD, in pgd_alloc()
49 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()
55 new_p4d = p4d_alloc(mm, new_pgd + pgd_index(MODULES_VADDR), in pgd_alloc()
89 new_p4d = p4d_alloc(mm, new_pgd, 0); in pgd_alloc()
125 return new_pgd; in pgd_alloc()
135 _pgd_free(mm, new_pgd); in pgd_alloc()
/linux/arch/x86/kvm/mmu/
H A Dmmu.c5175 gpa_t new_pgd, in cached_root_find_and_keep_current()
5180 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current()
5193 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_without_current()
5209 gpa_t new_pgd, in cached_root_find_without_current()
5215 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in fast_pgd_switch()
5230 gpa_t new_pgd, union kvm_mmu_page_role new_role) in kvm_mmu_new_pgd()
5240 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in kvm_mmu_new_pgd()
5242 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in kvm_mmu_new_pgd()
5245 void kvm_mmu_new_pgd(struct kvm_vcpu *vcpu, gpa_t new_pgd) in kvm_mmu_new_pgd()
5254 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_rol in kvm_mmu_new_pgd()
5158 cached_root_find_and_keep_current(struct kvm * kvm,struct kvm_mmu * mmu,gpa_t new_pgd,union kvm_mmu_page_role new_role) cached_root_find_and_keep_current() argument
5192 cached_root_find_without_current(struct kvm * kvm,struct kvm_mmu * mmu,gpa_t new_pgd,union kvm_mmu_page_role new_role) cached_root_find_without_current() argument
5213 fast_pgd_switch(struct kvm * kvm,struct kvm_mmu * mmu,gpa_t new_pgd,union kvm_mmu_page_role new_role) fast_pgd_switch() argument
5228 kvm_mmu_new_pgd(struct kvm_vcpu * vcpu,gpa_t new_pgd) kvm_mmu_new_pgd() argument
[all...]
/linux/arch/x86/include/asm/
H A Dkvm_host.h2391 void kvm_mmu_new_pgd(struct kvm_vcpu *vcpu, gpa_t new_pgd);