Lines Matching defs:mmu
119 struct kvm_mmu *mmu);
131 if (likely(vcpu->arch.mmu->root.hpa != INVALID_PAGE))
161 u64 root_hpa = vcpu->arch.mmu->root.hpa;
167 vcpu->arch.mmu->root_role.level);
171 struct kvm_mmu *mmu)
175 * @mmu's snapshot of CR0.WP and thus all related paging metadata may
182 if (!tdp_enabled || mmu == &vcpu->arch.guest_mmu)
185 __kvm_mmu_refresh_passthrough_bits(vcpu, mmu);
196 static inline u8 permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
222 kvm_mmu_refresh_passthrough_bits(vcpu, mmu);
224 fault = (mmu->permissions[index] >> pte_access) & 1;
227 if (unlikely(mmu->pkru_mask)) {
241 pkru_bits &= mmu->pkru_mask >> offset;
315 struct kvm_mmu *mmu,
319 if (mmu != &vcpu->arch.nested_mmu)