Searched refs:new_pgd (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/arch/arm/mm/ |
D | pgd.c | 32 pgd_t *new_pgd, *init_pgd; in pgd_alloc() local 38 new_pgd = __pgd_alloc(); in pgd_alloc() 39 if (!new_pgd) in pgd_alloc() 42 memset(new_pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 48 memcpy(new_pgd + USER_PTRS_PER_PGD, init_pgd + USER_PTRS_PER_PGD, in pgd_alloc() 51 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 57 new_p4d = p4d_alloc(mm, new_pgd + pgd_index(MODULES_VADDR), in pgd_alloc() 91 new_p4d = p4d_alloc(mm, new_pgd, 0); in pgd_alloc() 127 return new_pgd; in pgd_alloc() 137 __pgd_free(new_pgd); in pgd_alloc()
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | sun3_pgalloc.h | 44 pgd_t *new_pgd; in pgd_alloc() local 46 new_pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in pgd_alloc() 47 memcpy(new_pgd, swapper_pg_dir, PAGE_SIZE); in pgd_alloc() 48 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT)); in pgd_alloc() 49 return new_pgd; in pgd_alloc()
|
D | mcf_pgalloc.h | 83 pgd_t *new_pgd; in pgd_alloc() local 85 new_pgd = (pgd_t *)__get_free_page(GFP_DMA | __GFP_NOWARN); in pgd_alloc() 86 if (!new_pgd) in pgd_alloc() 88 memcpy(new_pgd, swapper_pg_dir, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc() 89 memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT); in pgd_alloc() 90 return new_pgd; in pgd_alloc()
|
/linux-6.1.9/arch/x86/power/ |
D | hibernate_64.c | 74 pgd_t new_pgd = __pgd(__pa(p4d) | pgprot_val(pgtable_prot)); in set_up_temporary_text_mapping() local 77 set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); in set_up_temporary_text_mapping() 80 pgd_t new_pgd = __pgd(__pa(pud) | pgprot_val(pgtable_prot)); in set_up_temporary_text_mapping() local 81 set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); in set_up_temporary_text_mapping()
|
/linux-6.1.9/arch/x86/kvm/mmu/ |
D | mmu.c | 4379 gpa_t new_pgd, in cached_root_find_and_keep_current() argument 4384 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4397 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4413 gpa_t new_pgd, in cached_root_find_without_current() argument 4419 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current() 4434 gpa_t new_pgd, union kvm_mmu_page_role new_role) in fast_pgd_switch() argument 4445 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4447 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4450 void kvm_mmu_new_pgd(struct kvm_vcpu *vcpu, gpa_t new_pgd) in kvm_mmu_new_pgd() argument 4455 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_role)) { in kvm_mmu_new_pgd()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | kvm_host.h | 1947 void kvm_mmu_new_pgd(struct kvm_vcpu *vcpu, gpa_t new_pgd);
|