Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/arch/arm64/kvm/
H A Dhypercalls.c21 struct system_time_snapshot systime_snapshot; in kvm_ptp_get_time() local
29 ktime_get_snapshot(&systime_snapshot); in kvm_ptp_get_time()
36 if (systime_snapshot.cs_id != CSID_ARM_ARCH_COUNTER) in kvm_ptp_get_time()
47 cycles = systime_snapshot.cycles - vcpu->kvm->arch.timer_data.voffset; in kvm_ptp_get_time()
50 cycles = systime_snapshot.cycles - vcpu->kvm->arch.timer_data.poffset; in kvm_ptp_get_time()
62 val[0] = upper_32_bits(systime_snapshot.real); in kvm_ptp_get_time()
63 val[1] = lower_32_bits(systime_snapshot.real); in kvm_ptp_get_time()
/kernel/linux/linux-5.10/include/linux/
H A Dtimekeeping.h293 extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot);
/kernel/linux/linux-6.6/include/linux/
H A Dtimekeeping.h295 extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot);
/kernel/linux/linux-6.6/kernel/time/
H A Dtimekeeping.c1053 * @systime_snapshot: pointer to struct receiving the system time snapshot
1055 void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot) in ktime_get_snapshot() argument
1070 systime_snapshot->cs_id = tk->tkr_mono.clock->id; in ktime_get_snapshot()
1071 systime_snapshot->cs_was_changed_seq = tk->cs_was_changed_seq; in ktime_get_snapshot()
1072 systime_snapshot->clock_was_set_seq = tk->clock_was_set_seq; in ktime_get_snapshot()
1080 systime_snapshot->cycles = now; in ktime_get_snapshot()
1081 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot()
1082 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot()
/kernel/linux/linux-5.10/kernel/time/
H A Dtimekeeping.c1041 * @systime_snapshot: pointer to struct receiving the system time snapshot
1043 void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot) in ktime_get_snapshot() argument
1058 systime_snapshot->cs_was_changed_seq = tk->cs_was_changed_seq; in ktime_get_snapshot()
1059 systime_snapshot->clock_was_set_seq = tk->clock_was_set_seq; in ktime_get_snapshot()
1067 systime_snapshot->cycles = now; in ktime_get_snapshot()
1068 systime_snapshot->real = ktime_add_ns(base_real, nsec_real); in ktime_get_snapshot()
1069 systime_snapshot->raw = ktime_add_ns(base_raw, nsec_raw); in ktime_get_snapshot()

Completed in 10 milliseconds