/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | types32.h | 69 time32_t tv_sec; /* seconds */ member 74 time32_t tv_sec; /* seconds */ member
|
/freebsd/tools/regression/sockets/unix_cmsg/ |
H A D | uc_check_time.c | 33 static const struct timeval max_diff_tv = {.tv_sec = 1, .tv_usec = 0}; 34 static const struct timespec max_diff_ts = {.tv_sec = 1, .tv_nsec = 0};
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | clock.c | 35 fuzz_clock.tv_sec = LLONG_MAX; in tick() 46 fuzz_clock.tv_sec += (long)(drift / 1000000000); in tick()
|
/freebsd/tools/tools/mctest/ |
H A D | mctest.cc | 163 timeout.tv_sec = TIMEOUT; in sink() 200 cout << "sec: " << packets[i].tv_sec << " usec: " << in sink() 204 long gap = (result.tv_sec * 1000000) + result.tv_usec; in sink() 242 timeout.tv_sec = TIMEOUT; in server() 378 sleeptime.tv_sec = 0; in source() 413 if (&args[client].packets[i].tv_sec == 0) in source()
|
/freebsd/libexec/rpc.rstatd/ |
H A D | rstat_proc.c | 214 stats_all.s2.boottime.tv_sec = btm.tv_sec; in updatestat() 239 stats_all.s1.v_intr -= hz*(tm.tv_sec - btm.tv_sec) + in updatestat() 282 stats_all.s3.curtime.tv_sec = tm.tv_sec; in updatestat()
|
/freebsd/usr.sbin/rtadvd/ |
H A D | timer.c | 63 tm_limit.tv_sec = (-1) & ~((time_t)1 << ((sizeof(tm_max.tv_sec) * 8) - 1)); in rtadvd_timer_init() 178 returnval.tv_sec = returnval.tv_nsec = 0; in rtadvd_check_timer()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.h | 97 t.tv_sec = ms / 1000; in qlnx_ms_to_hz() 114 t.tv_sec = sec; in qlnx_sec_to_hz()
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | smfi.c | 53 timeout.tv_sec = ctx->ctx_timeout; 186 timeout.tv_sec = ctx->ctx_timeout; 251 timeout.tv_sec = ctx->ctx_timeout; 392 timeout.tv_sec = ctx->ctx_timeout; 421 timeout.tv_sec = ctx->ctx_timeout; 453 timeout.tv_sec = ctx->ctx_timeout; 496 timeout.tv_sec = ctx->ctx_timeout; 857 timeout.tv_sec = ctx->ctx_timeout;
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.c | 59 ts.it_value.tv_sec = 1; in main() 61 ts.it_interval.tv_sec = 0; in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_tsc.h | 73 TS.tv_sec = 0; in readTSC() 77 return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec; in readTSC()
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_znode_impl.h | 152 (stmp)[0] = (uint64_t)(tp)->tv_sec; \ 163 (tp)->tv_sec = (time64_t)(stmp)[0]; \ 173 (tp)->tv_sec = (time_t)(stmp)[0]; \
|
/freebsd/contrib/file/src/ |
H A D | cdf_time.c | 137 ts->tv_sec = mktime(&tm); in cdf_timestamp_to_timespec() 138 if (ts->tv_sec == -1) { in cdf_timestamp_to_timespec() 196 p = cdf_ctime(&ts.tv_sec, buf); in main()
|
/freebsd/sys/fs/procfs/ |
H A D | procfs_status.c | 134 (intmax_t)start.tv_sec, start.tv_usec, in procfs_doprocstatus() 135 (intmax_t)ut.tv_sec, ut.tv_usec, in procfs_doprocstatus() 136 (intmax_t)st.tv_sec, st.tv_usec); in procfs_doprocstatus()
|
/freebsd/stand/efi/libefi/ |
H A D | time.c | 239 tp->tv_sec = from_efi_time(&EfiTime); in EFI_GetTimeOfDay() 271 *tloc = tv.tv_sec; in time() 272 return (tv.tv_sec); in time()
|
/freebsd/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 291 ((double) now.tv_sec - real_start.tv_sec)/60.0); in check_key() 1941 sec = now.tv_sec - last_ip.tv_sec; in flood_inet() 2281 el = now->tv_sec - past->tv_sec; in elapsedd() 2490 el = now.tv_sec - fragstate.last.tv_sec; 2520 if ( (now.tv_sec > last_status.tv_sec ) || 2522 if (crack_pid && (now.tv_sec > last_status.tv_sec)) { 2553 if (now.tv_sec - crack_start.tv_sec >= crack_dur) 2608 if (now.tv_sec > lasthop.tv_sec || 2627 if ( (now.tv_sec - last_wcount.tv_sec) >= 2) { 2638 secs = now.tv_sec - last_wcount.tv_sec; [all …]
|
/freebsd/contrib/bmake/ |
H A D | trace.c | 95 (long long)rightnow.tv_sec, (long)rightnow.tv_usec, in Trace_Log() 100 (long)rightnow.tv_sec, (long)rightnow.tv_usec, in Trace_Log()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 69 lru->ru_utime.tv_sec = ru->ru_utime.tv_sec; in bsd_to_linux_rusage() 71 lru->ru_stime.tv_sec = ru->ru_stime.tv_sec; in bsd_to_linux_rusage() 412 atv32.tv_sec = atv.tv_sec; in linux_gettimeofday() 436 atv.tv_sec = atv32.tv_sec; in linux_settimeofday()
|
/freebsd/contrib/ntp/include/ |
H A D | parse.h | 99 ((tvp)->tv_sec cmp (uvp)->tv_sec || \ 100 ((tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec))
|
/freebsd/contrib/tnftp/ |
H A D | tnftp.h | 454 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 457 (vvp)->tv_sec--; \
|
/freebsd/contrib/libpcap/ |
H A D | dlpisubs.c | 200 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec; in pcap_process_pkts() 341 to.tv_sec = 0; in pcap_conf_bufmod() 350 to.tv_sec = p->opt.timeout / 1000; in pcap_conf_bufmod()
|
/freebsd/sys/dev/watchdog/ |
H A D | watchdog.c | 89 ts->tv_sec = ns / 1000000000ULL; in pow2ns_to_ts() 188 wd_lastpat = ts.tv_sec; in wdog_kern_pat() 235 *remainp = ts.tv_sec - wd_lastpat; in wd_get_time_left() 277 if (newtimeout >= utime_ts.tv_sec) { in wd_set_pretimeout()
|
/freebsd/sys/sys/ |
H A D | stat.h | 219 #define st_atime st_atim.tv_sec 220 #define st_mtime st_mtim.tv_sec 221 #define st_ctime st_ctim.tv_sec 223 #define st_birthtime st_birthtim.tv_sec
|
/freebsd/sys/fs/udf/ |
H A D | udf_vnops.c | 229 t->tv_sec = 0; in udf_timetotimespec() 235 t->tv_sec = time->second; in udf_timetotimespec() 236 t->tv_sec += time->minute * 60; in udf_timetotimespec() 237 t->tv_sec += time->hour * 3600; in udf_timetotimespec() 238 t->tv_sec += (time->day - 1) * 3600 * 24; in udf_timetotimespec() 247 t->tv_sec += 1262304000; in udf_timetotimespec() 250 t->tv_sec += 946684800; in udf_timetotimespec() 253 t->tv_sec += 631152000; in udf_timetotimespec() 256 t->tv_sec += 315532800; in udf_timetotimespec() 263 t->tv_sec += daysinyear * 3600 * 24; in udf_timetotimespec() [all …]
|
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_sigcli.c | 55 itv.it_interval.tv_sec = itv.it_value.tv_sec = 0; in main()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | test-time.c | 71 tv.tv_sec = 0; in time_cb() 107 tv.tv_sec = 0; in main()
|