• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/time/

Lines Matching refs:xtime

38 	/* Clock shifted nano seconds remainder not stored in xtime.tv_nsec. */
136 * playing with xtime.
143 * wall_to_monotonic is what we need to add to xtime (or xtime corrected
156 struct timespec xtime __attribute__ ((aligned (16)));
160 EXPORT_SYMBOL(xtime);
174 xtime.tv_sec += leapsecond;
176 update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
204 timespec_add_ns(&xtime, nsec);
226 *ts = xtime;
248 secs = xtime.tv_sec + wall_to_monotonic.tv_sec;
249 nsecs = xtime.tv_nsec + wall_to_monotonic.tv_nsec;
279 *ts = xtime;
324 ts_delta.tv_sec = tv->tv_sec - xtime.tv_sec;
325 ts_delta.tv_nsec = tv->tv_nsec - xtime.tv_nsec;
328 xtime = *tv;
333 update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
482 xtime.tv_sec = now.tv_sec;
483 xtime.tv_nsec = now.tv_nsec;
487 boot.tv_sec = xtime.tv_sec;
488 boot.tv_nsec = xtime.tv_nsec;
505 * xtime/wall_to_monotonic/jiffies/etc are
521 xtime = timespec_add(xtime, ts);
691 xtime.tv_sec++;
736 timekeeper.xtime_nsec = (s64)xtime.tv_nsec << timekeeper.shift;
762 * in xtime_nsec over a second into xtime.tv_sec, its possible for
784 * Store full nanoseconds into xtime after rounding it up and
787 xtime.tv_nsec = ((s64) timekeeper.xtime_nsec >> timekeeper.shift) + 1;
788 timekeeper.xtime_nsec -= (s64) xtime.tv_nsec << timekeeper.shift;
794 * xtime.tv_nsec isn't larger then NSEC_PER_SEC
796 if (unlikely(xtime.tv_nsec >= NSEC_PER_SEC)) {
797 xtime.tv_nsec -= NSEC_PER_SEC;
798 xtime.tv_sec++;
803 update_vsyscall(&xtime, &wall_to_monotonic, timekeeper.clock,
841 return xtime.tv_sec;
847 return xtime;
863 now = xtime;
878 now = xtime;