Defined in 3 files as a prototype:
Defined in 6 files as a macro:
Defined in 3 files as a function:
Referenced in 148 files:
- common/lib/libprop/prop_object_impl.h, 5 times
- crypto/external/bsd/heimdal/dist/include/heim_threads.h, line 115
- crypto/external/bsd/openssh/dist/cipher-ctr-mt.c, 8 times
- crypto/external/bsd/openssl/dist/crypto/threads_pthread.c, line 94
- crypto/external/cpl/trousers/dist/src/include/threads.h, line 21
- crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c, line 357
- crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c, 2 times
- crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c, line 450
- crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c, line 481
- external/apache2/mDNSResponder/nss/nss_mdnsd.c, line 103
- external/bsd/blacklist/lib/bl.c, line 76
- external/bsd/iscsi/dist/src/lib/util.c, 3 times
- external/bsd/jemalloc/dist/include/jemalloc/internal/mutex.h, line 96
- external/bsd/jemalloc/dist/test/src/mtx.c, line 66
- external/bsd/jemalloc/include/jemalloc/internal/mutex.h, line 96
- external/bsd/libarchive/dist/libarchive/archive_random.c, line 150
- external/bsd/libbind/dist/irs/gai_strerror.c, 2 times
- external/bsd/libbind/dist/irs/irs_data.c, 2 times
- external/bsd/libbind/dist/isc/memcluster.c, line 99
- external/bsd/libbind/dist/resolv/mtctxres.c, line 113
- external/bsd/libc++/dist/libcxx/src/algorithm.cpp, line 72
- external/bsd/libc++/dist/libcxx/src/mutex.cpp, 6 times
- external/bsd/libc++/dist/libcxxrt/src/cxa_atexit.c, 3 times
- external/bsd/libc++/dist/libcxxrt/src/exception.cc, 5 times
- external/bsd/libevent/dist/evthread_pthread.c, line 85
- external/bsd/llvm/dist/clang/test/Analysis/block-in-critical-section.cpp, 2 times
- external/bsd/llvm/dist/clang/test/Analysis/pthreadlock.c, 46 times
- external/bsd/llvm/dist/clang/tools/scan-build-py/libear/ear.c, 3 times
- external/bsd/llvm/dist/llvm/examples/ParallelJIT/ParallelJIT.cpp, 2 times
- external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 246
- external/bsd/llvm/dist/llvm/lib/Support/Mutex.cpp, line 101
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, 3 times
- external/bsd/ntp/dist/lib/isc/pthreads/include/isc/mutex.h, line 99
- external/bsd/ntp/dist/lib/isc/pthreads/mutex.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/evthread_pthread.c, line 84
- external/bsd/ntp/dist/sntp/libopts/ag-char-map.h, line 474
- external/bsd/nvi/dist/common/pthread.c, line 109
- external/bsd/openldap/dist/libraries/libldap_r/thr_posix.c, line 313
- external/bsd/openldap/dist/libraries/liblmdb/mdb.c, 3 times
- external/bsd/unbound/dist/testcode/checklocks.c, 9 times
- external/bsd/unbound/dist/util/locks.h, 3 times
- external/cddl/osnet/dist/head/thread.h, line 59
- external/cddl/osnet/dist/lib/libdtrace/common/dt_aggregate.c, 3 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_pid.c, 2 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_proc.c, 13 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_work.c, 2 times
- 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, 3 times
- external/cddl/osnet/dist/tools/ctf/cvt/barrier.c, 2 times
- external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c, 12 times
- external/cddl/osnet/lib/libzfs/thread_pool.c, 14 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 67
- external/gpl2/gettext/dist/gettext-tools/tests/gettext-7-prg.c, line 67
- 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, 15 times
- external/gpl2/lvm2/dist/daemons/clvmd/lvm-functions.c, 10 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/dist/gold/gold-threads.cc, 2 times
- external/gpl3/gcc/dist/gcc/jit/jit-playback.c, line 2110
- 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, 5 times
- external/gpl3/gcc/dist/libgomp/config/posix/lock.c, 4 times
- external/gpl3/gcc/dist/libgomp/config/posix/mutex.h, line 50
- external/gpl3/gcc/dist/libgomp/config/posix/sem.c, 4 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-hsa.c, 3 times
- external/gpl3/gcc/dist/libgomp/plugin/plugin-nvptx.c, 18 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/info-os.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.cell/bt.c, line 66
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c, line 111
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/bp_in_thread.c, line 29
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/hand-call-in-threads.c, 5 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ia64-sigill.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/interrupted-hand-call.c, 5 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 30
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/queue-signal.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/siginfo-threads.c, 5 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/slow-waitpid.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads-reorder.c, 5 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads2.c, line 111
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/wp-replication.c, line 132
- external/gpl3/gdb/dist/gdb/testsuite/gdb.trace/ftrace-lock.c, line 53
- 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 92
- external/mpl/bind/dist/lib/isc/pthreads/mutex.c, 2 times
- external/mpl/bind/dist/lib/isc/xoshiro128starstar.c, line 83
- external/public-domain/sqlite/dist/sqlite3.c, 2 times
- external/public-domain/xz/dist/src/common/mythread.h, line 203
- external/zlib/pigz/dist/yarn.c, 2 times
- lib/libc/resolv/mtctxres.c, line 112
- lib/libedit/terminal.c, line 1215
- lib/libisns/isns_pdu.c, 6 times
- lib/libisns/isns_task.c, 6 times
- lib/libpthread/mtx.c, line 157
- lib/libpthread/pthread.c, 24 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 50
- lib/libpthread/pthread_rwlock.c, 4 times
- lib/libpthread/pthread_tsd.c, 6 times
- lib/libpthread/res_state.c, 3 times
- lib/libpuffs/puffs_priv.h, line 40
- lib/librefuse/refuse.c, 3 times
- lib/librt/sem.c, line 136
- lib/librumpclient/rumpclient.c, 5 times
- lib/librumpuser/rumpuser_bio.c, 3 times
- lib/librumpuser/rumpuser_pth.c, 5 times
- lib/librumpuser/rumpuser_sp.c, 11 times
- lib/librumpuser/sp_common.c, 7 times
- regress/sys/kern/nameibench/nameibench.c, line 119
- sbin/iscsid/iscsid_globals.h, line 393
- sys/external/bsd/compiler_rt/dist/lib/builtins/emutls.c, line 130
- 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 179
- 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, 4 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/vts_many_threads_bench.cc, line 36
- 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
- tests/fs/puffs/t_fuzz.c, 3 times
- tests/lib/libc/sys/t_ptrace_wait.c, line 5447
- tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 71
- tests/lib/libpthread/dlopen/t_dlopen.c, 2 times
- tests/lib/libpthread/h_resolv.c, line 116
- tests/lib/libpthread/t_barrier.c, 4 times
- tests/lib/libpthread/t_cond.c, 15 times
- tests/lib/libpthread/t_condwait.c, line 101
- tests/lib/libpthread/t_fpu.c, line 107
- tests/lib/libpthread/t_mutex.c, 19 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