Home
last modified time | relevance | path

Searched refs:lname (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kvm/vmx/
Dvmx.h582 #define BUILD_CONTROLS_SHADOW(lname, uname, bits) \ argument
583 static inline void lname##_controls_set(struct vcpu_vmx *vmx, u##bits val) \
585 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \
587 vmx->loaded_vmcs->controls_shadow.lname = val; \
590 static inline u##bits __##lname##_controls_get(struct loaded_vmcs *vmcs) \
592 return vmcs->controls_shadow.lname; \
594 static inline u##bits lname##_controls_get(struct vcpu_vmx *vmx) \
596 return __##lname##_controls_get(vmx->loaded_vmcs); \
598 static __always_inline void lname##_controls_setbit(struct vcpu_vmx *vmx, u##bits val) \
601 lname##_controls_set(vmx, lname##_controls_get(vmx) | val); \
[all …]
Dvmx.c4590 #define vmx_adjust_sec_exec_feature(vmx, exec_control, lname, uname) \ argument
4591 vmx_adjust_sec_exec_control(vmx, exec_control, lname, uname, ENABLE_##uname, false)
4593 #define vmx_adjust_sec_exec_exiting(vmx, exec_control, lname, uname) \ argument
4594 vmx_adjust_sec_exec_control(vmx, exec_control, lname, uname, uname##_EXITING, true)
/arch/x86/kvm/
Dkvm_cache_regs.h18 #define BUILD_KVM_GPR_ACCESSORS(lname, uname) \ argument
19 static __always_inline unsigned long kvm_##lname##_read(struct kvm_vcpu *vcpu)\
23 static __always_inline void kvm_##lname##_write(struct kvm_vcpu *vcpu, \