Home
last modified time | relevance | path

Searched refs:vmcs12 (Results 1 – 12 of 12) sorted by relevance

/arch/x86/kvm/vmx/
A Dnested.h156 static inline bool nested_cpu_has(struct vmcs12 *vmcs12, u32 bit) in nested_cpu_has() argument
161 static inline bool nested_cpu_has2(struct vmcs12 *vmcs12, u32 bit) in nested_cpu_has2() argument
174 static inline bool nested_cpu_has_nmi_exiting(struct vmcs12 *vmcs12) in nested_cpu_has_nmi_exiting() argument
184 static inline int nested_cpu_has_mtf(struct vmcs12 *vmcs12) in nested_cpu_has_mtf() argument
189 static inline int nested_cpu_has_ept(struct vmcs12 *vmcs12) in nested_cpu_has_ept() argument
194 static inline bool nested_cpu_has_xsaves(struct vmcs12 *vmcs12) in nested_cpu_has_xsaves() argument
199 static inline bool nested_cpu_has_pml(struct vmcs12 *vmcs12) in nested_cpu_has_pml() argument
209 static inline bool nested_cpu_has_vpid(struct vmcs12 *vmcs12) in nested_cpu_has_vpid() argument
219 static inline bool nested_cpu_has_vid(struct vmcs12 *vmcs12) in nested_cpu_has_vid() argument
229 static inline bool nested_cpu_has_vmfunc(struct vmcs12 *vmcs12) in nested_cpu_has_vmfunc() argument
[all …]
A Dnested.c538 struct vmcs12 *vmcs12) in nested_vmx_check_msr_bitmap_controls() argument
550 struct vmcs12 *vmcs12) in nested_vmx_check_tpr_shadow_controls() argument
622 struct vmcs12 *vmcs12) in nested_vmx_prepare_msr_bitmap() argument
780 struct vmcs12 *vmcs12) in nested_vmx_check_apic_access_controls() argument
891 struct vmcs12 *vmcs12) in nested_vmx_check_pml_controls() argument
3445 struct vmcs12 *vmcs12; in nested_vmx_write_pml_buffer() local
3678 struct vmcs12 *vmcs12; in nested_vmx_run() local
6106 struct vmcs12 *vmcs12; in handle_vmfunc() local
6254 struct vmcs12 *vmcs12) in nested_vmx_exit_handled_cr() argument
6647 struct vmcs12 *vmcs12; in vmx_get_nested_state() local
[all …]
A Dhyperv.c162 int nested_evmcs_check_controls(struct vmcs12 *vmcs12) in nested_evmcs_check_controls() argument
165 vmcs12->pin_based_vm_exec_control))) in nested_evmcs_check_controls()
169 vmcs12->cpu_based_vm_exec_control))) in nested_evmcs_check_controls()
173 vmcs12->secondary_vm_exec_control))) in nested_evmcs_check_controls()
177 vmcs12->vm_exit_controls))) in nested_evmcs_check_controls()
181 vmcs12->vm_entry_controls))) in nested_evmcs_check_controls()
189 if (WARN_ON_ONCE(vmcs12->vm_function_control >> 32)) in nested_evmcs_check_controls()
193 vmcs12->vm_function_control))) in nested_evmcs_check_controls()
A Dsgx.h18 void vmx_write_encls_bitmap(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12);
26 struct vmcs12 *vmcs12) in vmx_write_encls_bitmap() argument
A Dvmcs12.h27 struct __packed vmcs12 { struct
214 ASSERT_STRUCT_OFFSET(struct vmcs12, field, loc)
387 static inline u64 vmcs12_read_any(struct vmcs12 *vmcs12, unsigned long field, in vmcs12_read_any() argument
390 char *p = (char *)vmcs12 + offset; in vmcs12_read_any()
407 static inline void vmcs12_write_any(struct vmcs12 *vmcs12, unsigned long field, in vmcs12_write_any() argument
410 char *p = (char *)vmcs12 + offset; in vmcs12_write_any()
A Dhyperv.h60 int nested_evmcs_check_controls(struct vmcs12 *vmcs12);
A Dsgx.c468 void vmx_write_encls_bitmap(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in vmx_write_encls_bitmap() argument
504 if (!vmcs12 && is_guest_mode(vcpu)) in vmx_write_encls_bitmap()
505 vmcs12 = get_vmcs12(vcpu); in vmx_write_encls_bitmap()
506 if (vmcs12 && nested_cpu_has_encls_exit(vmcs12)) in vmx_write_encls_bitmap()
507 bitmap |= vmcs12->encls_exiting_bitmap; in vmx_write_encls_bitmap()
A Dvmx.c1727 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_emulated_instruction() local
1877 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_offset() local
1880 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset()
1887 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_multiplier() local
5328 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr0() local
5340 (vmcs12->guest_cr0 & vmcs12->cr0_guest_host_mask); in handle_set_cr0()
5354 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr4() local
5359 (vmcs12->guest_cr4 & vmcs12->cr4_guest_host_mask); in handle_set_cr4()
6621 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_cr8_intercept() local
7893 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_is_io_intercepted() local
[all …]
A Dvmx.h87 struct vmcs12 *cached_vmcs12;
93 struct vmcs12 *cached_shadow_vmcs12;
A Dvmcs12.c6 #define VMCS12_OFFSET(x) offsetof(struct vmcs12, x)
/arch/x86/kvm/
A DMakefile17 kvm-intel-y += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o \
/arch/x86/include/uapi/asm/
A Dkvm.h473 __u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE]; member

Completed in 60 milliseconds