Defined in 2 files as a prototype:
Defined in 9 files as a macro:
Defined in 3 files as a function:
Referenced in 186 files:
- common/lib/libprop/prop_object_impl.h, 5 times
- crypto/external/bsd/heimdal/dist/include/heim_threads.h, line 114
- crypto/external/bsd/openssh/dist/cipher-ctr-mt.c, 6 times
- crypto/external/bsd/openssl.old/dist/crypto/threads_pthread.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/threads_pthread.c, 2 times
- crypto/external/cpl/trousers/dist/src/include/threads.h, line 20
- crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c, line 345
- crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c, line 93
- crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c, line 439
- crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c, line 466
- external/apache2/llvm/dist/clang/tools/scan-build-py/libear/ear.c, 3 times
- external/apache2/llvm/dist/llvm/examples/ParallelJIT/ParallelJIT.cpp, 2 times
- external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 244
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 3 times
- external/apache2/mDNSResponder/nss/nss_mdnsd.c, line 102
- external/bsd/blocklist/lib/bl.c, line 75
- external/bsd/iscsi/dist/src/lib/util.c, 3 times
- external/bsd/jemalloc/dist/include/jemalloc/internal/mutex.h, line 95
- external/bsd/jemalloc/dist/test/src/mtx.c, line 53
- external/bsd/jemalloc/include/jemalloc/internal/mutex.h, line 95
- external/bsd/libarchive/dist/libarchive/archive_random.c, line 149
- external/bsd/libbind/dist/irs/gai_strerror.c, line 70
- external/bsd/libbind/dist/irs/irs_data.c, line 134
- external/bsd/libbind/dist/isc/memcluster.c, line 98
- external/bsd/libbind/dist/resolv/mtctxres.c, line 111
- external/bsd/libc++/dist/libcxxrt/src/cxa_atexit.c, 2 times
- external/bsd/libc++/dist/libcxxrt/src/exception.cc, 4 times
- external/bsd/libevent/dist/evthread_pthread.c, line 78
- external/bsd/ntp/dist/lib/isc/pthreads/include/isc/mutex.h, line 90
- external/bsd/ntp/dist/lib/isc/pthreads/mutex.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/evthread_pthread.c, line 77
- external/bsd/ntp/dist/sntp/libopts/ag-char-map.h, line 455
- external/bsd/openldap/dist/libraries/libldap/thr_posix.c, line 318
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, 3 times
- external/bsd/unbound/dist/util/locks.h, 4 times
- external/cddl/osnet/dist/head/thread.h, line 57
- external/cddl/osnet/dist/lib/libdtrace/common/dt_aggregate.c, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_pid.c, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_proc.c, 11 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_work.c, line 76
- external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c, 6 times
- external/cddl/osnet/dist/lib/libuutil/common/uu_list.c, 6 times
- external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c, 4 times
- external/cddl/osnet/dist/lib/libzfs_core/common/libzfs_core.c, 2 times
- external/cddl/osnet/dist/tools/ctf/cvt/barrier.c, line 81
- external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c, 9 times
- external/cddl/osnet/lib/libzfs/thread_pool.c, 10 times
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.c, 8 times
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.c, 8 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.c, 8 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.h, 2 times
- external/gpl2/gettext/dist/gettext-tools/tests/gettext-6-prg.c, line 52
- external/gpl2/gettext/dist/gettext-tools/tests/gettext-7-prg.c, line 52
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-cman.c, 3 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd-gulm.c, 5 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, 14 times
- external/gpl2/lvm2/dist/daemons/clvmd/lvm-functions.c, 9 times
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, 4 times
- external/gpl2/lvm2/dist/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c, 3 times
- external/gpl2/lvm2/dist/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c, 3 times
- external/gpl3/binutils.old/dist/gold/gold-threads.cc, 2 times
- external/gpl3/binutils/dist/gold/gold-threads.cc, 2 times
- external/gpl3/binutils/dist/gprofng/libcollector/synctrace.c, 4 times
- external/gpl3/binutils/dist/gprofng/src/DbeLock.cc, line 34
- external/gpl3/binutils/dist/gprofng/src/DbeThread.cc, 4 times
- external/gpl3/binutils/dist/gprofng/src/ipcio.cc, 2 times
- external/gpl3/gcc.old/dist/gcc/jit/jit-playback.c, line 2192
- external/gpl3/gcc.old/dist/gcc/jit/libgccjit.c, line 3193
- external/gpl3/gcc.old/dist/libgcc/config/pa/gthr-dce.h, 3 times
- external/gpl3/gcc.old/dist/libgcc/config/s390/gthr-tpf.h, 2 times
- external/gpl3/gcc.old/dist/libgcc/gthr-posix.h, 4 times
- external/gpl3/gcc.old/dist/libgomp/config/posix/lock.c, 4 times
- external/gpl3/gcc.old/dist/libgomp/config/posix/mutex.h, line 45
- external/gpl3/gcc.old/dist/libgomp/config/posix/sem.c, 2 times
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-gcn.c, 19 times
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-hsa.c, 2 times
- external/gpl3/gcc.old/dist/libgomp/plugin/plugin-nvptx.c, 8 times
- external/gpl3/gcc/dist/gcc/jit/jit-playback.c, line 2192
- external/gpl3/gcc/dist/gcc/jit/libgccjit.c, line 3193
- external/gpl3/gcc/dist/libgcc/config/pa/gthr-dce.h, 3 times
- external/gpl3/gcc/dist/libgcc/config/s390/gthr-tpf.h, 2 times
- external/gpl3/gcc/dist/libgcc/gthr-posix.h, 4 times
- external/gpl3/gcc/dist/libgomp/config/posix/lock.c, 4 times
- external/gpl3/gcc/dist/libgomp/config/posix/mutex.h, line 45
- external/gpl3/gcc/dist/libgomp/config/posix/sem.c, 2 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-gcn.c, 19 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-hsa.c, 2 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-nvptx.c, 8 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/info-os.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.server/exit-multiple-threads.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, line 101
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/bp_in_thread.c, line 27
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/hand-call-in-threads.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/interrupted-hand-call.c, 3 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/linux-dp.c, 6 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/pthread_cond_wait.c, line 28
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/queue-signal.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/slow-waitpid.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/watchthreads2.c, line 105
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/wp-replication.c, line 117
- external/gpl3/gdb.old/dist/gnulib/import/glthread/lock.c, 8 times
- external/gpl3/gdb.old/dist/gnulib/import/glthread/lock.h, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/mbtowc-lock.h, line 84
- external/gpl3/gdb.old/dist/gnulib/import/setlocale_null.c, line 233
- external/gpl3/gdb.old/dist/gold/gold-threads.cc, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/info-os.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.server/exit-multiple-threads.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, line 101
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/bp_in_thread.c, line 27
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/hand-call-in-threads.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/interrupted-hand-call.c, 3 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/linux-dp.c, 6 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/pthread_cond_wait.c, line 28
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/queue-signal.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/slow-waitpid.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads2.c, line 105
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/wp-replication.c, line 117
- external/gpl3/gdb/dist/gnulib/import/glthread/lock.c, 8 times
- external/gpl3/gdb/dist/gnulib/import/glthread/lock.h, 2 times
- external/gpl3/gdb/dist/gnulib/import/mbtowc-lock.h, line 84
- external/gpl3/gdb/dist/gnulib/import/setlocale_null.c, line 233
- external/gpl3/gdb/dist/gold/gold-threads.cc, 2 times
- external/mit/libuv/dist/src/unix/fs.c, line 1219
- external/mit/libuv/dist/src/unix/fsevents.c, line 523
- external/mit/libuv/dist/src/unix/thread.c, 2 times
- external/mpl/bind/dist/bin/named/fuzz.c, 4 times
- external/mpl/bind/dist/contrib/dlz/modules/include/dlz_pthread.h, line 33
- external/mpl/bind/dist/lib/isc/pthreads/include/isc/mutex.h, line 82
- external/mpl/bind/dist/lib/isc/pthreads/mutex.c, 2 times
- external/public-domain/sqlite/dist/sqlite3.c, 2 times
- external/public-domain/xz/dist/src/common/mythread.h, line 195
- external/zlib/pigz/dist/yarn.c, line 113
- lib/libc/resolv/mtctxres.c, line 110
- lib/libedit/terminal.c, line 1210
- lib/libisns/isns_pdu.c, 6 times
- lib/libisns/isns_task.c, 6 times
- lib/libpthread/mtx.c, line 112
- lib/libpthread/pthread.c, 15 times
- lib/libpthread/pthread_barrier.c, 2 times
- lib/libpthread/pthread_cond.c, 2 times
- lib/libpthread/pthread_mutex.c, 2 times
- lib/libpthread/pthread_once.c, line 63
- lib/libpthread/pthread_rwlock.c, 4 times
- lib/libpthread/pthread_tsd.c, 5 times
- lib/libpthread/res_state.c, 2 times
- lib/libpuffs/puffs_priv.h, line 39
- lib/librefuse/refuse.c, 2 times
- lib/librefuse/refuse/chan.c, 4 times
- lib/librefuse/refuse_log.c, 2 times
- lib/librefuse/refuse_signals.c, 3 times
- lib/librt/sem.c, line 135
- lib/librumpclient/rumpclient.c, 5 times
- lib/librumpuser/rumpuser_bio.c, 4 times
- lib/librumpuser/rumpuser_pth.c, 5 times
- lib/librumpuser/rumpuser_sp.c, 11 times
- lib/librumpuser/sp_common.c, 6 times
- regress/sys/kern/nameibench/nameibench.c, line 117
- sbin/iscsid/iscsid_globals.h, line 392
- sys/external/bsd/compiler_rt/dist/lib/builtins/emutls.c, line 124
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc, line 178
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_linux_test.cc, 4 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/vts_many_threads_bench.cc, line 35
- sys/external/bsd/compiler_rt/dist/lib/tsan/dd/dd_interceptors.cc, 3 times
- sys/external/bsd/sljit/dist/sljit_src/sljitUtils.c, 3 times
- sys/external/isc/libsodium/dist/src/libsodium/sodium/core.c, line 133
- tests/fs/puffs/t_fuzz.c, 6 times
- tests/lib/libc/sys/t_eventfd.c, 3 times
- tests/lib/libc/sys/t_ptrace_lwp_wait.h, 2 times
- tests/lib/libc/sys/t_ptrace_threads_wait.h, line 39
- tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 62
- tests/lib/libpthread/dlopen/t_dlopen.c, 2 times
- tests/lib/libpthread/h_resolv.c, line 113
- tests/lib/libpthread/t_barrier.c, 4 times
- tests/lib/libpthread/t_cond.c, 14 times
- tests/lib/libpthread/t_condwait.c, line 66
- tests/lib/libpthread/t_fpu.c, line 105
- tests/lib/libpthread/t_mutex.c, 3 times
- tests/lib/libpthread/t_once.c, 2 times
- tests/lib/libpthread/t_preempt.c, 2 times
- tests/libexec/ld.elf_so/h_thread_local_dtor.c, 4 times
- tests/rump/rumpkern/h_client/h_reconcli.c, 4 times