Lines Matching refs:vdata

18 static inline void update_vdso_data(struct vdso_data *vdata,  in update_vdso_data()  argument
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
25 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()
28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()
34 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data()
52 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_BOOTTIME]; in update_vdso_data()
62 vdso_ts = &vdata[CS_RAW].basetime[CLOCK_MONOTONIC_RAW]; in update_vdso_data()
67 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_TAI]; in update_vdso_data()
74 struct vdso_data *vdata = __arch_get_k_vdso_data(); in update_vsyscall() local
80 vdso_write_begin(vdata); in update_vsyscall()
83 vdata[CS_HRES_COARSE].clock_mode = clock_mode; in update_vsyscall()
84 vdata[CS_RAW].clock_mode = clock_mode; in update_vsyscall()
87 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_REALTIME]; in update_vsyscall()
92 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_REALTIME_COARSE]; in update_vsyscall()
97 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC_COARSE]; in update_vsyscall()
107 WRITE_ONCE(vdata[CS_HRES_COARSE].hrtimer_res, hrtimer_resolution); in update_vsyscall()
114 update_vdso_data(vdata, tk); in update_vsyscall()
116 __arch_update_vsyscall(vdata, tk); in update_vsyscall()
118 vdso_write_end(vdata); in update_vsyscall()
120 __arch_sync_vdso_data(vdata); in update_vsyscall()
125 struct vdso_data *vdata = __arch_get_k_vdso_data(); in update_vsyscall_tz() local
127 vdata[CS_HRES_COARSE].tz_minuteswest = sys_tz.tz_minuteswest; in update_vsyscall_tz()
128 vdata[CS_HRES_COARSE].tz_dsttime = sys_tz.tz_dsttime; in update_vsyscall_tz()
130 __arch_sync_vdso_data(vdata); in update_vsyscall_tz()
147 struct vdso_data *vdata = __arch_get_k_vdso_data(); in vdso_update_begin() local
151 vdso_write_begin(vdata); in vdso_update_begin()
165 struct vdso_data *vdata = __arch_get_k_vdso_data(); in vdso_update_end() local
167 vdso_write_end(vdata); in vdso_update_end()
168 __arch_sync_vdso_data(vdata); in vdso_update_end()