Lines Matching refs:vmcs12

1647 	struct vmcs12 *vmcs12 = get_vmcs12(vcpu);  in vmx_update_emulated_instruction()  local
1664 if (nested_cpu_has_mtf(vmcs12) && in vmx_update_emulated_instruction()
1797 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_offset() local
1799 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING)) in vmx_get_l2_tsc_offset()
1800 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset()
1807 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_multiplier() local
1809 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING) && in vmx_get_l2_tsc_multiplier()
1810 nested_cpu_has2(vmcs12, SECONDARY_EXEC_TSC_SCALING)) in vmx_get_l2_tsc_multiplier()
1811 return vmcs12->tsc_multiplier; in vmx_get_l2_tsc_multiplier()
5264 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr0() local
5275 val = (val & ~vmcs12->cr0_guest_host_mask) | in handle_set_cr0()
5276 (vmcs12->guest_cr0 & vmcs12->cr0_guest_host_mask); in handle_set_cr0()
5297 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr4() local
5301 val = (val & ~vmcs12->cr4_guest_host_mask) | in handle_set_cr4()
5302 (vmcs12->guest_cr4 & vmcs12->cr4_guest_host_mask); in handle_set_cr4()
6549 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_cr8_intercept() local
6553 nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) in vmx_update_cr8_intercept()
7725 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_check_intercept_io() local
7746 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) in vmx_check_intercept_io()
7747 intercept = nested_cpu_has(vmcs12, in vmx_check_intercept_io()
7761 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_check_intercept() local
7770 if (!nested_cpu_has2(vmcs12, SECONDARY_EXEC_ENABLE_RDTSCP)) { in vmx_check_intercept()
7791 if (!nested_cpu_has2(vmcs12, SECONDARY_EXEC_DESC)) in vmx_check_intercept()