Lines Matching refs:shadow_root_level
2460 iterator->level = vcpu->arch.mmu.shadow_root_level; in shadow_walk_init_using_root()
3511 if (mmu->shadow_root_level >= PT64_ROOT_4LEVEL && in kvm_mmu_free_roots()
3547 if (vcpu->arch.mmu.shadow_root_level >= PT64_ROOT_4LEVEL) { in mmu_alloc_direct_roots()
3554 vcpu->arch.mmu.shadow_root_level, 1, ACC_ALL); in mmu_alloc_direct_roots()
3558 } else if (vcpu->arch.mmu.shadow_root_level == PT32E_ROOT_LEVEL) { in mmu_alloc_direct_roots()
3609 vcpu->arch.mmu.shadow_root_level, 0, ACC_ALL); in mmu_alloc_shadow_roots()
3623 if (vcpu->arch.mmu.shadow_root_level == PT64_ROOT_4LEVEL) in mmu_alloc_shadow_roots()
3659 if (vcpu->arch.mmu.shadow_root_level == PT64_ROOT_4LEVEL) { in mmu_alloc_shadow_roots()
4112 context->shadow_root_level = PT32E_ROOT_LEVEL; in nonpaging_init_context()
4160 if (mmu->shadow_root_level >= PT64_ROOT_4LEVEL && in fast_cr3_switch()
4437 context->shadow_root_level, uses_nx, in reset_shadow_zero_bits_mask()
4444 for (i = context->shadow_root_level; --i >= 0;) { in reset_shadow_zero_bits_mask()
4474 context->shadow_root_level, false, in reset_tdp_shadow_zero_bits_mask()
4485 for (i = context->shadow_root_level; --i >= 0;) { in reset_tdp_shadow_zero_bits_mask()
4687 context->shadow_root_level = level; in paging64_init_context_common()
4716 context->shadow_root_level = PT32E_ROOT_LEVEL; in paging32_init_context()
4751 context->shadow_root_level = kvm_x86_ops->get_tdp_level(vcpu); in init_kvm_tdp_mmu()
4854 context->shadow_root_level = PT64_ROOT_4LEVEL; in kvm_init_shadow_ept_mmu()