Lines Matching refs:timespec
156 struct timespec xtime __attribute__ ((aligned (16)));
157 static struct timespec wall_to_monotonic __attribute__ ((aligned (16)));
158 static struct timespec total_sleep_time;
166 struct timespec raw_time;
211 * getnstimeofday - Returns the time of day in a timespec
212 * @ts: pointer to the timespec to be set
214 * Returns the time of day in a timespec.
216 void getnstimeofday(struct timespec *ts)
262 * ktime_get_ts - get the monotonic clock in timespec format
263 * @ts: pointer to timespec variable
267 * in normalized timespec format in the variable pointed to by @ts.
269 void ktime_get_ts(struct timespec *ts)
271 struct timespec tomono;
298 struct timespec now;
308 * @tv: pointer to the timespec variable containing the new time
312 int do_settimeofday(struct timespec *tv)
314 struct timespec ts_delta;
389 struct timespec now;
398 * getrawmonotonic - Returns the raw monotonic time in a timespec
399 * @ts: pointer to the timespec to be set
403 void getrawmonotonic(struct timespec *ts)
449 void __attribute__((weak)) read_persistent_clock(struct timespec *ts)
455 void __attribute__((weak)) read_boot_clock(struct timespec *ts)
468 struct timespec now, boot;
498 static struct timespec timekeeping_suspend_time;
511 struct timespec ts;
809 * @ts: pointer to the timespec to be set
811 * Returns the time of day in a timespec.
818 void getboottime(struct timespec *ts)
820 struct timespec boottime = {
831 * @ts: pointer to the timespec to be converted
833 void monotonic_to_bootbased(struct timespec *ts)
845 struct timespec __current_kernel_time(void)
850 struct timespec __get_wall_to_monotonic(void)
855 struct timespec current_kernel_time(void)
857 struct timespec now;
870 struct timespec get_monotonic_coarse(void)
872 struct timespec now, mono;