Lines Matching defs:now
87 static void xen_get_wallclock(struct timespec64 *now)
89 xen_read_wallclock(now);
92 static int xen_set_wallclock(const struct timespec64 *now)
104 struct timespec64 now;
109 now.tv_sec = tk->xtime_sec;
110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift);
116 if (!was_set && timespec64_compare(&now, &next_sync) < 0)
123 op.u.settime64.secs = now.tv_sec;
124 op.u.settime64.nsecs = now.tv_nsec;
128 op.u.settime32.secs = now.tv_sec;
129 op.u.settime32.nsecs = now.tv_nsec;
147 next_sync = now;