Home
last modified time | relevance | path

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

/kernel/time/
Dntp.c544 struct timespec64 *to_set, in rtc_tv_nsec_ok() argument
552 *to_set = timespec64_add(*now, delay); in rtc_tv_nsec_ok()
554 if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) { in rtc_tv_nsec_ok()
555 to_set->tv_nsec = 0; in rtc_tv_nsec_ok()
559 if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) { in rtc_tv_nsec_ok()
560 to_set->tv_sec++; in rtc_tv_nsec_ok()
561 to_set->tv_nsec = 0; in rtc_tv_nsec_ok()
581 static int update_rtc(struct timespec64 *to_set, unsigned long *offset_nsec) in update_rtc() argument
596 rtc_time64_to_tm(to_set->tv_sec, &tm); in update_rtc()
608 static inline int update_rtc(struct timespec64 *to_set, unsigned long *offset_nsec) in update_rtc() argument
[all …]