Home
last modified time | relevance | path

Searched refs:pgd_sz (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/arm64/kvm/
Dpkvm.c127 size_t pgd_sz, hyp_vm_sz, hyp_vcpu_sz; in __pkvm_create_hyp_vm() local
137 pgd_sz = kvm_pgtable_stage2_pgd_size(host_kvm->arch.vtcr); in __pkvm_create_hyp_vm()
144 pgd = alloc_pages_exact(pgd_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
200 free_pages_exact(pgd, pgd_sz); in __pkvm_create_hyp_vm()
/linux-6.6.21/arch/arm64/kvm/hyp/
Dpgtable.c1513 size_t pgd_sz; in __kvm_pgtable_stage2_init() local
1519 pgd_sz = kvm_pgd_pages(ia_bits, start_level) * PAGE_SIZE; in __kvm_pgtable_stage2_init()
1520 pgt->pgd = (kvm_pteref_t)mm_ops->zalloc_pages_exact(pgd_sz); in __kvm_pgtable_stage2_init()
1563 size_t pgd_sz; in kvm_pgtable_stage2_destroy() local
1571 pgd_sz = kvm_pgd_pages(pgt->ia_bits, pgt->start_level) * PAGE_SIZE; in kvm_pgtable_stage2_destroy()
1572 pgt->mm_ops->free_pages_exact(kvm_dereference_pteref(&walker, pgt->pgd), pgd_sz); in kvm_pgtable_stage2_destroy()