Searched refs:g_tsc_offset (Results 1 – 2 of 2) sorted by relevance
1068 u64 g_tsc_offset = 0; in svm_write_l1_tsc_offset() local1072 g_tsc_offset = svm->vmcb->control.tsc_offset - in svm_write_l1_tsc_offset()1078 svm->vmcb->control.tsc_offset - g_tsc_offset, in svm_write_l1_tsc_offset()1081 svm->vmcb->control.tsc_offset = offset + g_tsc_offset; in svm_write_l1_tsc_offset()
1738 u64 g_tsc_offset = 0; in vmx_write_l1_tsc_offset() local1748 g_tsc_offset = vmcs12->tsc_offset; in vmx_write_l1_tsc_offset()1751 vcpu->arch.tsc_offset - g_tsc_offset, in vmx_write_l1_tsc_offset()1753 vmcs_write64(TSC_OFFSET, offset + g_tsc_offset); in vmx_write_l1_tsc_offset()1754 return offset + g_tsc_offset; in vmx_write_l1_tsc_offset()