Home
last modified time | relevance | path

Searched refs:kvm_read_cr0_bits (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dkvm_cache_regs.h151 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits() function
165 return !!kvm_read_cr0_bits(vcpu, cr0_bit); in kvm_is_cr0_bit_set()
170 return kvm_read_cr0_bits(vcpu, ~0UL); in kvm_read_cr0()
H A Dx86.c1014 (void)kvm_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~0x0eul) | (msw & 0x0f)); in kvm_lmsw()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c3288 old_cr0_pg = kvm_read_cr0_bits(vcpu, X86_CR0_PG); in vmx_set_cr0()
5523 trace_kvm_cr_write(0, (kvm_read_cr0_bits(vcpu, ~0xful) | val)); in handle_cr()
7627 if (kvm_read_cr0_bits(vcpu, X86_CR0_CD)) { in vmx_get_mt_mask()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c250 .cr0 = kvm_read_cr0_bits(vcpu, KVM_MMU_CR0_ROLE_BITS), in vcpu_to_role_regs()