Searched refs:tv_sec (Results 326 - 350 of 1127) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_stat.c77 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 Dvmbus_timesync.c123 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 Dlibmilter.h160 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 Dfunction.c241 ++((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 Dudf_vnops.c227 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 Dlib_twait.c92 /* .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 Depoll.c425 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 Dfixmount.c167 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 Dblacklistd.c213 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 Dclnt_rc.c97 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 Dconfig.c211 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 Dw.c245 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 Dgetentropy_linux.c364 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 Dgetentropy_osx.c244 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 Dprint.c404 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 Dyplib.c467 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 Dlinux_time.c128 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 Dwesside.c292 ((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 Dfetch.c233 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 Dldap.c90 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 Dunbound-control.c191 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 Dnfs_clport.c651 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 Dparse.c123 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 Drcp.c392 (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 Dping6.c447 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...]

Completed in 195 milliseconds

<<11121314151617181920>>