Defined in 8 files as a member:
Defined in 2 files as a macro:
Referenced in 376 files:
- bin/dd/misc.c, 3 times
- bin/ls/cmp.c, 16 times
- bin/sleep/sleep.c, line 86
- bin/test/test.c, 2 times
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.sigwait.c, 2 times
- cddl/contrib/opensolaris/cmd/lockstat/lockstat.c, line 910
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_work.c, 4 times
- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, 7 times
- cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h, line 558
- contrib/amd/libamu/xutil.c, line 340
- contrib/apr/file_io/unix/filestat.c, 3 times
- contrib/apr/locks/unix/thread_cond.c, line 87
- contrib/apr/poll/unix/kqueue.c, 2 times
- contrib/apr/poll/unix/port.c, line 102
- contrib/apr/poll/unix/z_asio.c, 2 times
- contrib/blacklist/port/clock_gettime.c, line 15
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc, 4 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc, 2 times
- contrib/compiler-rt/lib/xray/xray_fdr_logging.cc, line 223
- contrib/compiler-rt/lib/xray/xray_fdr_logging_impl.h, line 216
- contrib/compiler-rt/lib/xray/xray_inmemory_log.cc, 2 times
- contrib/compiler-rt/lib/xray/xray_tsc.h, 2 times
- contrib/diff/config.h, line 469
- contrib/elftoolchain/libelftc/elftc_set_timestamps.c, 2 times
- contrib/file/src/cdf_time.c, line 108
- contrib/gcclibs/libgomp/config/posix/time.c, 2 times
- contrib/ipfilter/ipsend/iptests.c, line 117
- contrib/jemalloc/src/nstime.c, line 128
- contrib/libarchive/libarchive/archive_entry_copy_stat.c, 7 times
- contrib/libarchive/libarchive/archive_entry_stat.c, 7 times
- contrib/libarchive/libarchive/archive_read_disk_posix.c, 2 times
- contrib/libarchive/libarchive/archive_read_support_format_mtree.c, 2 times
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 7 times
- contrib/libarchive/libarchive/test/main.c, 5 times
- contrib/libarchive/libarchive/test/test_entry.c, 7 times
- contrib/libarchive/tar/bsdtar_platform.h, 4 times
- contrib/libarchive/test_utils/test_main.c, 5 times
- contrib/libc++/src/chrono.cpp, 3 times
- contrib/libc++/src/condition_variable.cpp, 3 times
- contrib/libc++/src/experimental/filesystem/filesystem_time_helper.h, 5 times
- contrib/libc++/src/experimental/filesystem/operations.cpp, 3 times
- contrib/libpcap/pcap-bpf.c, line 341
- contrib/libpcap/pcap-linux.c, line 916
- contrib/libpcap/pcap-snf.c, 4 times
- contrib/libucl/tests/test_speed.c, line 53
- contrib/llvm/lib/Support/LockFileManager.cpp, 4 times
- contrib/llvm/lib/Support/Unix/Unix.h, line 89
- contrib/llvm/tools/lldb/source/Host/common/MainLoop.cpp, line 54
- contrib/mdocml/test-nanosleep.c, line 10
- contrib/mtree/create.c, line 237
- contrib/mtree/spec.c, 2 times
- contrib/ncurses/ncurses/tinfo/lib_napms.c, line 73
- contrib/ncurses/ncurses/tinfo/tinfo_driver.c, line 1197
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs.c, line 237
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_vnops.c, 2 times
- contrib/netbsd-tests/fs/tmpfs/h_tools.c, line 167
- contrib/netbsd-tests/fs/vfs/t_vnops.c, 7 times
- contrib/netbsd-tests/kernel/kqueue/t_proc2.c, line 100
- contrib/netbsd-tests/kernel/kqueue/t_proc3.c, line 81
- contrib/netbsd-tests/kernel/kqueue/t_sig.c, line 114
- contrib/netbsd-tests/lib/libc/c063/t_utimensat.c, 12 times
- contrib/netbsd-tests/lib/libc/gen/t_raise.c, line 145
- contrib/netbsd-tests/lib/libc/gen/t_sleep.c, 9 times
- contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c, 10 times
- contrib/netbsd-tests/lib/libc/sys/t_clock_nanosleep.c, 6 times
- contrib/netbsd-tests/lib/libc/sys/t_lwp_ctl.c, line 58
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, 18 times
- contrib/netbsd-tests/lib/libc/sys/t_poll.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_sigtimedwait.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_timer_create.c, line 97
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, 4 times
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 2 times
- contrib/netbsd-tests/lib/librt/t_sched.c, 6 times
- contrib/netbsd-tests/lib/librt/t_sem.c, 13 times
- contrib/netbsd-tests/lib/semaphore/sem.c, 3 times
- contrib/netbsd-tests/net/mcast/mcast.c, 2 times
- contrib/ntp/include/timepps-SCO.h, 7 times
- contrib/ntp/include/timepps-Solaris.h, 8 times
- contrib/ntp/include/timepps-SunOS.h, 7 times
- contrib/ntp/include/timespecops.h, 35 times
- contrib/ntp/lib/isc/pthreads/condition.c, line 53
- contrib/ntp/lib/isc/tests/isctest.c, line 167
- contrib/ntp/lib/isc/unix/entropy.c, line 184
- contrib/ntp/lib/isc/unix/socket.c, line 5790
- contrib/ntp/libntp/machines.c, line 450
- contrib/ntp/libntp/systime.c, 6 times
- contrib/ntp/libntp/work_thread.c, line 795
- contrib/ntp/libparse/parsesolaris.c, 3 times
- contrib/ntp/ntpd/ntp_io.c, 3 times
- contrib/ntp/ntpd/ntp_refclock.c, 2 times
- contrib/ntp/ntpd/ntp_timer.c, line 119
- contrib/ntp/ntpd/ntp_util.c, line 245
- contrib/ntp/ntpd/refclock_gpsdjson.c, 4 times
- contrib/ntp/ntpd/refclock_jupiter.c, 4 times
- contrib/ntp/ntpd/refclock_mx4200.c, 2 times
- contrib/ntp/ntpd/refclock_nmea.c, 6 times
- contrib/ntp/ntpd/refclock_oncore.c, 11 times
- contrib/ntp/ntpd/refclock_parse.c, 4 times
- contrib/ntp/ntpd/refclock_ripencc.c, 5 times
- contrib/ntp/ntpd/refclock_shm.c, 16 times
- contrib/ntp/ntpdate/ntpdate.c, 2 times
- contrib/ntp/sntp/libevent/epoll.c, 3 times
- contrib/ntp/sntp/libevent/evport.c, line 279
- contrib/ntp/sntp/libevent/evthread_pthread.c, line 149
- contrib/ntp/sntp/libevent/evutil_time.c, 2 times
- contrib/ntp/sntp/main.c, line 1586
- contrib/ntp/util/jitter.c, line 108
- contrib/ntp/util/ntptime.c, line 34
- contrib/ntp/util/pps-api.c, 8 times
- contrib/ntp/util/precision.c, 2 times
- contrib/ntp/util/sht.c, line 209
- contrib/nvi/common/util.c, 3 times
- contrib/nvi/common/util.h, 12 times
- contrib/ofed/libibverbs/neigh.c, line 255
- contrib/ofed/libmlx4/verbs.c, line 140
- contrib/ofed/libmlx5/verbs.c, line 115
- contrib/ofed/opensm/complib/cl_event.c, line 154
- contrib/ofed/opensm/complib/cl_timer.c, 3 times
- contrib/openbsm/bin/auditdistd/auditdistd.c, line 468
- contrib/openbsm/bin/auditdistd/sender.c, line 722
- contrib/openbsm/bin/auditdistd/sigtimedwait.h, line 61
- contrib/openbsm/bin/auditdistd/synch.h, line 180
- contrib/openbsm/compat/clock_gettime.h, line 50
- contrib/openbsm/compat/pidfile.h, line 138
- contrib/pf/libevent/event.c, line 160
- contrib/sendmail/libmilter/libmilter.h, line 161
- contrib/sendmail/libmilter/monitor.c, line 121
- contrib/sendmail/libsm/clock.c, line 518
- contrib/sqlite3/sqlite3.c, 4 times
- contrib/unbound/compat/getentropy_linux.c, 2 times
- contrib/unbound/compat/getentropy_osx.c, line 290
- contrib/unbound/compat/getentropy_solaris.c, 2 times
- contrib/wpa/src/utils/os_unix.c, line 87
- contrib/xz/src/common/mythread.h, 6 times
- contrib/xz/src/xz/file_io.c, 8 times
- contrib/xz/src/xz/mytime.c, line 42
- crypto/heimdal/lib/ipc/common.c, line 146
- crypto/heimdal/lib/sqlite/sqlite3.c, 4 times
- crypto/openssh/defines.h, 2 times
- crypto/openssh/misc.c, 2 times
- crypto/openssh/openbsd-compat/bsd-misc.c, line 175
- crypto/openssl/apps/apps.c, 2 times
- crypto/openssl/crypto/rand/rand_unix.c, 2 times
- lib/libc/gen/sem.c, 7 times
- lib/libc/gen/sem_new.c, 2 times
- lib/libc/gen/sleep.c, 2 times
- lib/libc/gen/times.c, line 65
- lib/libc/gen/usleep.c, line 50
- lib/libc/isc/ev_timers.c, 35 times
- lib/libc/net/nscachedcli.c, 2 times
- lib/libc/net/rcmd.c, line 197
- lib/libc/resolv/res_send.c, line 961
- lib/libc/resolv/res_state.c, 2 times
- lib/libc/stdio/xprintf_time.c, line 75
- lib/libc/sys/__vdso_gettimeofday.c, line 154
- lib/libc/sys/futimens.c, 24 times
- lib/libc/sys/utimensat.c, 24 times
- lib/libc/yp/yplib.c, line 491
- lib/libdevstat/devstat.c, line 354
- lib/libnetbsd/sys/time.h, 14 times
- lib/libpmc/pmclog.c, line 309
- lib/libthr/thread/thr_cond.c, 4 times
- lib/libthr/thread/thr_join.c, 2 times
- lib/libthr/thread/thr_mutex.c, 7 times
- lib/libthr/thread/thr_private.h, 10 times
- lib/libthr/thread/thr_rwlock.c, 4 times
- lib/libthr/thread/thr_umtx.c, 3 times
- lib/libusb/libusb10_io.c, 3 times
- lib/libutil/pidfile.c, line 135
- lib/libutil/pw_util.c, 2 times
- libexec/getty/subr.c, line 656
- sbin/fsck_ffs/fsutil.c, 15 times
- sbin/hastd/hastd.c, line 1038
- sbin/hastd/primary.c, line 2420
- sbin/restore/dirs.c, 4 times
- sbin/restore/tape.c, 4 times
- share/examples/scsi_target/scsi_target.c, line 417
- sys/amd64/vmm/io/vrtc.c, line 200
- sys/arm/allwinner/aw_rtc.c, 2 times
- sys/arm/amlogic/aml8726/aml8726_rtc.c, 2 times
- sys/arm/lpc/lpc_rtc.c, line 105
- sys/arm/mv/armada38x/rtc.c, 3 times
- sys/arm/mv/rtc.c, 2 times
- sys/arm/nvidia/tegra_xhci.c, line 881
- sys/arm/ti/ti_pruss.c, line 679
- sys/cddl/compat/opensolaris/sys/time.h, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c, line 833
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h, 2 times
- sys/cddl/contrib/opensolaris/uts/common/os/fm.c, 2 times
- sys/cddl/dev/dtrace/aarch64/dtrace_subr.c, 2 times
- sys/cddl/dev/dtrace/amd64/dtrace_subr.c, line 385
- sys/cddl/dev/dtrace/arm/dtrace_subr.c, 2 times
- sys/cddl/dev/dtrace/i386/dtrace_subr.c, line 387
- sys/cddl/dev/dtrace/mips/dtrace_subr.c, 2 times
- sys/cddl/dev/dtrace/powerpc/dtrace_subr.c, line 263
- sys/cddl/dev/dtrace/riscv/dtrace_subr.c, 2 times
- sys/compat/cloudabi/cloudabi_clock.c, line 74
- sys/compat/cloudabi/cloudabi_file.c, 6 times
- sys/compat/freebsd32/freebsd32.h, line 69
- sys/compat/freebsd32/freebsd32_misc.c, 16 times
- sys/compat/linux/linux_event.c, 4 times
- sys/compat/linux/linux_misc.c, 15 times
- sys/compat/linux/linux_stats.c, 18 times
- sys/compat/linux/linux_time.c, 6 times
- sys/compat/linux/linux_timer.h, line 84
- sys/compat/linuxkpi/common/include/linux/jiffies.h, line 63
- sys/compat/linuxkpi/common/include/linux/ktime.h, line 133
- sys/compat/linuxkpi/common/include/linux/sched.h, line 175
- sys/compat/linuxkpi/common/include/linux/time.h, 8 times
- sys/compat/ndis/subr_ndis.c, line 2570
- sys/compat/ndis/subr_ntoskrnl.c, 3 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, 5 times
- sys/dev/acpica/acpi_hpet.c, 2 times
- sys/dev/bwn/if_bwn_phy_g.c, line 2281
- sys/dev/bwn/if_bwnvar.h, line 56
- sys/dev/drm2/drm_os_freebsd.h, line 457
- sys/dev/drm2/i915/i915_gem.c, 2 times
- sys/dev/drm2/i915/intel_pm.c, line 3109
- sys/dev/efidev/efirtc.c, line 106
- sys/dev/hwpmc/hwpmc_logging.c, line 571
- sys/dev/hyperv/utilities/hv_snapshot.c, line 734
- sys/dev/hyperv/utilities/vmbus_timesync.c, 3 times
- sys/dev/hyperv/vmbus/vmbus_et.c, line 93
- sys/dev/iicbus/ds13rtc.c, line 365
- sys/dev/iicbus/ds1672.c, 2 times
- sys/dev/iicbus/isl12xx.c, line 293
- sys/dev/iicbus/nxprtc.c, line 650
- sys/dev/iicbus/rtc8583.c, line 261
- sys/dev/isp/isp_freebsd.h, line 380
- sys/dev/joy/joy.c, 4 times
- sys/dev/mc146818/mc146818.c, 2 times
- sys/dev/mk48txx/mk48txx.c, 2 times
- sys/dev/patm/if_patm_rx.c, line 508
- sys/dev/sio/sio.c, 3 times
- sys/dev/sound/clone.c, 7 times
- sys/dev/watchdog/watchdog.c, line 89
- sys/dev/xen/timer/timer.c, 2 times
- sys/fs/cd9660/cd9660_node.c, 2 times
- sys/fs/devfs/devfs_vnops.c, 2 times
- sys/fs/ext2fs/ext2_alloc.c, line 440
- sys/fs/ext2fs/ext2_vnops.c, 10 times
- sys/fs/fdescfs/fdesc_vnops.c, line 442
- sys/fs/fuse/fuse_internal.h, 3 times
- sys/fs/fuse/fuse_vnops.c, 2 times
- sys/fs/msdosfs/msdosfs_vnops.c, line 310
- sys/fs/nandfs/nandfs_vnops.c, 5 times
- sys/fs/nfs/nfs.h, 3 times
- sys/fs/nfs/nfs_commonport.c, 2 times
- sys/fs/nfs/nfs_commonsubs.c, 5 times
- sys/fs/nfs/xdr_subs.h, 8 times
- sys/fs/nfsclient/nfs_clcomsubs.c, line 395
- sys/fs/nfsclient/nfs_clport.c, 2 times
- sys/fs/nfsclient/nfs_clrpcops.c, line 4601
- sys/fs/nfsclient/nfsnode.h, 2 times
- sys/fs/nfsserver/nfs_nfsdport.c, 3 times
- sys/fs/nfsserver/nfs_nfsdserv.c, 5 times
- sys/fs/tmpfs/tmpfs_vnops.c, 3 times
- sys/fs/udf/udf_vnops.c, 2 times
- sys/kern/init_main.c, line 643
- sys/kern/kern_event.c, 2 times
- sys/kern/kern_ntptime.c, 36 times
- sys/kern/kern_sig.c, 3 times
- sys/kern/kern_tc.c, 10 times
- sys/kern/kern_thr.c, line 520
- sys/kern/kern_time.c, 22 times
- sys/kern/kern_timeout.c, line 740
- sys/kern/kern_umtx.c, 14 times
- sys/kern/ksched.c, line 66
- sys/kern/subr_clock.c, 4 times
- sys/kern/subr_fattime.c, 8 times
- sys/kern/subr_rtc.c, 5 times
- sys/kern/sys_generic.c, 4 times
- sys/kern/uipc_mqueue.c, 8 times
- sys/kern/uipc_sem.c, 5 times
- sys/kern/vfs_aio.c, 7 times
- sys/kern/vfs_syscalls.c, 12 times
- sys/kern/vfs_vnops.c, line 1397
- sys/mips/atheros/pcf2123_rtc.c, 2 times
- sys/mips/cavium/octeon_ds1337.c, line 163
- sys/mips/cavium/octeon_rtc.c, line 127
- sys/net/bpf.c, line 2358
- sys/netgraph/netflow/netflow.c, line 1063
- sys/netsmb/smb_trantcp.c, line 550
- sys/nfs/xdr_subs.h, 6 times
- sys/nfsclient/nfsnode.h, 2 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h, line 58
- sys/pc98/cbus/sio.c, 3 times
- sys/powerpc/mpc85xx/ds1553_bus_fdt.c, line 123
- sys/powerpc/mpc85xx/ds1553_core.c, 2 times
- sys/powerpc/powermac/cuda.c, line 771
- sys/powerpc/powermac/pmu.c, line 1089
- sys/powerpc/ps3/ps3bus.c, line 754
- sys/security/audit/audit_bsm.c, line 138
- sys/sparc64/pci/sbbc.c, 2 times
- sys/sparc64/sparc64/eeprom.c, line 178
- sys/sparc64/sparc64/rtc.c, line 220
- sys/sys/time.h, 16 times
- sys/sys/timepps.h, 2 times
- sys/sys/timespec.h, 2 times
- sys/ufs/ffs/ffs_alloc.c, line 1111
- sys/ufs/ffs/ffs_snapshot.c, line 698
- sys/ufs/ufs/ufs_vnops.c, 13 times
- sys/x86/iommu/intel_dmar.h, line 520
- sys/x86/iommu/intel_utils.c, 3 times
- sys/x86/x86/pvclock.c, line 202
- tests/sys/aio/aio_kqueue_test.c, line 162
- tests/sys/aio/lio_kqueue_test.c, line 159
- tests/sys/fifo/fifo_io.c, 2 times
- tools/KSE/ksetest/kse_threads_test.c, line 108
- tools/build/futimens.c, 24 times
- tools/build/utimensat.c, 24 times
- tools/regression/gaithrstress/gaithrstress.c, 7 times
- tools/regression/p1003_1b/fifo.c, 2 times
- tools/regression/posixsem/posixsem.c, 15 times
- tools/regression/sockets/kqueue/kqueue.c, 5 times
- tools/regression/tmpfs/h_tools.c, line 135
- tools/test/ppsapi/ppsapitest.c, 4 times
- tools/tools/crypto/cryptostats.c, 3 times
- tools/tools/crypto/cryptotest.c, 3 times
- tools/tools/mctest/mctest.cc, line 381
- tools/tools/net80211/wesside/udps/udps.c, line 78
- tools/tools/netmap/pkt-gen.c, 36 times
- tools/tools/netrate/juggle/juggle.c, 9 times
- tools/tools/netrate/netblast/netblast.c, 2 times
- tools/tools/netrate/netreceive/netreceive.c, 12 times
- tools/tools/netrate/netsend/netsend.c, 20 times
- tools/tools/netrate/tcpp/tcpp_client.c, 7 times
- tools/tools/syscall_timing/syscall_timing.c, 7 times
- usr.bin/ctlstat/ctlstat.c, 6 times
- usr.bin/diff/diffreg.c, 2 times
- usr.bin/find/function.c, 5 times
- usr.bin/grdc/grdc.c, 4 times
- usr.bin/kdump/kdump.c, 8 times
- usr.bin/mail/util.c, line 329
- usr.bin/mkimg/uuid.c, line 78
- usr.bin/mkuzip/mkuz_time.h, line 33
- usr.bin/nfsstat/nfsstat.c, 2 times
- usr.bin/script/script.c, 6 times
- usr.bin/stat/stat.c, 2 times
- usr.bin/tail/forward.c, 2 times
- usr.bin/tip/libacu/courier.c, line 351
- usr.bin/tip/libacu/t3000.c, line 369
- usr.bin/top/machine.c, 3 times
- usr.bin/touch/touch.c, 10 times
- usr.bin/truss/setup.c, 2 times
- usr.bin/truss/syscalls.c, 5 times
- usr.bin/truss/truss.h, 10 times
- usr.bin/unzip/unzip.c, 4 times
- usr.bin/vmstat/vmstat.c, line 447
- usr.bin/xinstall/xinstall.c, line 1395
- usr.sbin/autofs/autounmountd.c, line 241
- usr.sbin/camdd/camdd.c, 6 times
- usr.sbin/cron/cron/cron.c, 8 times
- usr.sbin/ctladm/ctladm.c, 2 times
- usr.sbin/dconschat/dconschat.c, 3 times
- usr.sbin/fmtree/compare.c, 3 times
- usr.sbin/fmtree/create.c, line 218
- usr.sbin/fmtree/spec.c, 2 times
- usr.sbin/gstat/gstat.c, 2 times
- usr.sbin/jail/command.c, 9 times
- usr.sbin/lpr/common_source/common.c, line 481
- usr.sbin/lpr/common_source/lp.h, 2 times
- usr.sbin/makefs/makefs.c, 2 times
- usr.sbin/makefs/walk.c, 4 times
- usr.sbin/moused/moused.c, 16 times
- usr.sbin/nscd/nscdcli.c, 2 times
- usr.sbin/rtadvd/config.c, line 1205
- usr.sbin/rtadvd/rtadvd.c, 7 times
- usr.sbin/rtadvd/timer.c, 3 times
- usr.sbin/rtadvd/timer_subr.c, line 53
- usr.sbin/rtadvd/timer_subr.h, 12 times
- usr.sbin/rtsold/dump.c, 5 times
- usr.sbin/rtsold/rtsold.c, 9 times
- usr.sbin/rtsold/rtsold.h, 12 times
- usr.sbin/watchdogd/watchdogd.c, 3 times