Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/
H A Dx86.c2559 u64 kvm_calc_nested_tsc_offset(u64 l1_offset, u64 l2_offset, u64 l2_multiplier) in kvm_calc_nested_tsc_offset() argument
2563 if (l2_multiplier == kvm_caps.default_tsc_scaling_ratio) in kvm_calc_nested_tsc_offset()
2566 nested_offset = mul_s64_u64_shr((s64) l1_offset, l2_multiplier, in kvm_calc_nested_tsc_offset()
2574 u64 kvm_calc_nested_tsc_multiplier(u64 l1_multiplier, u64 l2_multiplier) in kvm_calc_nested_tsc_multiplier() argument
2576 if (l2_multiplier != kvm_caps.default_tsc_scaling_ratio) in kvm_calc_nested_tsc_multiplier()
2577 return mul_u64_u64_shr(l1_multiplier, l2_multiplier, in kvm_calc_nested_tsc_multiplier()