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, 10 times
- cddl/contrib/opensolaris/head/thread.h, line 53
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_pid.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, 11 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_work.c, line 76
- cddl/contrib/opensolaris/tools/ctf/cvt/barrier.c, line 65
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, 9 times
- contrib/apr-util/crypto/apr_passwd.c, line 54
- contrib/apr/locks/unix/proc_mutex.c, 3 times
- contrib/apr/locks/unix/thread_mutex.c, 5 times
- contrib/blacklist/lib/bl.c, line 75
- contrib/googletest/googletest/include/gtest/internal/gtest-port.h, 3 times
- contrib/googletest/googletest/test/googletest-port-test.cc, line 1059
- contrib/jemalloc/include/jemalloc/internal/mutex.h, line 91
- contrib/lib9p/backend/fs.c, 5 times
- contrib/lib9p/threadpool.c, 7 times
- contrib/libarchive/libarchive/archive_random.c, line 149
- contrib/libcxxrt/exception.cc, 4 times
- contrib/libedit/terminal.c, line 1210
- contrib/libevent/evthread_pthread.c, line 75
- contrib/libxo/libxo/xo_syslog.c, line 129
- contrib/llvm-project/compiler-rt/lib/builtins/emutls.c, line 128
- contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/mutex_posix.cpp, line 16
- contrib/llvm-project/compiler-rt/lib/safestack/safestack.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack_util.h, line 39
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp, line 170
- contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/vts_many_threads_bench.cpp, line 35
- contrib/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp, 3 times
- contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h, line 244
- contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_config.h, 2 times
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 5 times
- contrib/ncurses/ncurses/curses.priv.h, line 615
- contrib/ncurses/ncurses/tinfo/lib_data.c, 2 times
- contrib/netbsd-tests/fs/puffs/t_fuzz.c, 6 times
- contrib/netbsd-tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c, line 62
- contrib/netbsd-tests/lib/libpthread/dlopen/t_dlopen.c, 2 times
- contrib/netbsd-tests/lib/libpthread/h_resolv.c, line 113
- contrib/netbsd-tests/lib/libpthread/t_barrier.c, 4 times
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 18 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 66
- contrib/netbsd-tests/lib/libpthread/t_fpu.c, line 105
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 3 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 88
- contrib/ntp/lib/isc/pthreads/mutex.c, 2 times
- contrib/ntp/sntp/libevent/evthread_pthread.c, line 75
- contrib/ntp/sntp/libopts/ag-char-map.h, line 453
- 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 611
- contrib/ofed/libibverbs/verbs.c, 3 times
- contrib/ofed/libmlx4/dbrec.c, 2 times
- contrib/ofed/libmlx4/srq.c, 2 times
- contrib/ofed/libmlx4/verbs.c, 2 times
- contrib/ofed/libmlx5/dbrec.c, 2 times
- contrib/ofed/libmlx5/mlx5.c, 2 times
- contrib/ofed/libmlx5/verbs.c, 4 times
- contrib/ofed/librdmacm/acm.c, 2 times
- contrib/ofed/librdmacm/cma.c, 13 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, 3 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, 6 times
- contrib/ofed/opensm/include/opensm/osm_stats.h, 2 times
- contrib/ofed/opensm/libvendor/osm_vendor_ibumad.c, 6 times
- contrib/ofed/opensm/opensm/osm_state_mgr.c, line 1246
- contrib/openbsm/bin/auditdistd/synch.h, line 69
- contrib/openbsm/libbsm/bsm_audit.c, 3 times
- contrib/openbsm/libbsm/bsm_class.c, 6 times
- contrib/openbsm/libbsm/bsm_control.c, 9 times
- contrib/openbsm/libbsm/bsm_event.c, 5 times
- contrib/openbsm/libbsm/bsm_mask.c, line 168
- contrib/openbsm/libbsm/bsm_user.c, 4 times
- contrib/processor-trace/include/posix/threads.h, line 162
- contrib/sendmail/libmilter/libmilter.h, line 137
- contrib/sqlite3/sqlite3.c, 2 times
- contrib/unbound/util/locks.h, 4 times
- contrib/xz/src/common/mythread.h, line 195
- crypto/heimdal/include/heim_threads.h, line 91
- crypto/openssl/crypto/threads_pthread.c, 2 times
- lib/libc/gen/_pthread_stubs.c, line 232
- lib/libc/include/un-namespace.h, line 137
- lib/libc/resolv/mtctxres.c, line 118
- lib/libc/stdlib/quick_exit.c, line 65
- lib/libc/tests/resolv/resolv_test.c, line 206
- lib/libcuse/cuse_lib.c, line 91
- lib/libnetmap/nmctx-pthreads.c, line 60
- lib/libstdthreads/mtx.c, line 78
- lib/libthr/thread/thr_mutex.c, line 91
- lib/libusb/libusb10.c, 2 times
- lib/libusb/libusb10.h, 2 times
- sbin/ggate/ggated/ggated.c, 4 times
- sbin/hastd/synch.h, line 71
- sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c, line 47
- sys/contrib/libsodium/src/libsodium/sodium/core.c, line 133
- sys/contrib/openzfs/cmd/zed/agents/zfs_agents.c, 2 times
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, line 6827
- sys/contrib/openzfs/cmd/zpool/zpool_main.c, 2 times
- sys/contrib/openzfs/lib/libspl/asm-generic/atomic.c, 22 times
- sys/contrib/openzfs/lib/libspl/os/freebsd/getexecname.c, line 42
- sys/contrib/openzfs/lib/libspl/os/linux/getexecname.c, line 42
- sys/contrib/openzfs/lib/libtpool/thread_pool.c, 12 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, 3 times
- sys/contrib/openzfs/lib/libzfs_core/libzfs_core.c, 2 times
- sys/contrib/openzfs/lib/libzpool/kernel.c, line 208
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_import_os.c, line 218
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, 3 times
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1064
- sys/contrib/openzfs/module/os/freebsd/spl/spl_atomic.c, line 47
- 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 302
- tools/build/libc-bootstrap/namespace.h, line 51
- tools/regression/gaithrstress/gaithrstress.c, line 68
- tools/regression/pthread/cv_cancel1/cv_cancel1.c, 2 times
- tools/regression/pthread/mutex_isowned_np/mutex_isowned_np.c, line 60
- tools/regression/pthread/unwind/cond_wait_cancel.cpp, line 19
- tools/regression/pthread/unwind/cond_wait_cancel2.cpp, line 23
- 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, 3 times
- usr.sbin/bhyve/bhyverun.c, 2 times
- usr.sbin/bhyve/block_if.c, 10 times
- usr.sbin/bhyve/gdb.c, 7 times
- usr.sbin/bhyve/hda_codec.c, 2 times
- usr.sbin/bhyve/mevent.c, line 91
- usr.sbin/bhyve/mevent_test.c, 4 times
- usr.sbin/bhyve/pci_ahci.c, 2 times
- usr.sbin/bhyve/pci_e82545.c, 7 times
- usr.sbin/bhyve/pci_emul.c, 3 times
- usr.sbin/bhyve/pci_irq.c, 3 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 296
- usr.sbin/bhyve/pci_virtio_net.c, 11 times
- usr.sbin/bhyve/pci_virtio_scsi.c, 3 times
- usr.sbin/bhyve/pci_xhci.c, 2 times
- usr.sbin/bhyve/pm.c, 7 times
- usr.sbin/bhyve/ps2kbd.c, 3 times
- usr.sbin/bhyve/ps2mouse.c, 5 times
- usr.sbin/bhyve/rfb.c, 4 times
- usr.sbin/bhyve/snapshot.c, 5 times
- usr.sbin/bhyve/uart_emul.c, 3 times
- usr.sbin/bhyve/usb_emul.h, line 145
- usr.sbin/bhyve/usb_mouse.c, 3 times
- usr.sbin/bhyve/virtio.c, 2 times
- usr.sbin/bhyve/virtio.h, line 343
- usr.sbin/camdd/camdd.c, 12 times
- usr.sbin/ngctl/main.c, 2 times
- usr.sbin/nscd/config.c, 3 times