Defined in 2 files as a prototype:
Defined in 4 files as a macro:
Referenced in 161 files:
- cddl/compat/opensolaris/misc/thread_pool.c, 14 times
- cddl/contrib/opensolaris/head/thread.h, line 55
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c, 3 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_pid.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, 13 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_work.c, 2 times
- cddl/contrib/opensolaris/tools/ctf/cvt/barrier.c, 2 times
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, 12 times
- contrib/apr-util/crypto/apr_passwd.c, line 59
- contrib/apr/locks/unix/proc_mutex.c, 5 times
- contrib/apr/locks/unix/thread_mutex.c, 6 times
- contrib/blacklist/lib/bl.c, line 76
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, 3 times
- contrib/googletest/googletest/test/googletest-port-test.cc, line 1063
- contrib/jemalloc/include/jemalloc/internal/mutex.h, line 92
- contrib/lib9p/backend/fs.c, 6 times
- contrib/lib9p/threadpool.c, 8 times
- contrib/libarchive/libarchive/archive_random.c, line 150
- contrib/libcxxrt/exception.cc, 5 times
- contrib/libedit/terminal.c, line 1215
- contrib/libevent/evthread_pthread.c, line 82
- contrib/libxo/libxo/xo_syslog.c, line 133
- contrib/llvm-project/compiler-rt/lib/builtins/emutls.c, line 130
- contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/mutex_posix.cpp, line 25
- contrib/llvm-project/compiler-rt/lib/safestack/safestack.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack_util.h, line 41
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp, line 171
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/vts_many_threads_bench.cpp, line 36
- contrib/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp, 3 times
- contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 245
- contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_config.h, 2 times
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 8 times
- contrib/ncurses/ncurses/curses.priv.h, line 616
- contrib/ncurses/ncurses/tinfo/lib_data.c, 2 times
- contrib/netbsd-tests/fs/puffs/t_fuzz.c, 3 times
- contrib/netbsd-tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 71
- contrib/netbsd-tests/lib/libpthread/dlopen/t_dlopen.c, 2 times
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 116
- contrib/netbsd-tests/lib/libpthread/t_barrier.c, 4 times
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 19 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 110
- contrib/netbsd-tests/lib/libpthread/t_fpu.c, line 107
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 21 times
- contrib/netbsd-tests/lib/libpthread/t_once.c, 2 times
- contrib/netbsd-tests/lib/libpthread/t_preempt.c, 2 times
- contrib/netbsd-tests/rump/rumpkern/h_client/h_reconcli.c, 4 times
- contrib/ntp/lib/isc/pthreads/include/isc/mutex.h, line 97
- contrib/ntp/lib/isc/pthreads/mutex.c, 2 times
- contrib/ntp/sntp/libevent/evthread_pthread.c, line 82
- contrib/ntp/sntp/libopts/ag-char-map.h, line 472
- contrib/ofed/libibcm/cm.c, 3 times
- contrib/ofed/libibverbs/cmd.c, 4 times
- contrib/ofed/libibverbs/device.c, 5 times
- contrib/ofed/libibverbs/memory.c, line 681
- contrib/ofed/libibverbs/verbs.c, 4 times
- contrib/ofed/libmlx4/dbrec.c, 2 times
- contrib/ofed/libmlx4/srq.c, 2 times
- contrib/ofed/libmlx4/verbs.c, 4 times
- contrib/ofed/libmlx5/dbrec.c, 2 times
- contrib/ofed/libmlx5/mlx5.c, 2 times
- contrib/ofed/libmlx5/verbs.c, 8 times
- contrib/ofed/librdmacm/acm.c, 3 times
- contrib/ofed/librdmacm/cma.c, 15 times
- contrib/ofed/librdmacm/examples/cmtime.c, 3 times
- contrib/ofed/librdmacm/preload.c, 3 times
- contrib/ofed/librdmacm/rsocket.c, 4 times
- contrib/ofed/opensm/complib/cl_event.c, 5 times
- contrib/ofed/opensm/complib/cl_spinlock.c, 2 times
- contrib/ofed/opensm/complib/cl_threadpool.c, 2 times
- contrib/ofed/opensm/complib/cl_timer.c, 7 times
- contrib/ofed/opensm/include/opensm/osm_stats.h, 2 times
- contrib/ofed/opensm/libvendor/osm_vendor_ibumad.c, 10 times
- contrib/ofed/opensm/opensm/osm_state_mgr.c, line 1249
- contrib/openbsm/bin/auditdistd/synch.h, line 86
- contrib/openbsm/libbsm/bsm_audit.c, 4 times
- contrib/openbsm/libbsm/bsm_class.c, 7 times
- contrib/openbsm/libbsm/bsm_control.c, 32 times
- contrib/openbsm/libbsm/bsm_event.c, 5 times
- contrib/openbsm/libbsm/bsm_mask.c, 4 times
- contrib/openbsm/libbsm/bsm_user.c, 5 times
- contrib/processor-trace/include/posix/threads.h, line 176
- contrib/sendmail/libmilter/libmilter.h, line 138
- contrib/sqlite3/sqlite3.c, 2 times
- contrib/unbound/util/locks.h, 3 times
- contrib/xz/src/common/mythread.h, line 203
- crypto/heimdal/include/heim_threads.h, line 92
- crypto/openssl/crypto/threads_pthread.c, line 94
- lib/libc/gen/_pthread_stubs.c, line 234
- lib/libc/include/un-namespace.h, line 141
- lib/libc/resolv/mtctxres.c, line 120
- lib/libc/stdlib/quick_exit.c, line 69
- lib/libc/tests/resolv/resolv_test.c, line 209
- lib/libcuse/cuse_lib.c, line 94
- lib/libnetmap/nmctx-pthreads.c, line 62
- lib/libstdthreads/mtx.c, line 115
- lib/libthr/thread/thr_mutex.c, line 107
- lib/libusb/libusb10.c, 2 times
- lib/libusb/libusb10.h, 2 times
- sbin/ggate/ggated/ggated.c, 4 times
- sbin/hastd/synch.h, line 88
- sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c, line 48
- sys/contrib/libsodium/src/libsodium/sodium/core.c, line 153
- sys/contrib/openzfs/cmd/zed/agents/zfs_agents.c, 4 times
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, line 6833
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, 2 times
- sys/contrib/openzfs/lib/libspl/asm-generic/atomic.c, 24 times
- sys/contrib/openzfs/lib/libspl/os/freebsd/getexecname.c, line 69
- sys/contrib/openzfs/lib/libspl/os/linux/getexecname.c, line 57
- sys/contrib/openzfs/lib/libtpool/thread_pool.c, 15 times
- sys/contrib/openzfs/lib/libuutil/uu_avl.c, 6 times
- sys/contrib/openzfs/lib/libuutil/uu_list.c, 6 times
- sys/contrib/openzfs/lib/libuutil/uu_misc.c, 4 times
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, 4 times
- sys/contrib/openzfs/lib/libzfs_core/libzfs_core.c, 3 times
- sys/contrib/openzfs/lib/libzpool/kernel.c, line 231
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_import_os.c, line 225
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, 5 times
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1071
- sys/contrib/openzfs/module/os/freebsd/spl/spl_atomic.c, line 48
- sys/contrib/openzfs/module/zstd/lib/zstd.c, 2 times
- sys/contrib/zstd/lib/common/threading.h, 2 times
- sys/dev/bhnd/nvram/bhnd_nvram_storevar.h, line 303
- tools/build/libc-bootstrap/namespace.h, line 50
- tools/regression/gaithrstress/gaithrstress.c, line 70
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, 2 times
- tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c, line 68
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 21
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 25
- tools/tools/netrate/juggle/juggle.c, 2 times
- usr.bin/mkuzip/mkuz_fqueue.c, 5 times
- usr.bin/sort/radixsort.c, 3 times
- usr.sbin/bhyve/atkbdc.c, 6 times
- usr.sbin/bhyve/bhyverun.c, 2 times
- usr.sbin/bhyve/block_if.c, 12 times
- usr.sbin/bhyve/gdb.c, 8 times
- usr.sbin/bhyve/hda_codec.c, 2 times
- usr.sbin/bhyve/mevent.c, line 97
- usr.sbin/bhyve/mevent_test.c, 3 times
- usr.sbin/bhyve/pci_ahci.c, 4 times
- usr.sbin/bhyve/pci_e82545.c, 6 times
- usr.sbin/bhyve/pci_emul.c, 3 times
- usr.sbin/bhyve/pci_irq.c, 5 times
- usr.sbin/bhyve/pci_nvme.c, 10 times
- usr.sbin/bhyve/pci_virtio_9p.c, 2 times
- usr.sbin/bhyve/pci_virtio_block.c, line 298
- usr.sbin/bhyve/pci_virtio_net.c, 10 times
- usr.sbin/bhyve/pci_virtio_scsi.c, 4 times
- usr.sbin/bhyve/pci_xhci.c, 2 times
- usr.sbin/bhyve/pm.c, 7 times
- usr.sbin/bhyve/ps2kbd.c, 4 times
- usr.sbin/bhyve/ps2mouse.c, 6 times
- usr.sbin/bhyve/rfb.c, 5 times
- usr.sbin/bhyve/snapshot.c, 5 times
- usr.sbin/bhyve/uart_emul.c, 3 times
- usr.sbin/bhyve/usb_emul.h, line 149
- usr.sbin/bhyve/usb_mouse.c, 5 times
- usr.sbin/bhyve/virtio.c, 2 times
- usr.sbin/bhyve/virtio.h, line 349
- usr.sbin/camdd/camdd.c, 10 times
- usr.sbin/ngctl/main.c, 2 times
- usr.sbin/nscd/config.c, 3 times