Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/sparc/kernel/
A Dvdso.c32 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall()
33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall()
35 vdata->clock.mult = tk->tkr_mono.mult; in update_vsyscall()
36 vdata->clock.shift = tk->tkr_mono.shift; in update_vsyscall()
39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
43 vdata->monotonic_time_snsec = tk->tkr_mono.xtime_nsec + in update_vsyscall()
45 tk->tkr_mono.shift); in update_vsyscall()
48 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()
50 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall()
[all …]
/linux-6.3-rc2/kernel/time/
A Dvsyscall.c25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()
26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()
27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()
37 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
40 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_data()
56 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_data()
69 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
82 clock_mode = tk->tkr_mono.clock->vdso_clock_mode; in update_vsyscall()
89 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
94 vdso_ts->nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in update_vsyscall()
[all …]
A Dtimekeeping.c141 tk->tkr_mono.xtime_nsec = (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_set_xtime()
147 tk->tkr_mono.xtime_nsec += (u64)ts->tv_nsec << tk->tkr_mono.shift; in tk_xtime_add()
319 tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); in tk_setup_internals()
747 nsec += (u32)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_update_ktime_data()
770 tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; in timekeeping_update()
803 tk->tkr_mono.xtime_nsec += delta * tk->tkr_mono.mult; in timekeeping_forward_now()
866 nsecs = tk->tkr_mono.mult >> tk->tkr_mono.shift; in ktime_get_resolution_ns()
912 nsecs = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in ktime_get_coarse_with_offset()
2030 (abs(tk->tkr_mono.mult - tk->tkr_mono.clock->mult) in timekeeping_adjust()
2034 tk->tkr_mono.clock->name, (long)tk->tkr_mono.mult, in timekeeping_adjust()
[all …]
/linux-6.3-rc2/arch/ia64/kernel/
A Dtime.c438 fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; in update_vsyscall()
439 fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; in update_vsyscall()
440 fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; in update_vsyscall()
441 fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; in update_vsyscall()
442 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
445 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
449 fsyscall_gtod_data.monotonic_time.snsec = tk->tkr_mono.xtime_nsec in update_vsyscall()
451 << tk->tkr_mono.shift); in update_vsyscall()
455 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()
457 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall()
/linux-6.3-rc2/include/linux/
A Dtimekeeper_internal.h93 struct tk_read_base tkr_mono; member
/linux-6.3-rc2/arch/x86/xen/
A Dtime.c110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/linux-6.3-rc2/arch/arm/xen/
A Denlighten.c110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/linux-6.3-rc2/arch/x86/kvm/
A Dx86.c2228 vdata->clock.vclock_mode = tk->tkr_mono.clock->vdso_clock_mode; in update_pvclock_gtod()
2229 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2230 vdata->clock.mask = tk->tkr_mono.mask; in update_pvclock_gtod()
2231 vdata->clock.mult = tk->tkr_mono.mult; in update_pvclock_gtod()
2232 vdata->clock.shift = tk->tkr_mono.shift; in update_pvclock_gtod()
2233 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec; in update_pvclock_gtod()
2234 vdata->clock.offset = tk->tkr_mono.base; in update_pvclock_gtod()

Completed in 34 milliseconds