Home
last modified time | relevance | path

Searched refs:tv_sec (Results 201 – 225 of 1304) sorted by relevance

12345678910>>...53

/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dtypes32.h69 time32_t tv_sec; /* seconds */ member
74 time32_t tv_sec; /* seconds */ member
/freebsd/tools/regression/sockets/unix_cmsg/
H A Duc_check_time.c33 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 Dclock.c35 fuzz_clock.tv_sec = LLONG_MAX; in tick()
46 fuzz_clock.tv_sec += (long)(drift / 1000000000); in tick()
/freebsd/tools/tools/mctest/
H A Dmctest.cc163 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 Drstat_proc.c214 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 Dtimer.c63 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 Dqlnx_os.h97 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 Dsmfi.c53 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 Dtst.sigwait.c59 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 Dxray_tsc.h73 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 Dzfs_znode_impl.h152 (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 Dcdf_time.c137 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 Dprocfs_status.c134 (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 Dtime.c239 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 Dwesside.c291 ((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 Dtrace.c95 (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 Dlinux32_machdep.c69 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 Dparse.h99 ((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 Dtnftp.h454 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
457 (vvp)->tv_sec--; \
/freebsd/contrib/libpcap/
H A Ddlpisubs.c200 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 Dwatchdog.c89 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 Dstat.h219 #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 Dudf_vnops.c229 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 Dh_sigcli.c55 itv.it_interval.tv_sec = itv.it_value.tv_sec = 0; in main()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-time.c71 tv.tv_sec = 0; in time_cb()
107 tv.tv_sec = 0; in main()

12345678910>>...53