Searched refs:epoch_usec (Results 1 – 1 of 1) sorted by relevance
137 usec_t epoch_usec, now_usec; in clock_apply_epoch() local149 epoch_usec = (usec_t) TIME_EPOCH * USEC_PER_SEC; in clock_apply_epoch()151 epoch_usec = timespec_load(&st.st_mtim); in clock_apply_epoch()154 if (now_usec < epoch_usec) in clock_apply_epoch()156 else if (now_usec > usec_add(epoch_usec, CLOCK_VALID_RANGE_USEC_MAX)) in clock_apply_epoch()163 if (clock_settime(CLOCK_REALTIME, TIMESPEC_STORE(epoch_usec)) < 0) in clock_apply_epoch()