Defined in 8 files as a prototype:
Defined in 2 files as a macro:
Defined in 5 files as a function:
Defined in 1 files as a define:
Referenced in 280 files:
- bin/date/date.c, 2 times
- cddl/usr.sbin/zfsd/case_file.cc, line 585
- contrib/apr-util/crypto/getuuid.c, line 88
- contrib/apr/time/unix/time.c, 2 times
- contrib/binutils/libiberty/mkstemps.c, line 102
- contrib/blacklist/port/clock_gettime.c, line 12
- contrib/bmake/main.c, line 986
- contrib/bmake/trace.c, line 88
- contrib/bsnmp/lib/snmpclient.c, 3 times
- contrib/bsnmp/snmp_ntp/snmp_ntp.c, 2 times
- contrib/bsnmp/snmpd/main.c, line 1792
- contrib/capsicum-test/capmode.cc, 5 times
- contrib/diff/src/diff.c, line 1011
- contrib/dma/dma.c, line 343
- contrib/dma/spool.c, line 416
- contrib/expat/lib/xmlparse.c, line 777
- contrib/gdb/gdb/event-loop.c, 3 times
- contrib/gdb/gdb/mi/mi-main.c, line 1428
- contrib/gdb/gdb/remote-fileio.c, 2 times
- contrib/googletest/googletest/src/gtest.cc, line 891
- contrib/ipfilter/ipsend/iptests.c, line 300
- contrib/jemalloc/src/background_thread.c, 2 times
- contrib/jemalloc/src/nstime.c, line 143
- contrib/kyua/utils/datetime.cpp, line 370
- contrib/ldns-host/ldns-host.c, 2 times
- contrib/ldns/net.c, 2 times
- contrib/ldns/tsig.c, line 400
- contrib/ldns/util.c, line 355
- contrib/libarchive/libarchive/archive_random.c, line 214
- contrib/libbegemot/rpoll.c, 3 times
- contrib/libevent/include/event2/util.h, line 572
- contrib/libpcap/dlpisubs.c, line 184
- contrib/libpcap/pcap-dbus.c, line 92
- contrib/libpcap/pcap-netfilter-linux.c, line 241
- contrib/libpcap/pcap-rdmasniff.c, line 154
- contrib/libpcap/pcap-septel.c, line 145
- contrib/libpcap/pcap-usb-linux.c, line 882
- contrib/libxo/libxo/xo_syslog.c, line 551
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, line 761
- contrib/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 503
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 517
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/libcxx/src/chrono.cpp, line 84
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 499
- contrib/llvm-project/openmp/runtime/src/kmp_stub.cpp, line 299
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 6 times
- contrib/ncurses/include/nc_mingw.h, line 52
- contrib/ncurses/ncurses/tty/lib_mvcur.c, 6 times
- contrib/ncurses/ncurses/tty/lib_twait.c, line 88
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_subr.c, 2 times
- contrib/netbsd-tests/kernel/kqueue/t_sig.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_time.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_gettimeofday.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 2 times
- contrib/netbsd-tests/net/mcast/mcast.c, line 288
- contrib/ntp/clockstuff/chutest.c, 2 times
- contrib/ntp/include/ntp_unixtime.h, 4 times
- contrib/ntp/lib/isc/pthreads/mutex.c, 3 times
- contrib/ntp/lib/isc/unix/stdtime.c, line 76
- contrib/ntp/lib/isc/unix/time.c, 2 times
- contrib/ntp/ntpd/ntpsim.c, line 145
- contrib/ntp/ntpd/refclock_jjy.c, 2 times
- contrib/ntp/parseutil/dcfd.c, 3 times
- contrib/ntp/parseutil/testdcf.c, 2 times
- contrib/ntp/sntp/libevent/include/event2/util.h, line 543
- contrib/ntp/sntp/main.c, 2 times
- contrib/ntp/util/hist.c, 2 times
- contrib/ntp/util/jitter.c, line 116
- contrib/ntp/util/precision.c, 2 times
- contrib/ntp/util/tg.c, line 352
- contrib/ntp/util/tg2.c, 2 times
- contrib/ofed/libcxgb4/cq.c, 2 times
- contrib/ofed/libcxgb4/verbs.c, line 195
- contrib/ofed/libibverbs/examples/rc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/srq_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/uc_pingpong.c, 2 times
- contrib/ofed/libibverbs/examples/ud_pingpong.c, 2 times
- contrib/ofed/librdmacm/examples/cmtime.c, 4 times
- contrib/ofed/librdmacm/examples/rcopy.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, 2 times
- contrib/ofed/librdmacm/examples/rstream.c, 2 times
- contrib/ofed/librdmacm/examples/udpong.c, 2 times
- contrib/ofed/librdmacm/rsocket.c, 7 times
- contrib/ofed/opensm/complib/cl_event.c, line 149
- contrib/ofed/opensm/complib/cl_timer.c, 3 times
- contrib/ofed/opensm/libvendor/osm_pkt_randomizer.c, line 147
- contrib/ofed/opensm/opensm/osm_console.c, 2 times
- contrib/ofed/opensm/opensm/osm_log.c, line 299
- contrib/ofed/opensm/opensm/osm_perfmgr.c, 5 times
- contrib/openbsm/bin/auditd/auditd.c, line 504
- contrib/openbsm/compat/clock_gettime.h, line 47
- contrib/openbsm/libbsm/bsm_audit.c, line 247
- contrib/openbsm/libbsm/bsm_token.c, 3 times
- contrib/openpam/lib/libpam/openpam_ttyconv.c, 4 times
- contrib/opie/libopie/login.c, 2 times
- contrib/opie/libopie/logwtmp.c, 2 times
- contrib/pf/authpf/authpf.c, 2 times
- contrib/pf/libevent/event.c, 2 times
- contrib/pnpinfo/pnpinfo.c, 2 times
- contrib/sendmail/libmilter/libmilter.h, line 159
- contrib/sendmail/libsm/b-strcmp.c, 4 times
- contrib/sendmail/libsm/b-strl.c, 8 times
- contrib/sendmail/libsm/clock.c, 6 times
- contrib/sendmail/libsm/debug.c, 2 times
- contrib/sendmail/libsm/local.h, 2 times
- contrib/sendmail/libsm/refill.c, 2 times
- contrib/sendmail/src/conf.c, 3 times
- contrib/sendmail/src/srvrsmtp.c, 2 times
- contrib/sendmail/src/timers.c, line 105
- contrib/sqlite3/sqlite3.c, line 40137
- contrib/tcsh/dotlock.c, line 57
- contrib/tcsh/sh.dol.c, line 923
- contrib/tcsh/sh.hist.c, 2 times
- contrib/tcsh/sh.proc.c, 2 times
- contrib/tcsh/sh.time.c, 2 times
- contrib/tnftp/src/fetch.c, 3 times
- contrib/tnftp/src/ftp.c, 5 times
- contrib/tnftp/src/progressbar.c, 3 times
- contrib/tnftp/src/util.c, 2 times
- contrib/traceroute/traceroute.c, 3 times
- contrib/unbound/compat/getentropy_linux.c, 2 times
- contrib/unbound/compat/getentropy_osx.c, 2 times
- contrib/unbound/compat/getentropy_solaris.c, 2 times
- contrib/unbound/daemon/daemon.c, line 283
- contrib/unbound/dnscrypt/dnscrypt.c, line 427
- contrib/unbound/dnstap/dnstap.c, 3 times
- contrib/unbound/util/mini_event.c, line 78
- contrib/unbound/util/ub_event.c, line 458
- contrib/unbound/util/ub_event_pluggable.c, line 687
- contrib/unbound/util/winsock_event.c, line 74
- contrib/wpa/src/utils/os_internal.c, 2 times
- contrib/wpa/src/utils/os_unix.c, line 63
- contrib/xz/src/common/mythread.h, line 312
- contrib/xz/src/xz/mytime.c, line 44
- crypto/heimdal/appl/ftp/ftp/ftp.c, 6 times
- crypto/heimdal/appl/ftp/ftpd/logwtmp.c, line 155
- crypto/heimdal/appl/login/utmpx_login.c, line 47
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, 2 times
- crypto/heimdal/kdc/process.c, line 45
- crypto/heimdal/kuser/klist.c, line 422
- crypto/heimdal/lib/hdb/common.c, line 299
- crypto/heimdal/lib/krb5/test_crypto.c, 4 times
- crypto/heimdal/lib/krb5/test_time.c, line 47
- crypto/heimdal/lib/krb5/time.c, 2 times
- crypto/heimdal/lib/roken/socket_wrapper.c, 2 times
- crypto/openssh/loginrec.c, line 411
- crypto/openssh/misc.c, line 1301
- crypto/openssh/openbsd-compat/bsd-misc.c, 2 times
- crypto/openssl/apps/apps.c, 2 times
- crypto/openssl/crypto/bio/bss_dgram.c, line 1921
- crypto/openssl/crypto/rand/rand_unix.c, 2 times
- crypto/openssl/crypto/ts/ts_rsp_sign.c, line 77
- crypto/openssl/ssl/d1_lib.c, line 438
- lib/libc/gen/syslog.c, line 178
- lib/libc/gen/utxdb.c, line 58
- lib/libc/isc/ev_timers.c, 2 times
- lib/libc/resolv/res_init.c, 2 times
- lib/libc/rpc/auth_des.c, line 290
- lib/libc/rpc/auth_time.c, line 462
- lib/libc/rpc/auth_unix.c, 2 times
- lib/libc/rpc/clnt_bcast.c, line 381
- lib/libc/rpc/clnt_dg.c, 3 times
- lib/libc/rpc/clnt_vc.c, line 271
- lib/libc/rpc/svc_auth_des.c, line 273
- lib/libc/rpc/svc_vc.c, 6 times
- lib/libc/sys/gettimeofday.c, line 39
- lib/libcompat/4.1/ftime.c, line 46
- lib/libdevdctl/event.cc, line 436
- lib/libdpv/dpv.c, 2 times
- lib/libfetch/common.c, 4 times
- lib/libpam/modules/pam_lastlog/pam_lastlog.c, 2 times
- lib/libpam/modules/pam_unix/pam_unix.c, line 200
- lib/libradius/radlib.c, 3 times
- lib/libtacplus/taclib.c, 4 times
- lib/libulog/ulog_login.c, line 54
- libexec/ftpd/logwtmp.c, line 74
- libexec/rbootd/rmpproto.c, line 577
- libexec/rpc.rquotad/rquotad.c, 2 times
- libexec/rpc.rstatd/rstat_proc.c, 2 times
- libexec/rpc.sprayd/sprayd.c, 2 times
- libexec/talkd/announce.c, line 108
- libexec/tftpd/tftp-transfer.c, 3 times
- libexec/tftpd/tftp-utils.c, line 303
- libexec/tftpd/tftpd.c, 2 times
- sbin/adjkerntz/adjkerntz.c, 2 times
- sbin/devd/devd.cc, line 855
- sbin/fsck_ffs/fsutil.c, 2 times
- sbin/hastd/primary.c, 3 times
- sbin/init/init.c, 2 times
- sbin/mount_nfs/mount_nfs.c, 2 times
- sbin/newfs_msdos/mkfs_msdos.c, line 623
- sbin/reboot/reboot.c, line 175
- sbin/routed/main.c, 2 times
- sbin/routed/rtquery/rtquery.c, 2 times
- sbin/setkey/setkey.c, line 593
- sys/amd64/linux/linux_locore.asm, line 53
- sys/amd64/linux/linux_vdso.lds.s, line 59
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1305
- sys/contrib/ipfilter/netinet/ip_compat.h, line 348
- sys/contrib/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c, line 133
- sys/contrib/libsodium/test/default/cmptest.h, line 122
- sys/contrib/openzfs/cmd/zed/agents/fmd_api.c, line 419
- sys/contrib/openzfs/cmd/zed/agents/zfs_agents.c, line 203
- sys/contrib/openzfs/lib/libspl/include/sys/time.h, 2 times
- sys/contrib/openzfs/lib/libzpool/kernel.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/btree_test/btree_test.c, 3 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c, 8 times
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/edonr_test.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/sha2_test.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/skein_test.c, 2 times
- sys/net/netmap_user.h, 2 times
- sys/netinet/libalias/alias_db.c, 2 times
- sys/netpfil/ipfw/test/main.c, 2 times
- sys/security/audit/bsm_token.c, 3 times
- tests/sys/audit/administrative.c, 2 times
- tests/sys/kqueue/libkqueue/timer.c, line 38
- tests/sys/net/routing/rtsock_print.h, 4 times
- tests/sys/net/routing/test_rtsock_l3.c, 2 times
- tools/build/futimens.c, line 87
- tools/build/utimensat.c, line 91
- tools/regression/aio/aiop/aiop.c, 2 times
- tools/regression/p1003_1b/fifo.c, 2 times
- tools/regression/priv/priv_settimeofday.c, line 53
- tools/regression/sockets/unix_cmsg/uc_check_time.c, line 52
- tools/tools/crypto/cryptotest.c, 2 times
- tools/tools/iwn/iwnstats/main.c, line 249
- tools/tools/mctest/mctest.cc, 3 times
- tools/tools/net80211/stumbler/stumbler.c, 4 times
- tools/tools/net80211/w00t/ap/ap.c, 5 times
- tools/tools/net80211/w00t/assoc/assoc.c, 5 times
- tools/tools/net80211/w00t/expand/expand.c, 2 times
- tools/tools/net80211/w00t/prga/prga.c, 4 times
- tools/tools/net80211/w00t/redir/redir.c, 2 times
- tools/tools/net80211/wesside/udps/udps.c, 2 times
- tools/tools/net80211/wesside/wesside/wesside.c, 12 times
- tools/tools/netmap/ctrs.h, line 111
- tools/tools/netmap/lb.c, line 993
- tools/tools/netmap/nmreplay.c, line 97
- tools/tools/netmap/pkt-gen.c, line 2571
- tools/tools/syscall_timing/syscall_timing.c, line 314
- tools/tools/usbtest/usb_control_ep_test.c, 4 times
- tools/tools/usbtest/usb_modem_test.c, 4 times
- tools/tools/usbtest/usb_msc_test.c, 2 times
- usr.bin/at/at.c, line 652
- usr.bin/fetch/fetch.c, 3 times
- usr.bin/mkimg/uuid.c, line 73
- usr.bin/netstat/mroute.c, line 88
- usr.bin/quota/quota.c, line 632
- usr.bin/resizewin/resizewin.c, 2 times
- usr.bin/script/script.c, line 391
- usr.bin/systat/ifstat.c, line 296
- usr.bin/systat/keyboard.c, 4 times
- usr.bin/top/machine.c, line 784
- usr.bin/who/who.c, line 291
- usr.sbin/ac/ac.c, line 478
- usr.sbin/bhyve/rfb.c, line 729
- usr.sbin/bluetooth/bthidd/bthidd.c, line 235
- usr.sbin/bluetooth/btpand/event.c, 3 times
- usr.sbin/bluetooth/l2ping/l2ping.c, 2 times
- usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c, line 360
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c, 2 times
- usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c, 2 times
- usr.sbin/cron/crontab/crontab.c, line 636
- usr.sbin/diskinfo/diskinfo.c, 2 times
- usr.sbin/fwcontrol/fwdv.c, 2 times
- usr.sbin/inetd/builtins.c, 2 times
- usr.sbin/ipfwpcap/ipfwpcap.c, line 297
- usr.sbin/keyserv/keyserv.c, line 548
- usr.sbin/lpr/common_source/common.c, line 481
- usr.sbin/makefs/makefs.c, line 122
- usr.sbin/makefs/makefs.h, 2 times
- usr.sbin/ndp/ndp.c, 4 times
- usr.sbin/powerd/powerd.c, line 393
- usr.sbin/ppp/physical.c, 2 times
- usr.sbin/rpc.lockd/lock_proc.c, line 201
- usr.sbin/rpc.yppasswdd/yppasswdd_server.c, 2 times
- usr.sbin/syslogd/syslogd.c, line 1601
- usr.sbin/traceroute6/traceroute6.c, 2 times
- usr.sbin/utx/utx.c, 2 times