Defined in 1 files as a prototype:
Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 132 files:
- cddl/contrib/opensolaris/head/thread.h, line 49
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, line 729
- contrib/apr/threadproc/unix/thread.c, line 217
- contrib/capsicum-test/capmode.cc, 3 times
- contrib/capsicum-test/capsicum-test.h, 2 times
- contrib/capsicum-test/procdesc.cc, line 259
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, line 1748
- contrib/googletest/googletest/test/googletest-port-test.cc, line 322
- contrib/jemalloc/src/background_thread.c, line 338
- contrib/lib9p/threadpool.c, line 413
- contrib/libevent/test/regress.c, line 1027
- contrib/libevent/test/regress_thread.h, line 36
- contrib/libpcap/rpcapd/daemon.c, line 2666
- contrib/libpcap/testprogs/threadsignaltest.c, line 298
- contrib/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/lsan/lsan_interceptors.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp, 3 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 687
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix.h, line 88
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mini_bench_local.cpp, line 44
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mini_bench_shared.cpp, line 46
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/mop.cpp, line 51
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/start_many_threads.cpp, line 46
- 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/posix/HostThreadPosix.cpp, line 28
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 2 times
- contrib/netbsd-tests/fs/common/fstest_lfs.c, line 117
- contrib/netbsd-tests/fs/common/snapshot.c, line 212
- contrib/netbsd-tests/fs/ffs/t_fifos.c, 4 times
- contrib/netbsd-tests/fs/nfs/t_mountd.c, line 104
- 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 100
- contrib/netbsd-tests/lib/libc/gen/t_nice.c, line 202
- contrib/netbsd-tests/lib/libc/net/h_nsd_recurse.c, line 106
- contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_getpid.c, line 119
- 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/t_barrier.c, line 92
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 10 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 122
- contrib/netbsd-tests/lib/libpthread/t_detach.c, line 78
- contrib/netbsd-tests/lib/libpthread/t_equal.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_fork.c, line 90
- contrib/netbsd-tests/lib/libpthread/t_join.c, 8 times
- contrib/netbsd-tests/lib/libpthread/t_kill.c, line 138
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 9 times
- contrib/netbsd-tests/lib/libpthread/t_name.c, line 93
- contrib/netbsd-tests/lib/libpthread/t_once.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_preempt.c, line 118
- contrib/netbsd-tests/lib/libpthread/t_sem.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, line 196
- contrib/netbsd-tests/lib/libpthread/t_sleep.c, line 96
- contrib/netbsd-tests/lib/libpthread/t_swapcontext.c, line 118
- contrib/netbsd-tests/lib/librumpclient/h_execthr.c, line 135
- contrib/netbsd-tests/lib/semaphore/sem.c, 2 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, 5 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_stresscli.c, line 179
- contrib/ntp/lib/isc/pthreads/include/isc/thread.h, line 47
- contrib/ntp/ntpd/ntpd.c, line 380
- contrib/ntp/sntp/libevent/test/regress_thread.h, line 36
- contrib/ofed/librdmacm/examples/rping.c, 4 times
- contrib/ofed/librdmacm/rsocket.c, line 467
- contrib/ofed/opensm/complib/cl_thread.c, line 101
- contrib/ofed/opensm/complib/cl_threadpool.c, line 129
- contrib/ofed/opensm/complib/cl_timer.c, line 109
- contrib/processor-trace/include/posix/threads.h, line 115
- contrib/sqlite3/sqlite3.c, line 30468
- contrib/unbound/util/locks.h, line 174
- contrib/xz/src/common/mythread.h, line 173
- crypto/heimdal/appl/gssmask/gssmaestro.c, line 953
- crypto/openssh/auth-pam.c, line 589
- lib/libc/gen/_pthread_stubs.c, line 281
- lib/libc/include/un-namespace.h, line 127
- lib/libc/tests/stdlib/dynthr_mod/dynthr_mod.c, line 69
- lib/libstdthreads/thrd.c, line 111
- lib/libthr/thread/thr_join.c, line 44
- lib/libusb/libusb10.c, line 251
- sys/contrib/openzfs/cmd/zed/agents/zfs_agents.c, line 398
- sys/contrib/openzfs/cmd/zed/agents/zfs_mod.c, line 926
- sys/contrib/openzfs/cmd/zed/zed_disk_event.c, line 392
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, line 10191
- sys/contrib/openzfs/include/sys/zfs_context.h, line 235
- sys/contrib/openzfs/lib/libzfs/libzfs_diff.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, 4 times
- sys/contrib/openzfs/module/zstd/lib/zstd.c, 2 times
- sys/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/mmapwrite.c, line 160
- sys/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/threadsappend.c, line 131
- sys/contrib/zstd/lib/common/threading.h, 2 times
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 130
- tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c, line 484
- tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c, 2 times
- tests/sys/file/flock_helper.c, line 1512
- tests/sys/fs/fusefs/destroy.cc, 2 times
- tests/sys/fs/fusefs/dev_fuse_poll.cc, 3 times
- tests/sys/fs/fusefs/fifo.cc, line 58
- tests/sys/fs/fusefs/interrupt.cc, 6 times
- tests/sys/fs/fusefs/mockfs.cc, line 465
- tests/sys/fs/fusefs/notify.cc, 10 times
- tests/sys/fs/fusefs/statfs.cc, line 125
- tests/sys/fs/fusefs/xattr.cc, line 147
- tests/sys/kern/kcov.c, 4 times
- tests/sys/kern/ptrace_test.c, 6 times
- tests/sys/kern/unix_seqpacket_test.c, 2 times
- tests/sys/netmap/ctrl-api-test.c, 3 times
- tools/regression/gaithrstress/gaithrstress.c, line 257
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, line 75
- tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c, line 67
- tools/regression/pthread/unwind/catch_pthread_exit.cpp, line 29
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 36
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 53
- tools/regression/pthread/unwind/sem_wait_cancel.cpp, line 32
- tools/regression/pthread/unwind/thread_normal_exit.cpp, line 25
- tools/regression/tls/ttls2/ttls2.c, 2 times
- tools/regression/tls/ttls4/ttls4.c, 2 times
- tools/tools/mctest/mctest.cc, line 398
- tools/tools/netmap/lb.c, line 1023
- tools/tools/netmap/pkt-gen.c, line 2656
- tools/tools/netrate/http/http.c, line 341
- tools/tools/netrate/httpd/httpd.c, line 301
- tools/tools/netrate/juggle/juggle.c, line 360
- tools/tools/tscdrift/tscdrift.c, line 155
- usr.sbin/bhyve/block_if.c, line 778
- usr.sbin/bhyve/rfb.c, line 914
- usr.sbin/bhyve/snapshot.c, line 790
- usr.sbin/camdd/camdd.c, line 3403
- usr.sbin/nscd/nscd.c, line 856
- usr.sbin/pppctl/pppctl.c, 2 times