Lines Matching refs:vmcs12
1717 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_emulated_instruction() local
1734 if (nested_cpu_has_mtf(vmcs12) && in vmx_update_emulated_instruction()
1867 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_offset() local
1869 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING)) in vmx_get_l2_tsc_offset()
1870 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset()
1877 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_get_l2_tsc_multiplier() local
1879 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING) && in vmx_get_l2_tsc_multiplier()
1880 nested_cpu_has2(vmcs12, SECONDARY_EXEC_TSC_SCALING)) in vmx_get_l2_tsc_multiplier()
1881 return vmcs12->tsc_multiplier; in vmx_get_l2_tsc_multiplier()
5383 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr0() local
5394 val = (val & ~vmcs12->cr0_guest_host_mask) | in handle_set_cr0()
5395 (vmcs12->guest_cr0 & vmcs12->cr0_guest_host_mask); in handle_set_cr0()
5416 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in handle_set_cr4() local
5420 val = (val & ~vmcs12->cr4_guest_host_mask) | in handle_set_cr4()
5421 (vmcs12->guest_cr4 & vmcs12->cr4_guest_host_mask); in handle_set_cr4()
6668 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_update_cr8_intercept() local
6672 nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) in vmx_update_cr8_intercept()
7849 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_check_intercept_io() local
7870 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) in vmx_check_intercept_io()
7871 intercept = nested_cpu_has(vmcs12, in vmx_check_intercept_io()
7885 struct vmcs12 *vmcs12 = get_vmcs12(vcpu); in vmx_check_intercept() local
7894 if (!nested_cpu_has2(vmcs12, SECONDARY_EXEC_ENABLE_RDTSCP)) { in vmx_check_intercept()
7915 if (!nested_cpu_has2(vmcs12, SECONDARY_EXEC_DESC)) in vmx_check_intercept()