/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.c | 77 st4->st_atim = (ibcs2_time_t)st->st_atim.tv_sec; 78 st4->st_mtim = (ibcs2_time_t)st->st_mtim.tv_sec; 79 st4->st_ctim = (ibcs2_time_t)st->st_ctim.tv_sec;
|
/freebsd-11-stable/sys/dev/hyperv/utilities/ |
H A D | vmbus_timesync.c | 123 vm_ns = (vm_ts.tv_sec * NANOSEC) + vm_ts.tv_nsec; 133 hv_ts.tv_sec = hv_ns / NANOSEC; 165 hv_ts.tv_sec = hv_ns / NANOSEC;
|
/freebsd-11-stable/contrib/sendmail/libmilter/ |
H A D | libmilter.h | 160 timeout.tv_sec = now.tv_sec + to; \ 176 # define MI_MS(timeout) (((timeout)->tv_sec * 1000) + (((timeout)->tv_usec) / 1000))
|
/freebsd-11-stable/usr.bin/find/ |
H A D | function.c | 241 ++((p)->t_data.tv_sec); 258 60 - 1) / 60, plan->t_data.tv_sec); 261 60 - 1) / 60, plan->t_data.tv_sec); 264 60 - 1) / 60, plan->t_data.tv_sec); 267 60 - 1) / 60, plan->t_data.tv_sec); 281 new->t_data.tv_sec = find_parsenum(new, option->name, nmins, NULL); 313 COMPARE(now - xtime, plan->t_data.tv_sec); 315 COMPARE((now - xtime + 86400 - 1) / 86400, plan->t_data.tv_sec); 328 new->t_data.tv_sec = find_parsetime(new, option->name, value); 1191 return (ft.tv_sec > pla [all...] |
/freebsd-11-stable/sys/fs/udf/ |
H A D | udf_vnops.c | 227 t->tv_sec = 0; 233 t->tv_sec = time->second; 234 t->tv_sec += time->minute * 60; 235 t->tv_sec += time->hour * 3600; 236 t->tv_sec += (time->day - 1) * 3600 * 24; 240 t->tv_sec += mon_lens[lpyear][time->month - 1] * 3600 * 24; 245 t->tv_sec += 1262304000; 248 t->tv_sec += 946684800; 251 t->tv_sec += 631152000; 254 t->tv_sec [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tty/ |
H A D | lib_twait.c | 92 /* .tv_sec and .tv_usec are unsigned, be careful when subtracting */ 95 t1.tv_sec--; 97 res = (t1.tv_sec - t0->tv_sec) * 1000 380 tv.tv_sec = 0; 395 ntimeout.tv_sec = milliseconds / 1000;
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | epoll.c | 425 is.it_interval.tv_sec = 0; 429 is.it_value.tv_sec = 0; 432 if (tv->tv_sec == 0 && tv->tv_usec == 0) { 437 is.it_value.tv_sec = tv->tv_sec;
|
/freebsd-11-stable/contrib/amd/fixmount/ |
H A D | fixmount.c | 167 tv.tv_sec = CALL_TIMEOUT; 228 tv.tv_sec = CALL_TIMEOUT; 374 tv.tv_sec = CREATE_TIMEOUT; 381 tv.tv_sec = CALL_TIMEOUT; 553 ualarm(tvp->tv_sec * 1000000 + tvp->tv_usec, 0);
|
/freebsd-11-stable/contrib/blacklist/bin/ |
H A D | blacklistd.c | 213 fmttime(b2, sizeof(b2), ts.tv_sec)); 230 dbi.last = ts.tv_sec; 279 fmttime(b2, sizeof(b2), ts.tv_sec)); 324 fmttime(b2, sizeof(b2), ts.tv_sec)); 326 if (c.c_duration == -1 || when >= ts.tv_sec)
|
/freebsd-11-stable/sys/rpc/ |
H A D | clnt_rc.c | 97 rc->rc_timeout.tv_sec = -1; 99 rc->rc_retry.tv_sec = 3; 284 if ((rc->rc_timeout.tv_sec == 0 286 || (rc->rc_timeout.tv_sec == -1 287 && utimeout.tv_sec == 0
|
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | config.c | 211 positive_params.max_lifetime.tv_sec = DEFAULT_POSITIVE_LIFETIME; 219 negative_params.max_lifetime.tv_sec = DEFAULT_NEGATIVE_LIFETIME; 224 default_common_timeout.tv_sec = DEFAULT_COMMON_ENTRY_TIMEOUT; 227 default_mp_timeout.tv_sec = DEFAULT_MP_ENTRY_TIMEOUT; 234 mp_params.max_lifetime.tv_sec = DEFAULT_MULITPART_LIFETIME;
|
/freebsd-11-stable/usr.bin/w/ |
H A D | w.c | 245 if (touched < ep->utmp.ut_tv.tv_sec) { 247 touched = ep->utmp.ut_tv.tv_sec; 440 t = ep->utmp.ut_tv.tv_sec; 480 uptime = tp.tv_sec; 490 xo_emit("{e:uptime/%lu}", (unsigned long) tp.tv_sec);
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | getentropy_linux.c | 364 cnt += (int)tv.tv_sec; 380 ts.tv_sec = 0; 450 cnt += (int)ru.ru_utime.tv_sec; 496 cnt += (int)ru.ru_utime.tv_sec; 506 cnt += (int)tv.tv_sec;
|
H A D | getentropy_osx.c | 244 cnt += (int)tv.tv_sec; 280 ts.tv_sec = 0; 346 cnt += (int)ru.ru_utime.tv_sec; 392 cnt += (int)ru.ru_utime.tv_sec; 402 cnt += (int)tv.tv_sec;
|
/freebsd-11-stable/bin/ps/ |
H A D | print.c | 404 then = k->ki_p->ki_start.tv_sec; 406 if (now - k->ki_p->ki_start.tv_sec < 24 * 3600) { 408 } else if (now - k->ki_p->ki_start.tv_sec < 7 * 86400) { 429 then = k->ki_p->ki_start.tv_sec; 545 secs += k->ki_p->ki_childtime.tv_sec; 556 secs = k->ki_p->ki_rusage.ru_stime.tv_sec; 559 secs += k->ki_p->ki_childstime.tv_sec; 570 secs = k->ki_p->ki_rusage.ru_utime.tv_sec; 573 secs += k->ki_p->ki_childutime.tv_sec; 588 val = now - k->ki_p->ki_start.tv_sec; [all...] |
/freebsd-11-stable/lib/libc/yp/ |
H A D | yplib.c | 467 tv.tv_sec = _yplib_timeout/2; 490 time_to_sleep.tv_sec = _yplib_timeout/2; 523 tv.tv_sec = _yplib_timeout/2; 563 tv.tv_sec = 1; 712 tv.tv_sec = _yplib_timeout; 802 tv.tv_sec = _yplib_timeout; 881 tv.tv_sec = _yplib_timeout; 959 tv.tv_sec = _yplib_timeout; 1020 tv.tv_sec = _yplib_timeout; 1077 tv.tv_sec [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_time.c | 128 if (ntp->tv_sec > INT_MAX || ntp->tv_sec < INT_MIN) 131 ltp->tv_sec = ntp->tv_sec; 144 if (ltp->tv_sec < 0 || ltp->tv_nsec < 0 || ltp->tv_nsec > 999999999) { 148 ntp->tv_sec = ltp->tv_sec;
|
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 292 ((double) now.tv_sec - real_start.tv_sec)/60.0); 566 txstate.tsent.tv_sec, txstate.tsent.tv_usec); 1942 sec = now.tv_sec - last_ip.tv_sec; 2282 el = now->tv_sec - past->tv_sec; 2491 el = now.tv_sec - fragstate.last.tv_sec; 2521 if ( (now.tv_sec > last_statu [all...] |
/freebsd-11-stable/usr.bin/fetch/ |
H A D | fetch.c | 233 elapsed = xs->last.tv_sec - xs->start.tv_sec; 268 delta = ((double)xs->last.tv_sec + (xs->last.tv_usec / 1.e6)) 269 - ((double)xs->last2.tv_sec + (xs->last2.tv_usec / 1.e6)); 296 if (!force && now.tv_sec <= xs->last.tv_sec) 322 xs->last.tv_sec >= xs->start.tv_sec + 3) || 799 tv[0].tv_sec = (long)(us.atime ? us.atime : us.mtime); 800 tv[1].tv_sec [all...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | ldap.c | 90 lmap->ldap_timeout.tv_sec = 0; 127 tmo.tv_sec = lmap->ldap_networktmo; \ 389 SM_LDAP_SETTIMEOUT(lmap->ldap_timeout.tv_sec, "ldap_open"); 413 SM_LDAP_SETTIMEOUT(lmap->ldap_timeout.tv_sec, "ldap_bind"); 431 tmo.tv_sec = lmap->ldap_networktmo; 433 tmo.tv_sec = lmap->ldap_timeout.tv_sec; 446 (long) tmo.tv_sec); 455 tmo.tv_sec == 0 ? NULL : &(tmo), &(lmap->ldap_res)); 877 (lmap->ldap_timeout.tv_sec [all...] |
/freebsd-11-stable/contrib/unbound/smallapp/ |
H A D | unbound-control.c | 191 avg->tv_sec = 0; 195 avg->tv_sec = sum->tv_sec / d; 198 leftover = sum->tv_sec - avg->tv_sec*d; 208 (long long)var.tv_sec, (int)var.tv_usec); 244 sumwait.tv_sec = s->mesh_replies_sum_wait_sec; 302 (int)hist->buckets[i].lower.tv_sec, 304 (int)hist->buckets[i].upper.tv_sec, 657 tv.tv_sec [all...] |
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 651 tl.lval = p->p_stats->p_start.tv_sec; 741 *wccflagp = (np->n_mtime.tv_sec == 765 nfsva.na_vattr.va_mtime.tv_sec != 0) { 767 *wccflagp = (np->n_mtime.tv_sec == 768 nfsva.na_vattr.va_mtime.tv_sec && 770 nfsva.na_vattr.va_mtime.tv_sec); 891 if (vap->va_atime.tv_sec != VNOVAL) { 904 if (vap->va_mtime.tv_sec != VNOVAL) { 928 if (vap->va_atime.tv_sec != VNOVAL) 930 if (vap->va_mtime.tv_sec ! [all...] |
/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | parse.c | 123 delta.tv_sec = tstamp->tv.tv_sec - parseio->parse_lastchar.tv.tv_sec; 127 delta.tv_sec -= 1; 589 parseio->parse_dtime.parse_time.tv.tv_sec)); 732 parseio->parse_dtime.parse_time.tv.tv_sec = t;
|
/freebsd-11-stable/bin/rcp/ |
H A D | rcp.c | 392 (long)stb.st_mtim.tv_sec, 393 (long)stb.st_atim.tv_sec); 456 (long)statp->st_mtim.tv_sec, 457 (long)statp->st_atim.tv_sec); 556 mtime.tv_sec = strtol(cp, &cp, 10); 562 atime.tv_sec = strtol(cp, &cp, 10);
|
/freebsd-11-stable/sbin/ping6/ |
H A D | ping6.c | 447 intvl.tv_sec = (long)t; 449 (long)((t - intvl.tv_sec) * 1000000); 450 if (intvl.tv_sec < 0) 453 if (intvl.tv_sec == 0 && intvl.tv_usec < 1) { 1084 intvl.tv_sec = 0; 1087 intvl.tv_sec = interval / 1000; 1112 timeout.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec; [all...] |