Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/time/
Dvsyscall.c19 struct vdso_timestamp *vdso_ts; in update_vdso_data() local
32 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_REALTIME]; in update_vdso_data()
33 vdso_ts->sec = tk->xtime_sec; in update_vdso_data()
34 vdso_ts->nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
37 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data()
38 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()
44 vdso_ts->sec++; in update_vdso_data()
46 vdso_ts->nsec = nsec; in update_vdso_data()
49 sec = vdso_ts->sec; in update_vdso_data()
55 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
[all …]
/Linux-v5.4/lib/vdso/
Dgettimeofday.c44 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_hres() local
51 ns = vdso_ts->nsec; in do_hres()
58 sec = vdso_ts->sec; in do_hres()
74 const struct vdso_timestamp *vdso_ts = &vd->basetime[clk]; in do_coarse() local
79 ts->tv_sec = vdso_ts->sec; in do_coarse()
80 ts->tv_nsec = vdso_ts->nsec; in do_coarse()