Searched refs:usermode (Results 1 – 6 of 6) sorted by relevance
48 static inline u32 e500_shadow_mas3_attrib(u32 mas3, int usermode) in e500_shadow_mas3_attrib() argument54 if (!usermode) { in e500_shadow_mas3_attrib()
2887 int usermode = !KVM_GUEST_KERNEL_MODE(vcpu); in kvm_mips_handle_ri() local2893 if (usermode && !(kvm_read_c0_guest_hwrena(cop0) & BIT(rd))) { in kvm_mips_handle_ri()3135 int usermode = !KVM_GUEST_KERNEL_MODE(vcpu); in kvm_mips_check_privilege() local3137 if (usermode) { in kvm_mips_check_privilege()
107 extern void kvmppc_mmu_priv_switch(struct kvm_vcpu *vcpu, int usermode);
2940 int usermode; in em_sysexit() local2951 usermode = X86EMUL_MODE_PROT64; in em_sysexit()2953 usermode = X86EMUL_MODE_PROT32; in em_sysexit()2961 switch (usermode) { in em_sysexit()2989 ctxt->mode = usermode; in em_sysexit()
10083 tr->usermode = 0; in kvm_arch_vcpu_ioctl_translate()
1063 * Hogs prevent usermode from changing the value. A GPIO can be both