Home
last modified time | relevance | path

Searched refs:__vcpu (Results 1 – 5 of 5) sorted by relevance

/arch/riscv/include/uapi/asm/
Dkvm.h270 #define KVM_DEV_RISCV_AIA_ADDR_IMSIC(__vcpu) (1 + (__vcpu)) argument
292 #define KVM_DEV_RISCV_AIA_IMSIC_MKATTR(__vcpu, __isel) \ argument
293 (((__vcpu) << KVM_DEV_RISCV_AIA_IMSIC_ISEL_BITS) | \
/arch/s390/kvm/
Dgaccess.h122 struct kvm_vcpu *__vcpu = (vcpu); \
127 __gpa += kvm_s390_get_prefix(__vcpu); \
128 kvm_write_guest(__vcpu->kvm, __gpa, &__x, sizeof(__x)); \
/arch/arm64/include/asm/
Dkvm_host.h1017 #define vcpu_read_sys_reg(__vcpu, reg) \ argument
1023 vcpu_get_flag(__vcpu, SYSREGS_ON_CPU) && \
1027 ctxt_sys_reg(&__vcpu->arch.ctxt, reg); \
1030 #define vcpu_write_sys_reg(__vcpu, __val, reg) \ argument
1034 !vcpu_get_flag(__vcpu, SYSREGS_ON_CPU) || \
1036 ctxt_sys_reg(&__vcpu->arch.ctxt, reg) = __val; \
/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c917 DECLARE_REG(struct kvm_vcpu *, __vcpu, ctxt, regnr); \
918 __get_host_hyp_vcpus(__vcpu, hyp_vcpup); \
924 struct kvm_vcpu *__vcpu = container_of(cif, \
928 __get_host_hyp_vcpus(__vcpu, hyp_vcpup); \
/arch/x86/kvm/vmx/
Dvmx.c4576 struct kvm_vcpu *__vcpu = &(vmx)->vcpu; \
4581 __enabled = guest_can_use(__vcpu, X86_FEATURE_##feat_name); \
4583 __enabled = guest_cpuid_has(__vcpu, X86_FEATURE_##feat_name); \