Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/time/
Dvsyscall.c21 struct vdso_timestamp *vdso_ts; in update_vdso_data() local
40 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data()
41 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()
47 vdso_ts->sec++; in update_vdso_data()
49 vdso_ts->nsec = nsec; in update_vdso_data()
52 sec = vdso_ts->sec; in update_vdso_data()
58 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
59 vdso_ts->sec = sec; in update_vdso_data()
63 vdso_ts->sec++; in update_vdso_data()
65 vdso_ts->nsec = nsec; in update_vdso_data()
[all …]
/linux-6.12.1/lib/vdso/
Dgettimeofday.c76 const struct vdso_timestamp *vdso_ts; in do_hres_timens() local
88 vdso_ts = &vd->basetime[clk]; in do_hres_timens()
99 ns = vdso_calc_ns(vd, cycles, vdso_ts->nsec); in do_hres_timens()
100 sec = vdso_ts->sec; in do_hres_timens()
133 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_hres() local
167 ns = vdso_calc_ns(vd, cycles, vdso_ts->nsec); in do_hres()
168 sec = vdso_ts->sec; in do_hres()
186 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_coarse_timens() local
194 sec = vdso_ts->sec; in do_coarse_timens()
195 nsec = vdso_ts->nsec; in do_coarse_timens()
[all …]