Defined in 2 files as a prototype:
Defined in 6 files as a macro:
Defined in 3 files as a function:
Referenced in 147 files:
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp, line 207
- contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp, 2 times
- contrib/netbsd-tests/rump/kernspace/alloc.c, line 85
- contrib/netbsd-tests/rump/kernspace/lockme.c, 3 times
- contrib/netbsd-tests/rump/kernspace/thread.c, line 94
- contrib/netbsd-tests/rump/kernspace/tsleep.c, line 88
- contrib/unbound/util/locks.h, 2 times
- crypto/heimdal/include/heim_threads.h, line 63
- lib/libthr/thread/thr_mutex.c, 4 times
- sys/amd64/amd64/machdep.c, line 1720
- sys/arm/arm/machdep.c, 2 times
- sys/arm64/arm64/machdep.c, line 1255
- sys/cddl/compat/opensolaris/kern/opensolaris.c, line 65
- sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c, 7 times
- sys/cddl/dev/dtrace/dtrace_load.c, 4 times
- sys/contrib/octeon-sdk/cvmx-malloc/arena.c, line 265
- sys/contrib/openzfs/cmd/raidz_test/raidz_test.c, line 653
- sys/contrib/openzfs/cmd/ztest/ztest.c, 9 times
- sys/contrib/openzfs/include/os/linux/spl/sys/mutex.h, line 98
- sys/contrib/openzfs/include/sys/zfs_context.h, line 272
- sys/contrib/openzfs/lib/libzpool/kernel.c, line 456
- sys/contrib/openzfs/lib/libzpool/taskq.c, line 272
- sys/contrib/openzfs/module/icp/core/kcf_mech_tabs.c, 2 times
- sys/contrib/openzfs/module/icp/core/kcf_prov_tabs.c, 2 times
- sys/contrib/openzfs/module/icp/core/kcf_sched.c, 8 times
- sys/contrib/openzfs/module/icp/os/modhash.c, line 428
- sys/contrib/openzfs/module/os/freebsd/spl/callb.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/spl/spl_kstat.c, line 274
- sys/contrib/openzfs/module/os/freebsd/spl/spl_procfs_list.c, line 113
- sys/contrib/openzfs/module/os/freebsd/zfs/abd_os.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_debug.c, line 120
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zvol_os.c, line 1285
- sys/contrib/openzfs/module/os/linux/spl/spl-kstat.c, 2 times
- sys/contrib/openzfs/module/os/linux/spl/spl-procfs-list.c, line 237
- sys/contrib/openzfs/module/os/linux/zfs/abd_os.c, line 197
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vfsops.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_znode.c, 5 times
- sys/contrib/openzfs/module/os/linux/zfs/zvol_os.c, line 779
- sys/contrib/openzfs/module/zfs/aggsum.c, 2 times
- sys/contrib/openzfs/module/zfs/arc.c, 10 times
- sys/contrib/openzfs/module/zfs/bplist.c, line 33
- sys/contrib/openzfs/module/zfs/bpobj.c, line 160
- sys/contrib/openzfs/module/zfs/bqueue.c, line 55
- sys/contrib/openzfs/module/zfs/dbuf.c, 4 times
- sys/contrib/openzfs/module/zfs/dbuf_stats.c, line 187
- sys/contrib/openzfs/module/zfs/ddt.c, line 791
- sys/contrib/openzfs/module/zfs/dmu_objset.c, 6 times
- sys/contrib/openzfs/module/zfs/dmu_recv.c, line 2949
- sys/contrib/openzfs/module/zfs/dmu_send.c, line 1080
- sys/contrib/openzfs/module/zfs/dmu_traverse.c, line 629
- sys/contrib/openzfs/module/zfs/dmu_zfetch.c, 2 times
- sys/contrib/openzfs/module/zfs/dnode.c, 2 times
- sys/contrib/openzfs/module/zfs/dsl_bookmark.c, line 337
- sys/contrib/openzfs/module/zfs/dsl_dataset.c, 4 times
- sys/contrib/openzfs/module/zfs/dsl_deadlist.c, line 305
- sys/contrib/openzfs/module/zfs/dsl_dir.c, 2 times
- sys/contrib/openzfs/module/zfs/dsl_pool.c, line 220
- sys/contrib/openzfs/module/zfs/dsl_scan.c, line 792
- sys/contrib/openzfs/module/zfs/fm.c, line 1640
- sys/contrib/openzfs/module/zfs/metaslab.c, 5 times
- sys/contrib/openzfs/module/zfs/mmp.c, 2 times
- sys/contrib/openzfs/module/zfs/multilist.c, line 92
- sys/contrib/openzfs/module/zfs/refcount.c, line 61
- sys/contrib/openzfs/module/zfs/rrwlock.c, line 143
- sys/contrib/openzfs/module/zfs/sa.c, 2 times
- sys/contrib/openzfs/module/zfs/spa.c, line 3089
- sys/contrib/openzfs/module/zfs/spa_misc.c, 19 times
- sys/contrib/openzfs/module/zfs/spa_stats.c, 4 times
- sys/contrib/openzfs/module/zfs/txg.c, 4 times
- sys/contrib/openzfs/module/zfs/unique.c, line 56
- sys/contrib/openzfs/module/zfs/vdev.c, 12 times
- sys/contrib/openzfs/module/zfs/vdev_cache.c, line 383
- sys/contrib/openzfs/module/zfs/vdev_queue.c, line 409
- sys/contrib/openzfs/module/zfs/vdev_removal.c, 2 times
- sys/contrib/openzfs/module/zfs/zap.c, line 109
- sys/contrib/openzfs/module/zfs/zap_micro.c, line 427
- sys/contrib/openzfs/module/zfs/zfs_fm.c, line 1365
- sys/contrib/openzfs/module/zfs/zfs_ioctl.c, line 7581
- sys/contrib/openzfs/module/zfs/zfs_onexit.c, line 79
- sys/contrib/openzfs/module/zfs/zfs_ratelimit.c, line 43
- sys/contrib/openzfs/module/zfs/zfs_rlock.c, line 138
- sys/contrib/openzfs/module/zfs/zil.c, 5 times
- sys/contrib/openzfs/module/zfs/zio.c, line 801
- sys/contrib/openzfs/module/zfs/zio_inject.c, line 945
- sys/contrib/openzfs/module/zfs/zrlock.c, line 54
- sys/contrib/openzfs/module/zfs/zthr.c, 2 times
- sys/contrib/openzfs/module/zstd/zfs_zstd.c, 3 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, line 1318
- sys/dev/cxgbe/iw_cxgbe/device.c, 2 times
- sys/dev/cxgbe/iw_cxgbe/qp.c, line 1801
- sys/dev/drm2/ttm/ttm_page_alloc_dma.c, line 1068
- sys/dev/mlx4/mlx4_core/mlx4_cmd.c, 2 times
- sys/dev/mlx4/mlx4_core/mlx4_icm.c, line 409
- sys/dev/mlx4/mlx4_core/mlx4_main.c, 8 times
- sys/dev/mlx4/mlx4_core/mlx4_mcg.c, line 1638
- sys/dev/mlx4/mlx4_core/mlx4_port.c, 3 times
- sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c, line 497
- sys/dev/mlx4/mlx4_en/mlx4_en_main.c, line 245
- sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c, line 195
- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c, 4 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c, 2 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c, line 718
- sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c, line 95
- sys/dev/mlx5/mlx5_core/mlx5_eswitch.c, line 1136
- sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c, 4 times
- sys/dev/mlx5/mlx5_core/mlx5_main.c, 3 times
- sys/dev/mlx5/mlx5_core/mlx5_rl.c, line 165
- sys/dev/mlx5/mlx5_core/mlx5_uar.c, line 85
- sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c, line 934
- sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c, line 148
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, 7 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c, line 425
- sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c, line 1525
- sys/dev/mlx5/mlx5_ib/mlx5_ib_srq.c, line 258
- sys/dev/mthca/mthca_cmd.c, line 519
- sys/dev/mthca/mthca_cq.c, line 825
- sys/dev/mthca/mthca_mcg.c, line 327
- sys/dev/mthca/mthca_memfree.c, 3 times
- sys/dev/mthca/mthca_provider.c, line 1295
- sys/dev/mthca/mthca_qp.c, line 1153
- sys/dev/mthca/mthca_srq.c, line 255
- sys/dev/netmap/netmap_kern.h, line 171
- sys/dev/qlnx/qlnxr/qlnxr_verbs.c, line 1018
- sys/i386/i386/machdep.c, line 2392
- sys/mips/atheros/ar531x/ar5315_machdep.c, line 313
- sys/mips/atheros/ar71xx_machdep.c, line 423
- sys/mips/beri/beri_machdep.c, line 144
- sys/mips/broadcom/bcm_machdep.c, line 524
- sys/mips/cavium/octeon_machdep.c, line 368
- sys/mips/ingenic/jz4780_machdep.c, line 170
- sys/mips/malta/malta_machdep.c, line 218
- sys/mips/mediatek/mtk_machdep.c, line 194
- sys/mips/nlm/xlp_machdep.c, line 356
- sys/ofed/drivers/infiniband/core/ib_cache.c, line 629
- sys/ofed/drivers/infiniband/core/ib_cma.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_ucm.c, line 1167
- sys/ofed/drivers/infiniband/core/ib_ucma.c, line 1671
- sys/ofed/drivers/infiniband/core/ib_umem_odp.c, line 271
- sys/ofed/drivers/infiniband/core/ib_user_mad.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_main.c, 4 times
- sys/ofed/drivers/infiniband/core/ib_verbs.c, line 1588
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c, line 868
- sys/powerpc/powerpc/machdep.c, line 403
- sys/riscv/riscv/machdep.c, line 963