Home
last modified time | relevance | path

Searched refs:CS_HRES_COARSE (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/kernel/time/
Dvsyscall.c22 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
23 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()
24 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()
25 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()
32 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_REALTIME]; in update_vdso_data()
37 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data()
55 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
70 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_TAI]; in update_vdso_data()
78 WRITE_ONCE(vdata[CS_HRES_COARSE].hrtimer_res, hrtimer_resolution); in update_vdso_data()
98 vdata[CS_HRES_COARSE].clock_mode = __arch_get_clock_mode(tk); in update_vsyscall()
[all …]
/Linux-v5.4/include/vdso/
Dhelpers.h37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_begin()
50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_end()
Ddatapage.h20 #define CS_HRES_COARSE 0 macro
/Linux-v5.4/lib/vdso/
Dgettimeofday.c100 return do_hres(&vd[CS_HRES_COARSE], clock, ts); in __cvdso_clock_gettime_common()
102 do_coarse(&vd[CS_HRES_COARSE], clock, ts); in __cvdso_clock_gettime_common()
151 if (do_hres(&vd[CS_HRES_COARSE], CLOCK_REALTIME, &ts)) in __cvdso_gettimeofday()
159 tz->tz_minuteswest = vd[CS_HRES_COARSE].tz_minuteswest; in __cvdso_gettimeofday()
160 tz->tz_dsttime = vd[CS_HRES_COARSE].tz_dsttime; in __cvdso_gettimeofday()
170 time_t t = READ_ONCE(vd[CS_HRES_COARSE].basetime[CLOCK_REALTIME].sec); in __cvdso_time()
192 hrtimer_res = READ_ONCE(vd[CS_HRES_COARSE].hrtimer_res); in __cvdso_clock_getres_common()
/Linux-v5.4/arch/arm64/include/asm/vdso/
Dvsyscall.h36 vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()