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 169 files:
- bin/dd/dd.c, line 291
- 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
- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, line 385
- contrib/amd/libamu/xutil.c, line 337
- contrib/blacklist/bin/blacklistctl.c, line 124
- contrib/blacklist/bin/blacklistd.c, 2 times
- contrib/capsicum-test/capmode.cc, line 304
- contrib/capsicum-test/linux.cc, 2 times
- contrib/compiler-rt/lib/dfsan/dfsan_custom.cc, line 329
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc, line 512
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc, line 799
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cc, line 200
- contrib/compiler-rt/lib/xray/xray_basic_logging.cc, 2 times
- contrib/compiler-rt/lib/xray/xray_fdr_logging.cc, 2 times
- contrib/compiler-rt/lib/xray/xray_tsc.h, line 70
- contrib/cortex-strings/benchmarks/multi/harness.c, 2 times
- contrib/diff/src/diff.c, line 1004
- contrib/gcclibs/libgomp/config/posix/time.c, 2 times
- contrib/jemalloc/src/nstime.c, 2 times
- contrib/libc++/src/chrono.cpp, 3 times
- contrib/libc++/src/filesystem/operations.cpp, line 493
- contrib/libevent/evutil_time.c, 3 times
- contrib/libpcap/pcap-bpf.c, line 361
- contrib/libucl/tests/test_speed.c, line 51
- contrib/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp, line 173
- 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 1567
- 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/openmp/runtime/src/z_Linux_util.cpp, line 1917
- contrib/pf/libevent/event.c, 2 times
- contrib/sqlite3/sqlite3.c, line 39031
- 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 39
- crypto/openssh/misc.c, 3 times
- crypto/openssl/apps/apps.c, line 2220
- 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 118
- 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 514
- sbin/hastd/synch.h, line 174
- sbin/ifconfig/af_inet6.c, 2 times
- sbin/route/route.c, 2 times
- share/examples/libifconfig/status.c, line 162
- sys/amd64/linux/linux_locore.s, 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 475
- sys/arm/freescale/imx/imx6_snvs.c, line 225
- sys/arm/mv/armada38x/armada38x_rtc.c, line 117
- sys/arm/mv/rtc.c, line 83
- sys/arm/nvidia/as3722.c, line 383
- sys/arm/nvidia/tegra_rtc.c, line 293
- sys/cddl/compat/opensolaris/sys/time.h, line 88
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1064
- sys/dev/efidev/efirtc.c, line 192
- sys/dev/iicbus/ds1307.c, line 421
- sys/dev/iicbus/ds13rtc.c, line 603
- sys/dev/iicbus/ds1672.c, line 179
- sys/dev/iicbus/ds3231.c, line 604
- sys/dev/iicbus/isl12xx.c, line 343
- sys/dev/iicbus/nxprtc.c, line 812
- sys/dev/iicbus/rtc8583.c, line 287
- sys/dev/iicbus/s35390a.c, line 355
- sys/dev/xen/timer/timer.c, line 547
- 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/sparc64/pci/sbbc.c, line 295
- sys/sparc64/sparc64/eeprom.c, line 93
- sys/sparc64/sparc64/rtc.c, 2 times
- 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 1127
- 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 149
- usr.bin/nfsstat/nfsstat.c, 2 times
- usr.bin/time/time.c, 3 times
- usr.bin/top/machine.c, line 763
- 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 481
- usr.sbin/arp/arp.c, 2 times
- 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 119
- 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