Searched refs:pgd_sz (Results 1 – 2 of 2) sorted by relevance
127 size_t pgd_sz, hyp_vm_sz, hyp_vcpu_sz; in __pkvm_create_hyp_vm() local137 pgd_sz = kvm_pgtable_stage2_pgd_size(host_kvm->arch.mmu.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()
1531 size_t pgd_sz; in __kvm_pgtable_stage2_init() local1537 pgd_sz = kvm_pgd_pages(ia_bits, start_level) * PAGE_SIZE; in __kvm_pgtable_stage2_init()1538 pgt->pgd = (kvm_pteref_t)mm_ops->zalloc_pages_exact(pgd_sz); in __kvm_pgtable_stage2_init()1581 size_t pgd_sz; in kvm_pgtable_stage2_destroy() local1589 pgd_sz = kvm_pgd_pages(pgt->ia_bits, pgt->start_level) * PAGE_SIZE; in kvm_pgtable_stage2_destroy()1590 pgt->mm_ops->free_pages_exact(kvm_dereference_pteref(&walker, pgt->pgd), pgd_sz); in kvm_pgtable_stage2_destroy()