Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dlapic.c1626 u64 timer_advance_ns = vcpu->arch.apic->lapic_timer.timer_advance_ns; in __wait_lapic_expire() local
1636 nsec_to_cycles(vcpu, timer_advance_ns))); in __wait_lapic_expire()
1640 ndelay(min_t(u32, delay_ns, timer_advance_ns)); in __wait_lapic_expire()
1648 u32 timer_advance_ns = apic->lapic_timer.timer_advance_ns; in adjust_lapic_timer_advance() local
1660 timer_advance_ns -= ns/LAPIC_TIMER_ADVANCE_ADJUST_STEP; in adjust_lapic_timer_advance()
1665 timer_advance_ns += ns/LAPIC_TIMER_ADVANCE_ADJUST_STEP; in adjust_lapic_timer_advance()
1668 if (unlikely(timer_advance_ns > LAPIC_TIMER_ADVANCE_NS_MAX)) in adjust_lapic_timer_advance()
1669 timer_advance_ns = LAPIC_TIMER_ADVANCE_NS_INIT; in adjust_lapic_timer_advance()
1670 apic->lapic_timer.timer_advance_ns = timer_advance_ns; in adjust_lapic_timer_advance()
1702 vcpu->arch.apic->lapic_timer.timer_advance_ns && in kvm_wait_lapic_expire()
[all …]
Dlapic.h54 u32 timer_advance_ns; member
88 int kvm_create_lapic(struct kvm_vcpu *vcpu, int timer_advance_ns);
Ddebugfs.c16 *val = vcpu->arch.apic->lapic_timer.timer_advance_ns; in vcpu_get_timer_advance_ns()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c7836 ktimer->timer_advance_ns); in vmx_set_hv_timer()