Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/time/
Dvsyscall.c21 struct vdso_timestamp *vdso_ts; in update_vdso_data() local
34 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data()
35 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()
41 vdso_ts->sec++; in update_vdso_data()
43 vdso_ts->nsec = nsec; in update_vdso_data()
46 sec = vdso_ts->sec; in update_vdso_data()
52 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
53 vdso_ts->sec = sec; in update_vdso_data()
57 vdso_ts->sec++; in update_vdso_data()
59 vdso_ts->nsec = nsec; in update_vdso_data()
[all …]
/linux-6.1.9/lib/vdso/
Dgettimeofday.c54 const struct vdso_timestamp *vdso_ts; in do_hres_timens() local
65 vdso_ts = &vd->basetime[clk]; in do_hres_timens()
76 ns = vdso_ts->nsec; in do_hres_timens()
80 sec = vdso_ts->sec; in do_hres_timens()
113 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_hres() local
147 ns = vdso_ts->nsec; in do_hres()
151 sec = vdso_ts->sec; in do_hres()
169 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_coarse_timens() local
177 sec = vdso_ts->sec; in do_coarse_timens()
178 nsec = vdso_ts->nsec; in do_coarse_timens()
[all …]