Defined in 1 files as a prototype:
Defined in 3 files as a macro:
Defined in 2 files as a function:
Referenced in 183 files:
- cddl/compat/opensolaris/misc/thread_pool.c, line 219
- cddl/contrib/opensolaris/head/thread.h, line 97
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, line 898
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, line 707
- contrib/apr/threadproc/unix/thread.c, line 179
- contrib/capsicum-test/capmode.cc, 3 times
- contrib/capsicum-test/capsicum-test.h, 2 times
- contrib/capsicum-test/procdesc.cc, 2 times
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, line 1742
- contrib/googletest/googletest/test/googletest-port-test.cc, line 315
- contrib/jemalloc/src/background_thread.c, line 854
- contrib/lib9p/threadpool.c, line 187
- contrib/lib9p/transport/socket.c, line 185
- contrib/libevent/test/regress.c, line 1008
- contrib/libevent/test/regress_thread.h, line 35
- contrib/libpcap/rpcapd/daemon.c, line 1867
- contrib/libpcap/testprogs/threadsignaltest.c, line 277
- contrib/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp, 4 times
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, line 390
- contrib/llvm-project/compiler-rt/lib/hwasan/hwasan_interceptors.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/lsan/lsan_interceptors.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp, 4 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 682
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix.h, line 85
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mini_bench_local.cpp, line 41
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mini_bench_shared.cpp, line 43
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mop.cpp, line 49
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/start_many_threads.cpp, line 40
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/vts_many_threads_bench.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 4 times
- contrib/llvm-project/lldb/source/Host/common/ThreadLauncher.cpp, line 65
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 2 times
- contrib/netbsd-tests/dev/md/h_mdserv.c, line 99
- contrib/netbsd-tests/fs/common/fstest_lfs.c, line 168
- contrib/netbsd-tests/fs/common/fstest_puffs.c, 2 times
- contrib/netbsd-tests/fs/common/snapshot.c, line 195
- contrib/netbsd-tests/fs/ffs/t_fifos.c, 4 times
- contrib/netbsd-tests/fs/nfs/nfsservice/rumpnfsd.c, 2 times
- contrib/netbsd-tests/fs/nfs/t_mountd.c, line 98
- contrib/netbsd-tests/fs/puffs/t_basic.c, line 172
- contrib/netbsd-tests/fs/puffs/t_fuzz.c, line 226
- contrib/netbsd-tests/fs/tmpfs/t_renamerace.c, 2 times
- contrib/netbsd-tests/fs/vfs/t_renamerace.c, 4 times
- contrib/netbsd-tests/fs/vfs/t_rmdirrace.c, 2 times
- contrib/netbsd-tests/kernel/t_filedesc.c, line 92
- contrib/netbsd-tests/lib/libc/gen/t_nice.c, 2 times
- contrib/netbsd-tests/lib/libc/net/h_nsd_recurse.c, line 104
- contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_getpid.c, line 116
- contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c, 2 times
- contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c, 2 times
- contrib/netbsd-tests/lib/libc/tls/t_tls_static.c, 2 times
- contrib/netbsd-tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 82
- contrib/netbsd-tests/lib/libpthread/dlopen/t_main_pthread_create.c, line 65
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 137
- contrib/netbsd-tests/lib/libpthread/t_barrier.c, line 86
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 10 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 121
- contrib/netbsd-tests/lib/libpthread/t_detach.c, line 69
- contrib/netbsd-tests/lib/libpthread/t_equal.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_fork.c, line 82
- contrib/netbsd-tests/lib/libpthread/t_fpu.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_join.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_kill.c, line 125
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 9 times
- contrib/netbsd-tests/lib/libpthread/t_name.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_once.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_preempt.c, line 102
- contrib/netbsd-tests/lib/libpthread/t_rwlock.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_sem.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_sigalarm.c, line 93
- contrib/netbsd-tests/lib/libpthread/t_siglongjmp.c, line 83
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_sleep.c, line 84
- contrib/netbsd-tests/lib/libpthread/t_swapcontext.c, line 117
- contrib/netbsd-tests/lib/libpthread_dbg/t_threads.c, 9 times
- contrib/netbsd-tests/lib/librumpclient/h_execthr.c, 4 times
- contrib/netbsd-tests/lib/semaphore/sem.c, 2 times
- contrib/netbsd-tests/libexec/ld.elf_so/h_locking.c, 5 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, 5 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, line 171
- contrib/ntp/lib/isc/pthreads/thread.c, line 60
- contrib/ntp/libntp/work_thread.c, line 620
- contrib/ntp/ntpd/ntpd.c, line 371
- contrib/ntp/sntp/libevent/test/regress_thread.h, line 35
- contrib/ofed/librdmacm/examples/cmtime.c, 3 times
- contrib/ofed/librdmacm/examples/mckey.c, line 519
- contrib/ofed/librdmacm/examples/rping.c, 5 times
- contrib/ofed/librdmacm/rsocket.c, line 451
- contrib/ofed/opensm/complib/cl_thread.c, line 84
- contrib/ofed/opensm/complib/cl_threadpool.c, line 107
- contrib/ofed/opensm/complib/cl_timer.c, line 88
- contrib/openbsm/bin/auditdistd/receiver.c, 2 times
- contrib/openbsm/bin/auditdistd/sender.c, 3 times
- contrib/processor-trace/include/posix/threads.h, line 98
- contrib/sendmail/libmilter/libmilter.h, line 131
- contrib/sqlite3/sqlite3.c, line 30448
- contrib/unbound/util/locks.h, 2 times
- contrib/xz/src/common/mythread.h, line 163
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 681
- crypto/openssh/auth-pam.c, line 775
- lib/libc/include/un-namespace.h, line 114
- lib/libc/tests/resolv/resolv_test.c, line 248
- lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c, line 64
- lib/libstdthreads/thrd.c, line 69
- lib/libthr/thread/thr_create.c, line 52
- lib/libusb/libusb10_hotplug.c, line 207
- sbin/ggate/ggatec/ggatec.c, line 401
- sbin/ggate/ggated/ggated.c, 2 times
- sbin/hastd/primary.c, 7 times
- sbin/hastd/secondary.c, 3 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1640
- sys/contrib/openzfs/cmd/zed/agents/zfs_agents.c, line 381
- sys/contrib/openzfs/cmd/zed/agents/zfs_mod.c, line 907
- sys/contrib/openzfs/cmd/zed/zed_disk_event.c, line 375
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 10145
- sys/contrib/openzfs/lib/libtpool/thread_pool.c, line 236
- sys/contrib/openzfs/lib/libzfs/libzfs_diff.c, line 747
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, 4 times
- sys/contrib/openzfs/lib/libzpool/kernel.c, line 120
- sys/contrib/openzfs/module/zstd/lib/zstd.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/mmapwrite.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/rm_lnkcnt_zero_file.c, 3 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/threadsappend.c, line 122
- sys/contrib/zstd/lib/common/threading.h, 2 times
- tests/sys/cddl/zfs/bin/mmapwrite.c, line 86
- tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c, 3 times
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 120
- tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c, line 476
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, 2 times
- tests/sys/file/flock_helper.c, line 1494
- tests/sys/file/newfileops_on_fork_test.c, line 119
- tests/sys/fs/fusefs/destroy.cc, 2 times
- tests/sys/fs/fusefs/dev_fuse_poll.cc, 3 times
- tests/sys/fs/fusefs/fifo.cc, 2 times
- tests/sys/fs/fusefs/interrupt.cc, 6 times
- tests/sys/fs/fusefs/mockfs.cc, line 457
- tests/sys/fs/fusefs/notify.cc, 10 times
- tests/sys/fs/fusefs/statfs.cc, line 119
- tests/sys/fs/fusefs/xattr.cc, line 437
- tests/sys/kern/kcov.c, 4 times
- tests/sys/kern/ptrace_test.c, 11 times
- tests/sys/kern/sendfile_helper.c, line 126
- tests/sys/kern/unix_seqpacket_test.c, 2 times
- tests/sys/netmap/ctrl-api-test.c, 3 times
- tools/regression/gaithrstress/gaithrstress.c, line 243
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, line 65
- tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c, line 66
- tools/regression/pthread/unwind/catch_pthread_exit.cpp, line 28
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 33
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 50
- tools/regression/pthread/unwind/sem_wait_cancel.cpp, line 29
- tools/regression/pthread/unwind/thread_normal_exit.cpp, line 24
- tools/regression/tls/ttls2/ttls2.c, 2 times
- tools/regression/tls/ttls4/ttls4.c, 2 times
- tools/test/pthread_vfork/pthread_vfork_test.c, line 93
- tools/tools/mctest/mctest.cc, line 373
- tools/tools/netmap/lb.c, line 829
- tools/tools/netmap/nmreplay.c, line 1260
- tools/tools/netmap/pkt-gen.c, line 2554
- tools/tools/netrate/http/http.c, line 310
- tools/tools/netrate/httpd/httpd.c, line 282
- tools/tools/netrate/juggle/juggle.c, line 328
- tools/tools/netrate/netreceive/netreceive.c, line 150
- tools/tools/syscall_timing/syscall_timing.c, line 558
- tools/tools/tscdrift/tscdrift.c, line 134
- usr.bin/mkuzip/mkuz_conveyor.c, line 123
- usr.bin/sort/file.c, line 1566
- usr.bin/sort/radixsort.c, line 653
- usr.sbin/bhyve/bhyverun.c, line 501
- usr.sbin/bhyve/block_if.c, line 609
- usr.sbin/bhyve/hda_codec.c, line 914
- usr.sbin/bhyve/mevent_test.c, 2 times
- usr.sbin/bhyve/pci_e82545.c, line 2300
- usr.sbin/bhyve/pci_virtio_net.c, line 690
- usr.sbin/bhyve/pci_virtio_scsi.c, line 656
- usr.sbin/bhyve/rfb.c, 2 times
- usr.sbin/bhyve/snapshot.c, 2 times
- usr.sbin/camdd/camdd.c, line 3370
- usr.sbin/ngctl/main.c, line 301
- usr.sbin/nscd/nscd.c, line 849
- usr.sbin/pppctl/pppctl.c, 2 times