Defined in 8 files as a prototype:
Defined in 7 files as a member:
Defined in 7 files as a macro:
Defined in 2 files as a function:
Referenced in 353 files:
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.c, line 33
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sdt/tst.sdtargs.c, line 45
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post.c, line 43
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post_chan.c, line 47
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.aouttype.c, line 31
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.chasestrings.c, line 75
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.libtype.c, line 25
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.printtype.c, line 68
- cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, 3 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, line 1130
- cddl/usr.sbin/zfsd/zfsd.cc, line 136
- contrib/amd/amd/amfs_toplvl.c, line 298
- contrib/amd/amd/autil.c, line 775
- contrib/amd/hlfsd/hlfsd.c, 2 times
- contrib/amd/libamu/mount_fs.c, line 254
- contrib/amd/libamu/xutil.c, line 196
- contrib/atf/atf-c/detail/process_test.c, 2 times
- contrib/atf/test-programs/c_helpers.c, line 354
- contrib/atf/test-programs/cpp_helpers.cpp, line 210
- contrib/capsicum-test/capability-fd.cc, 2 times
- contrib/capsicum-test/capmode.cc, 5 times
- contrib/capsicum-test/linux.cc, 9 times
- contrib/capsicum-test/mqueue.cc, line 81
- contrib/capsicum-test/procdesc.cc, 16 times
- contrib/capsicum-test/sctp.cc, 3 times
- contrib/capsicum-test/smoketest.c, 2 times
- contrib/capsicum-test/socket.cc, 2 times
- contrib/capsicum-test/waittest.c, 2 times
- contrib/compiler-rt/lib/fuzzer/FuzzerShmemPosix.cpp, line 98
- contrib/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp, line 112
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc, line 202
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 140
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_rtems.cc, line 69
- contrib/compiler-rt/lib/tsan/rtl/tsan_debugging.cc, 2 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, 4 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_report.cc, 3 times
- contrib/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc, line 366
- contrib/dma/dma.c, line 351
- contrib/gcclibs/libiberty/pex-unix.c, line 378
- contrib/gdb/gdb/fork-child.c, line 297
- contrib/gdb/gdb/procfs.c, line 504
- contrib/gdb/gdb/remote-mips.c, 2 times
- contrib/gdb/gdb/remote-rdp.c, line 334
- contrib/gdb/gdb/ser-go32.c, line 510
- contrib/ipfilter/ipsend/arp.c, line 117
- contrib/ipfilter/ipsend/lsock.c, line 256
- contrib/ipfilter/ipsend/sock.c, line 452
- contrib/ipfilter/tools/ipfsyncd.c, line 201
- contrib/ipfilter/tools/ipmon.c, line 1866
- contrib/ipfilter/tools/ipsyncm.c, 2 times
- contrib/ipfilter/tools/ipsyncs.c, 2 times
- contrib/ldns/net.c, line 610
- contrib/less/ch.c, line 315
- contrib/libarchive/libarchive/filter_fork_posix.c, line 234
- contrib/libarchive/libarchive/test/main.c, line 2215
- contrib/libarchive/test_utils/test_main.c, line 3039
- contrib/libevent/evutil_time.c, line 141
- contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/DarwinProcessLauncher.cpp, line 181
- contrib/ncurses/include/nc_mingw.h, line 48
- contrib/ncurses/ncurses/tinfo/lib_print.c, line 99
- contrib/netbsd-tests/dev/sysmon/t_swwdog.c, line 118
- contrib/netbsd-tests/fs/common/snapshot.c, line 196
- contrib/netbsd-tests/fs/ffs/h_quota2_tests.c, 2 times
- contrib/netbsd-tests/fs/tmpfs/t_renamerace.c, line 103
- contrib/netbsd-tests/fs/vfs/t_mtime_otrunc.c, line 81
- contrib/netbsd-tests/fs/vfs/t_renamerace.c, 2 times
- contrib/netbsd-tests/fs/vfs/t_rmdirrace.c, line 90
- contrib/netbsd-tests/kernel/h_ps_strings2.c, line 66
- contrib/netbsd-tests/kernel/kqueue/read/t_file.c, 2 times
- contrib/netbsd-tests/kernel/kqueue/read/t_ttypty.c, line 73
- contrib/netbsd-tests/kernel/kqueue/t_proc1.c, 2 times
- contrib/netbsd-tests/kernel/kqueue/t_proc2.c, 2 times
- contrib/netbsd-tests/kernel/kqueue/t_sig.c, 3 times
- contrib/netbsd-tests/kernel/kqueue/write/t_ttypty.c, line 70
- contrib/netbsd-tests/kernel/t_lockf.c, line 248
- contrib/netbsd-tests/kernel/t_pty.c, line 71
- contrib/netbsd-tests/kernel/t_sysv.c, line 640
- contrib/netbsd-tests/lib/libc/gen/t_alarm.c, line 66
- contrib/netbsd-tests/lib/libc/gen/t_pause.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_raise.c, line 76
- contrib/netbsd-tests/lib/libc/gen/t_siginfo.c, 3 times
- contrib/netbsd-tests/lib/libc/gen/t_sleep.c, 5 times
- contrib/netbsd-tests/lib/libc/gen/t_time.c, line 75
- contrib/netbsd-tests/lib/libc/rpc/t_rpc.c, line 203
- contrib/netbsd-tests/lib/libc/sys/t_getitimer.c, line 140
- contrib/netbsd-tests/lib/libc/sys/t_kill.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c, line 139
- contrib/netbsd-tests/lib/libc/sys/t_mkfifo.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, line 180
- contrib/netbsd-tests/lib/libc/sys/t_poll.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_select.c, 3 times
- contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c, line 216
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 219
- contrib/netbsd-tests/lib/libc/sys/t_timer_create.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_wait.c, 3 times
- contrib/netbsd-tests/lib/libc/ttyio/t_ttyio.c, 2 times
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 193
- contrib/netbsd-tests/lib/libpthread/t_barrier.c, line 88
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_detach.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_fork.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_fpu.c, line 122
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 12 times
- contrib/netbsd-tests/lib/libpthread/t_preempt.c, line 65
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_sleep.c, line 50
- contrib/netbsd-tests/libexec/ld.elf_so/h_locking.c, 5 times
- contrib/netbsd-tests/net/icmp/t_forward.c, line 122
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, line 111
- contrib/netcat/netcat.c, line 849
- contrib/ntp/lib/isc/tests/isctest.c, line 176
- contrib/ntp/lib/isc/unix/keyboard.c, line 87
- contrib/ntp/lib/isc/unix/socket.c, line 1044
- contrib/ntp/libntp/machines.c, line 108
- contrib/ntp/libntp/work_fork.c, line 142
- contrib/ntp/ntpd/ntpd.c, line 304
- contrib/ntp/ntpd/refclock_neoclock4x.c, 4 times
- contrib/ntp/ntpd/refclock_true.c, 2 times
- contrib/ntp/ntpq/ntpq-subs.c, line 2861
- contrib/ntp/sntp/libevent/evutil_time.c, line 134
- contrib/ntp/sntp/tests/kodDatabase.c, line 105
- contrib/ntp/util/sht.c, line 186
- contrib/ofed/infiniband-diags/src/ibping.c, line 278
- contrib/ofed/infiniband-diags/src/rdma-ndd.c, 2 times
- contrib/ofed/libmlx5/cq.c, line 644
- contrib/ofed/librdmacm/examples/mckey.c, line 526
- contrib/ofed/opensm/complib/cl_event_wheel.c, 3 times
- contrib/openbsm/bin/auditdistd/auditdistd.c, line 181
- contrib/openbsm/bin/auditdistd/subr.c, 4 times
- contrib/openmp/runtime/src/z_Linux_util.cpp, line 1909
- contrib/opie/libopie/lock.c, line 190
- contrib/opie/opieftpd.c, 2 times
- contrib/opie/opielogin.c, 2 times
- contrib/pf/authpf/authpf.c, 3 times
- contrib/pf/tftp-proxy/tftp-proxy.c, line 326
- contrib/sendmail/libmilter/listener.c, line 708
- contrib/sendmail/libsm/sem.c, 2 times
- contrib/sendmail/libsm/t-event.c, 4 times
- contrib/sendmail/libsm/t-memstat.c, line 96
- contrib/sendmail/libsm/t-sem.c, 8 times
- contrib/sendmail/libsm/t-shm.c, 5 times
- contrib/sendmail/libsmutil/safefile.c, line 939
- contrib/sendmail/mail.local/mail.local.c, line 1504
- contrib/sendmail/mailstats/mailstats.c, line 234
- contrib/sendmail/src/alias.c, line 438
- contrib/sendmail/src/collect.c, line 340
- contrib/sendmail/src/conf.c, 2 times
- contrib/sendmail/src/daemon.c, 4 times
- contrib/sendmail/src/deliver.c, 2 times
- contrib/sendmail/src/map.c, line 2974
- contrib/sendmail/src/queue.c, 7 times
- contrib/sendmail/src/srvrsmtp.c, 6 times
- contrib/sendmail/src/usersmtp.c, line 2666
- contrib/sqlite3/sqlite3.c, 3 times
- contrib/sqlite3/sqlite3ext.h, line 499
- contrib/subversion/subversion/libsvn_client/update.c, 3 times
- contrib/tcp_wrappers/clean_exit.c, line 41
- contrib/tcp_wrappers/percent_x.c, line 79
- contrib/tcp_wrappers/tli-sequent.c, line 186
- contrib/tcp_wrappers/tli.c, line 365
- contrib/tcsh/sh.c, 2 times
- contrib/tcsh/sh.proc.c, line 1819
- contrib/tcsh/vms.termcap.c, 4 times
- contrib/telnet/telnet/sys_bsd.c, line 908
- contrib/telnet/telnetd/telnetd.c, line 996
- contrib/telnet/telnetd/utility.c, line 343
- contrib/tnftp/src/ftp.c, line 1887
- contrib/tnftp/src/main.c, line 567
- contrib/wpa/src/common/wpa_helpers.c, line 232
- contrib/wpa/src/drivers/driver_wired_common.c, line 276
- contrib/wpa/src/utils/os_internal.c, line 29
- contrib/wpa/src/utils/os_unix.c, line 53
- crypto/heimdal/appl/ftp/ftp/ftp.c, line 1627
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 3 times
- crypto/heimdal/appl/kf/kfd.c, line 184
- crypto/heimdal/appl/login/shadow.c, line 76
- crypto/heimdal/appl/telnet/telnet/sys_bsd.c, line 814
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, line 1383
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, line 1041
- crypto/heimdal/appl/telnet/telnetd/utility.c, line 362
- crypto/heimdal/lib/hdb/hdb-sqlite.c, 3 times
- crypto/heimdal/lib/hdb/hdb.c, line 149
- crypto/heimdal/lib/kadm5/ipropd_slave.c, line 619
- crypto/heimdal/lib/krb5/test_cc.c, line 732
- crypto/openssh/logintest.c, line 166
- crypto/openssh/regress/netcat.c, line 828
- crypto/openssh/sshconnect.c, line 517
- crypto/openssl/apps/ocsp.c, 3 times
- crypto/openssl/apps/s_server.c, 2 times
- crypto/openssl/crypto/rand/rand_unix.c, 2 times
- lib/libc/gen/sleep.c, line 72
- lib/libc/include/namespace.h, line 267
- lib/libc/include/un-namespace.h, line 240
- lib/libc/tests/resolv/resolv_test.c, line 265
- lib/libc/tests/stdlib/cxa_thread_atexit_test.cc, 2 times
- lib/libcompat/4.3/rexec.c, line 328
- lib/libipsec/test-policy.c, 2 times
- lib/libutil/login_auth.c, line 106
- libexec/comsat/comsat.c, 2 times
- libexec/ftpd/ftpd.c, 3 times
- libexec/getty/main.c, 3 times
- libexec/getty/subr.c, line 630
- libexec/tftpd/tftp-io.c, line 126
- libexec/tftpd/tftpd.c, line 260
- release/picobsd/tinyware/login/pico-login.c, 2 times
- release/picobsd/tinyware/ns/ns.c, line 788
- release/picobsd/tinyware/oinit/oinit.c, line 739
- release/picobsd/tinyware/view/view.c, line 601
- release/picobsd/tinyware/vm/vm.c, line 106
- sbin/adjkerntz/adjkerntz.c, 2 times
- sbin/bsdlabel/bsdlabel.c, line 713
- sbin/camcontrol/camcontrol.c, 2 times
- sbin/dhclient/dhclient.c, 2 times
- sbin/dump/tape.c, 3 times
- sbin/fsck/preen.c, line 329
- sbin/ggate/ggatec/ggatec.c, line 430
- sbin/ggate/ggated/ggated.c, line 618
- sbin/gvinum/gvinum.c, line 1238
- sbin/hastd/hastd.c, line 359
- sbin/hastd/primary.c, 3 times
- sbin/init/init.c, 9 times
- sbin/iscontrol/fsm.c, 4 times
- sbin/mount_nfs/mount_nfs.c, line 635
- sbin/natd/natd.c, 2 times
- sbin/pfctl/pfctl_qstats.c, line 123
- sbin/ping6/ping6.c, line 1146
- sbin/reboot/reboot.c, 3 times
- sbin/route/route.c, 2 times
- sbin/setkey/setkey.c, line 368
- sbin/shutdown/shutdown.c, 3 times
- share/examples/libvgl/demo.c, 7 times
- share/examples/perfmon/perfmon.c, line 140
- share/examples/ses/srcs/chpmon.c, line 123
- share/examples/ses/srcs/sesd.c, line 174
- sys/cam/cam_xpt.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c, 4 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1274
- sys/contrib/ncsw/Peripherals/FM/Port/fm_port.c, 3 times
- sys/contrib/ncsw/Peripherals/FM/fm_ncsw.c, 2 times
- sys/contrib/zstd/programs/util.h, line 64
- sys/dev/etherswitch/rtl8366/rtl8366rb.c, 40 times
- sys/dev/usb/wlan/if_rum.c, 8 times
- sys/dev/vnic/nicvf_main.c, 3 times
- sys/geom/journal/g_journal.c, 3 times
- sys/kern/kern_umtx.c, 4 times
- sys/kern/subr_sleepqueue.c, 2 times
- sys/kern/subr_turnstile.c, 2 times
- sys/vm/vm_page.c, 6 times
- tests/sys/cddl/zfs/bin/dir_rd_update.c, 2 times
- tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c, line 144
- tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c, line 158
- tests/sys/fifo/fifo_create.c, line 113
- tests/sys/fifo/fifo_open.c, 3 times
- tests/sys/file/flock_helper.c, 4 times
- tests/sys/file/newfileops_on_fork_test.c, line 121
- tests/sys/kern/kcov.c, 3 times
- tests/sys/kern/ptrace_test.c, 8 times
- tests/sys/kern/waitpid_nohang.c, line 45
- tests/sys/kqueue/libkqueue/proc.c, 4 times
- tests/sys/kqueue/libkqueue/timer.c, 4 times
- tools/regression/capsicum/syscalls/cap_fcntls_limit.c, 3 times
- tools/regression/capsicum/syscalls/cap_getmode.c, line 144
- tools/regression/capsicum/syscalls/cap_ioctls_limit.c, 3 times
- tools/regression/netinet/tcpdrop/tcpdrop.c, 4 times
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, 4 times
- tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c, 3 times
- tools/regression/netinet/udpzerobyte/udpzerobyte.c, line 93
- tools/regression/posixsem2/semtest.c, 2 times
- tools/regression/priv/priv_sched_rtprio.c, 2 times
- tools/regression/priv/priv_sched_setpriority.c, 2 times
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, line 66
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 34
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 51
- tools/regression/pthread/unwind/sem_wait_cancel.cpp, line 30
- tools/regression/security/cap_test/cap_test_pdkill.c, line 77
- tools/regression/security/proc_to_proc/scenario.c, 2 times
- tools/regression/sigqueue/sigqtest2/sigqtest2.c, 2 times
- tools/regression/sockets/pr_atomic/pr_atomic.c, line 90
- tools/regression/sockets/sblock/sblock.c, 4 times
- tools/regression/sockets/sigpipe/sigpipe.c, 2 times
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 107
- tools/regression/sockets/unix_gc/unix_gc.c, 5 times
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, 5 times
- tools/regression/sockets/unix_sorflush/unix_sorflush.c, 3 times
- tools/regression/sockets/zerosend/zerosend.c, 2 times
- tools/regression/sysvsem/semtest.c, line 337
- tools/regression/tls/ttls2/ttls2.c, 2 times
- tools/regression/tls/ttls4/ttls4.c, line 38
- tools/tools/ath/athsurvey/athsurvey.c, line 209
- tools/tools/iwn/iwnstats/main.c, line 225
- tools/tools/mcgrab/mcgrab.cc, line 143
- tools/tools/netmap/bridge.c, 2 times
- tools/tools/netmap/lb.c, 2 times
- tools/tools/netmap/nmreplay.c, 3 times
- tools/tools/netmap/pkt-gen.c, line 2550
- tools/tools/netrate/http/http.c, 4 times
- tools/tools/netrate/tcpp/tcpp_server.c, line 318
- usr.bin/chat/chat.c, line 1116
- usr.bin/ctlstat/ctlstat.c, line 723
- usr.bin/env/env.c, line 129
- usr.bin/fetch/fetch.c, line 1196
- usr.bin/fortune/fortune/fortune.c, line 212
- usr.bin/iscsictl/iscsictl.c, line 679
- usr.bin/kdump/kdump.c, line 547
- usr.bin/leave/leave.c, 4 times
- usr.bin/lock/lock.c, line 260
- usr.bin/login/login.c, 2 times
- usr.bin/nfsstat/nfsstat.c, 2 times
- usr.bin/procstat/procstat.c, line 464
- usr.bin/systat/vmstat.c, line 406
- usr.bin/tip/libacu/biz22.c, line 128
- usr.bin/tip/libacu/biz31.c, 3 times
- usr.bin/tip/libacu/courier.c, 6 times
- usr.bin/tip/libacu/df.c, 2 times
- usr.bin/tip/libacu/dn11.c, 3 times
- usr.bin/tip/libacu/hayes.c, 5 times
- usr.bin/tip/libacu/t3000.c, 6 times
- usr.bin/tip/libacu/v3451.c, 2 times
- usr.bin/tip/libacu/v831.c, 4 times
- usr.bin/tip/libacu/ventel.c, 3 times
- usr.bin/tip/tip/cmds.c, 3 times
- usr.bin/tip/tip/tip.c, line 400
- usr.bin/top/top.c, line 581
- usr.bin/tset/set.c, line 272
- usr.sbin/ancontrol/ancontrol.c, line 1511
- usr.sbin/cron/cron/do_command.c, line 232
- usr.sbin/cron/crontab/crontab.c, line 623
- usr.sbin/diskinfo/diskinfo.c, line 346
- usr.sbin/edquota/edquota.c, 5 times
- usr.sbin/gstat/gstat.c, line 571
- usr.sbin/inetd/inetd.c, 3 times
- usr.sbin/kbdmap/kbdmap.c, line 840
- usr.sbin/lpr/common_source/net.c, 2 times
- usr.sbin/lpr/common_source/rmjob.c, line 182
- usr.sbin/lpr/lpd/lpd.c, line 848
- usr.sbin/lpr/lpd/printjob.c, 9 times
- usr.sbin/lpr/lpd/recvjob.c, line 404
- usr.sbin/mtest/mtest.c, line 417
- usr.sbin/ndp/ndp.c, line 759
- usr.sbin/newsyslog/newsyslog.c, 3 times
- usr.sbin/pkg/pkg.c, line 234
- usr.sbin/route6d/route6d.c, line 2618
- usr.sbin/rpc.lockd/lockd.c, line 880
- usr.sbin/rpc.lockd/lockd_lock.c, line 231
- usr.sbin/rpc.statd/file.c, 3 times
- usr.sbin/rtadvd/rtadvd.c, line 403
- usr.sbin/rwhod/rwhod.c, line 540
- usr.sbin/trpt/trpt.c, line 288
- usr.sbin/uathload/uathload.c, line 238
- usr.sbin/watchdogd/watchdogd.c, line 373