Defined in 2 files as a prototype:
Defined in 3 files as a macro:
Defined in 2 files as a function:
Defined in 1 files as a define:
Referenced in 176 files:
- bin/dd/dd.c, line 311
- bin/dd/misc.c, line 66
- cddl/compat/opensolaris/misc/thread_pool.c, line 142
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_work.c, line 97
- contrib/blacklist/bin/blacklistctl.c, line 133
- contrib/blacklist/bin/blacklistd.c, 2 times
- contrib/capsicum-test/capmode.cc, line 304
- contrib/capsicum-test/linux.cc, 2 times
- contrib/cortex-strings/benchmarks/multi/harness.c, 2 times
- contrib/diff/src/diff.c, line 1004
- contrib/jemalloc/src/nstime.c, 2 times
- contrib/lib9p/backend/fs.c, 2 times
- contrib/libevent/evutil_time.c, 3 times
- contrib/libpcap/pcap-bpf.c, line 361
- contrib/libucl/tests/test_speed.c, line 51
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, line 339
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 508
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp, line 795
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, line 200
- contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.cpp, line 128
- contrib/llvm-project/compiler-rt/lib/xray/xray_basic_logging.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/xray/xray_fdr_logging.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/xray/xray_tsc.h, line 69
- contrib/llvm-project/libcxx/src/chrono.cpp, 3 times
- contrib/llvm-project/libcxx/src/filesystem/operations.cpp, line 492
- contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp, line 172
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, line 1954
- contrib/netbsd-tests/lib/libc/gen/t_sleep.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_clock_nanosleep.c, line 55
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_sigtimedwait.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_cond.c, line 316
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, line 69
- contrib/netbsd-tests/lib/libpthread/t_rwlock.c, 3 times
- contrib/netbsd-tests/lib/librt/t_sem.c, 5 times
- contrib/netbsd-tests/lib/semaphore/sem.c, line 221
- contrib/netbsd-tests/net/mcast/mcast.c, line 284
- contrib/ntp/include/ntp_machine.h, line 122
- contrib/ntp/libntp/systime.c, line 146
- contrib/ntp/libntp/work_thread.c, line 144
- contrib/ntp/ntpd/ntpd.c, 2 times
- contrib/ntp/sntp/libevent/evutil_time.c, 3 times
- contrib/ntp/sntp/main.c, line 1571
- contrib/ntp/util/jitter.c, line 103
- contrib/ntp/util/sht.c, line 207
- contrib/nvi/common/util.c, 4 times
- contrib/openbsm/bin/auditdistd/synch.h, line 174
- contrib/openbsm/bin/auditfilterd/auditfilterd.c, 2 times
- contrib/pf/libevent/event.c, 2 times
- contrib/sqlite3/sqlite3.c, line 40133
- contrib/unbound/compat/getentropy_linux.c, 2 times
- contrib/unbound/compat/getentropy_solaris.c, 2 times
- contrib/wpa/src/drivers/driver_nl80211_scan.c, line 786
- contrib/wpa/src/utils/os_unix.c, line 87
- contrib/xz/src/common/mythread.h, 2 times
- contrib/xz/src/xz/mytime.c, line 38
- crypto/openssh/misc.c, 3 times
- crypto/openssl/apps/apps.c, line 2247
- crypto/openssl/crypto/rand/rand_unix.c, 3 times
- lib/libc/gen/time.c, line 45
- lib/libc/gen/times.c, line 63
- lib/libc/gen/timespec_get.c, line 46
- lib/libc/isc/ev_timers.c, 2 times
- lib/libc/resolv/res_init.c, line 335
- lib/libc/resolv/res_state.c, line 84
- lib/libc/sys/clock_gettime.c, line 40
- lib/libc/tests/gen/glob2_test.c, 2 times
- lib/libdevstat/devstat.c, line 355
- lib/libgeom/geom_stats.c, line 132
- lib/libthr/thread/thr_join.c, line 138
- lib/libthr/thread/thr_mutex.c, 2 times
- lib/libusb/libusb10_io.c, line 320
- libexec/bootpd/rtmsg.c, line 141
- libexec/talkd/table.c, 3 times
- sbin/fsck_ffs/fsutil.c, 4 times
- sbin/fsck_ffs/main.c, line 513
- sbin/hastd/synch.h, line 174
- sbin/ifconfig/af_inet6.c, 2 times
- sbin/ping/ping.c, 5 times
- sbin/ping6/ping6.c, 5 times
- sbin/route/route.c, 2 times
- share/examples/libifconfig/status.c, line 162
- sys/amd64/linux/linux_locore.asm, line 39
- sys/amd64/linux/linux_vdso.lds.s, line 63
- sys/arm/allwinner/aw_rtc.c, line 173
- sys/arm/amlogic/aml8726/aml8726_rtc.c, line 474
- sys/arm/freescale/imx/imx6_snvs.c, line 225
- sys/arm/mv/armada38x/armada38x_rtc.c, line 130
- sys/arm/mv/rtc.c, line 83
- sys/arm/nvidia/as3722.c, line 383
- sys/arm/nvidia/tegra_rtc.c, line 291
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1064
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 10005
- sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h, line 93
- sys/contrib/openzfs/lib/libspl/include/sys/time.h, line 103
- sys/contrib/openzfs/lib/libtpool/thread_pool.c, line 155
- sys/dev/efidev/efirtc.c, line 192
- sys/dev/goldfish/goldfish_rtc.c, line 171
- sys/dev/iicbus/ds1307.c, line 421
- sys/dev/iicbus/ds13rtc.c, line 604
- sys/dev/iicbus/ds1672.c, line 179
- sys/dev/iicbus/ds3231.c, line 604
- sys/dev/iicbus/isl12xx.c, line 345
- sys/dev/iicbus/nxprtc.c, line 1003
- sys/dev/iicbus/rtc/rx8803.c, line 231
- sys/dev/iicbus/rtc8583.c, line 289
- sys/dev/iicbus/s35390a.c, line 355
- sys/dev/xen/timer/timer.c, line 547
- sys/kern/subr_stats.c, line 385
- sys/mips/atheros/pcf2123_rtc.c, line 193
- sys/mips/cavium/octeon_rtc.c, line 59
- sys/mips/ingenic/jz4780_rtc.c, line 219
- sys/powerpc/mpc85xx/ds1553_bus_fdt.c, line 65
- sys/powerpc/powermac/cuda.c, line 104
- sys/powerpc/powermac/pmu.c, line 145
- sys/powerpc/powermac/smu.c, line 195
- sys/powerpc/powernv/opal_dev.c, line 74
- sys/powerpc/ps3/ps3bus.c, line 125
- sys/powerpc/pseries/rtas_dev.c, line 65
- sys/riscv/sifive/fe310_aon.c, line 304
- sys/x86/isa/atrtc.c, 2 times
- tests/sys/audit/administrative.c, 2 times
- tests/sys/audit/utils.c, 2 times
- tests/sys/netmap/ctrl-api-test.c, 2 times
- tools/regression/fsx/fsx.c, line 1102
- tools/regression/gaithrstress/gaithrstress.c, 2 times
- tools/regression/posixsem/posixsem.c, 4 times
- tools/regression/priv/priv_clock_settime.c, line 53
- tools/regression/sockets/udp_pingpong/udp_pingpong.c, 2 times
- tools/regression/sockets/unix_cmsg/uc_check_time.c, 2 times
- tools/tools/netmap/nmreplay.c, line 689
- tools/tools/netmap/pkt-gen.c, 14 times
- tools/tools/netrate/juggle/juggle.c, 6 times
- tools/tools/netrate/netblast/netblast.c, 2 times
- tools/tools/netrate/netreceive/netreceive.c, 2 times
- tools/tools/netrate/netsend/netsend.c, 4 times
- tools/tools/netrate/tcpp/tcpp_client.c, 2 times
- tools/tools/syscall_timing/syscall_timing.c, 3 times
- usr.bin/grdc/grdc.c, 3 times
- usr.bin/mail/util.c, line 328
- usr.bin/mkuzip/mkuz_time.c, line 41
- usr.bin/netstat/route.c, line 138
- usr.bin/nfsstat/nfsstat.c, 2 times
- usr.bin/time/time.c, 3 times
- usr.bin/top/machine.c, line 785
- usr.bin/truss/main.c, line 199
- usr.bin/truss/setup.c, 8 times
- usr.bin/vmstat/vmstat.c, line 484
- usr.bin/w/w.c, line 499
- usr.sbin/arp/arp.c, 2 times
- usr.sbin/bhyve/pci_hda.c, line 1256
- usr.sbin/bluetooth/bthidd/btuinput.c, line 440
- usr.sbin/camdd/camdd.c, 2 times
- usr.sbin/cron/cron/cron.c, line 416
- usr.sbin/inetd/inetd.c, 2 times
- usr.sbin/jail/command.c, 3 times
- usr.sbin/lpr/common_source/common.c, line 478
- usr.sbin/makefs/makefs.c, line 120
- usr.sbin/mountd/mountd.c, 2 times
- usr.sbin/moused/moused.c, 5 times
- usr.sbin/nscd/nscd.c, line 577
- usr.sbin/pmc/cmd_pmc_stat.c, 2 times
- usr.sbin/rarpd/rarpd.c, line 787
- usr.sbin/rtadvctl/rtadvctl.c, 3 times
- usr.sbin/rtadvd/config.c, 3 times
- usr.sbin/rtadvd/rrenum.c, 2 times
- usr.sbin/rtadvd/rtadvd.c, 4 times
- usr.sbin/rtadvd/timer.c, 2 times
- usr.sbin/rtadvd/timer_subr.c, line 50
- usr.sbin/rtsold/dump.c, 2 times
- usr.sbin/rtsold/rtsol.c, 2 times
- usr.sbin/rtsold/rtsold.c, 2 times
- usr.sbin/uhsoctl/uhsoctl.c, 2 times
- usr.sbin/watchdogd/watchdogd.c, line 281