Searched refs:systime_snapshot (Results 1 – 3 of 3) sorted by relevance
14 struct system_time_snapshot systime_snapshot; in kvm_ptp_get_time() local22 ktime_get_snapshot(&systime_snapshot); in kvm_ptp_get_time()29 if (systime_snapshot.cs_id != CSID_ARM_ARCH_COUNTER) in kvm_ptp_get_time()40 cycles = systime_snapshot.cycles - vcpu_read_sys_reg(vcpu, CNTVOFF_EL2); in kvm_ptp_get_time()43 cycles = systime_snapshot.cycles; in kvm_ptp_get_time()55 val[0] = upper_32_bits(systime_snapshot.real); in kvm_ptp_get_time()56 val[1] = lower_32_bits(systime_snapshot.real); in kvm_ptp_get_time()
1036 void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot) in ktime_get_snapshot() argument1051 systime_snapshot->cs_id = tk->tkr_mono.clock->id; in ktime_get_snapshot()1052 systime_snapshot->cs_was_changed_seq = tk->cs_was_changed_seq; in ktime_get_snapshot()1053 systime_snapshot->clock_was_set_seq = tk->clock_was_set_seq; in ktime_get_snapshot()1061 systime_snapshot->cycles = now; in ktime_get_snapshot()1062 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot()1063 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot()
294 extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot);
Completed in 14 milliseconds