Lines Matching refs:tv_sec
337 static time_t prev_set_tod = 0; /* tv_sec value passed to tod_set() */
677 if (hrestime.tv_sec % 86400 == 0) {
679 hrestime.tv_sec--;
686 if ((hrestime.tv_sec + 1) % 86400 == 0) {
688 hrestime.tv_sec++;
786 drift = tod.tv_sec - hrestime.tv_sec;
1210 time_reftime = hrestime.tv_sec;
1212 mtemp = hrestime.tv_sec - time_reftime;
1213 time_reftime = hrestime.tv_sec;
1365 pps_time.tv_sec++;
1382 cal_sec = tvp->tv_sec;
1384 cal_sec -= pps_time.tv_sec;
1857 if (ts.tv_sec > 365 * SECONDS_PER_DAY) {
1865 if (approx != -1 && approx > ts.tv_sec) {
1879 ts.tv_sec = (approx > diagnose_date ? approx : diagnose_date);
1891 if (tmp.tv_sec != ts.tv_sec && tmp.tv_sec != ts.tv_sec + 1) {
1903 boot_time = ts.tv_sec;
2150 prev_set_tod = ts.tv_sec < 0 ? 0 : ts.tv_sec;
2221 * value (which is actually hrestime.tv_sec in this case)
2384 tod = hrestime.tv_sec;