Home
last modified time | relevance | path

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

/arch/arm64/kvm/
Dhypercalls.c30 struct system_time_snapshot systime_snapshot; in kvm_ptp_get_time() local
38 ktime_get_snapshot(&systime_snapshot); in kvm_ptp_get_time()
45 if (systime_snapshot.cs_id != CSID_ARM_ARCH_COUNTER) in kvm_ptp_get_time()
56 cycles = systime_snapshot.cycles - vcpu->kvm->arch.timer_data.voffset; in kvm_ptp_get_time()
59 cycles = systime_snapshot.cycles - vcpu->kvm->arch.timer_data.poffset; in kvm_ptp_get_time()
71 val[0] = upper_32_bits(systime_snapshot.real); in kvm_ptp_get_time()
72 val[1] = lower_32_bits(systime_snapshot.real); in kvm_ptp_get_time()