Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 4 files as a function:
Referenced in 258 files:
- external/cddl/osnet/dist/cmd/zdb/zdb.c, line 2419
- external/cddl/osnet/dist/lib/libzpool/common/taskq.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/arc.c, 6 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dbuf.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/ddt.c, line 742
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu.c, line 1709
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_traverse.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_tx.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_scan.c, line 1797
- external/cddl/osnet/dist/uts/common/fs/zfs/metaslab.c, line 1454
- external/cddl/osnet/dist/uts/common/fs/zfs/rrwlock.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/spa.c, 6 times
- external/cddl/osnet/dist/uts/common/fs/zfs/spa_misc.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/txg.c, 13 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_rlock.c, 8 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zil.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zio.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zrlock.c, line 152
- external/cddl/osnet/dist/uts/common/os/callb.c, 2 times
- external/cddl/osnet/sys/kern/taskq.c, line 317
- regress/sys/kern/allocfree/allocfree.c, 3 times
- sys/arch/arm/amlogic/meson_sdhc.c, line 324
- sys/arch/arm/amlogic/meson_sdio.c, line 281
- sys/arch/arm/amlogic/mesongx_mmc.c, 2 times
- sys/arch/arm/broadcom/bcm2835_emmc.c, line 380
- sys/arch/arm/broadcom/bcm2835_mbox.c, line 79
- sys/arch/arm/broadcom/bcm2835_sdhost.c, 2 times
- sys/arch/arm/broadcom/bcm2835_vcaudio.c, line 387
- sys/arch/arm/nvidia/tegra_cec.c, 3 times
- sys/arch/arm/nvidia/tegra_i2c.c, line 226
- sys/arch/arm/s3c2xx0/s3c2440_dma.c, line 268
- sys/arch/arm/s3c2xx0/s3c2440_sdi.c, line 811
- sys/arch/arm/s3c2xx0/s3c2440_spi.c, line 348
- sys/arch/arm/samsung/exynos_i2c.c, line 196
- sys/arch/arm/sociox/sni_i2c.c, 2 times
- sys/arch/arm/sunxi/sun8i_crypto.c, line 1824
- sys/arch/arm/sunxi/sunxi_mmc.c, line 698
- sys/arch/arm/sunxi/sunxi_rsb.c, line 204
- sys/arch/arm/ti/ti_iic.c, 2 times
- sys/arch/arm/ti/ti_sdhc.c, line 694
- sys/arch/dreamcast/dev/maple/maple.c, 3 times
- sys/arch/landisk/dev/button.c, line 410
- sys/arch/sgimips/hpc/pi1ppc.c, 2 times
- sys/arch/vax/uba/qvaux.c, line 437
- sys/arch/vax/vax/cfl.c, 2 times
- sys/arch/vax/vax/crl.c, line 275
- sys/arch/xen/xen/xbd_xenbus.c, 2 times
- sys/arch/xen/xen/xbdback_xenbus.c, line 838
- sys/arch/xen/xen/xenevt.c, line 285
- sys/arch/xen/xenbus/xenbus_comms.c, line 86
- sys/arch/xen/xenbus/xenbus_probe.c, line 674
- sys/arch/xen/xenbus/xenbus_xs.c, 2 times
- sys/dev/acpi/acpi_bat.c, line 673
- sys/dev/acpi/acpica/OsdSynch.c, line 243
- sys/dev/ata/ata.c, 5 times
- sys/dev/ata/wd.c, line 1362
- sys/dev/audio/audio.c, 7 times
- sys/dev/bluetooth/btsco.c, 2 times
- sys/dev/ccd.c, 3 times
- sys/dev/cgd.c, 2 times
- sys/dev/dec/dz.c, line 284
- sys/dev/dm/dm_dev.c, line 363
- sys/dev/dm/dm_table.c, line 96
- sys/dev/dmover/dmover_io.c, 2 times
- sys/dev/dtv/dtv_buffer.c, line 92
- sys/dev/dtv/dtv_demux.c, line 707
- sys/dev/flash/flash_io.c, line 145
- sys/dev/fss.c, 3 times
- sys/dev/hyperv/if_hvn.c, line 3695
- sys/dev/hyperv/vmbus.c, 3 times
- sys/dev/i2c/gttwsi_core.c, line 180
- sys/dev/i2o/iop.c, line 1719
- sys/dev/i2o/ld_iop.c, line 542
- sys/dev/ic/atppc.c, 2 times
- sys/dev/ic/ciss.c, line 1259
- sys/dev/ic/dwc_mmc.c, line 954
- sys/dev/ic/nvme.c, line 1897
- sys/dev/ic/pl181.c, 2 times
- sys/dev/ic/rtsx.c, line 1731
- sys/dev/ic/ssdfb.c, 4 times
- sys/dev/ic/wi.c, line 1399
- sys/dev/ieee1394/fwdev.c, line 928
- sys/dev/ieee1394/fwohci.c, 2 times
- sys/dev/ipmi.c, 3 times
- sys/dev/isa/pcppi.c, 2 times
- sys/dev/isa/ym.c, line 1443
- sys/dev/iscsi/iscsi_ioctl.c, 6 times
- sys/dev/iscsi/iscsi_rcv.c, line 594
- sys/dev/iscsi/iscsi_send.c, 3 times
- sys/dev/iscsi/iscsi_utils.c, 3 times
- sys/dev/ld.c, line 531
- sys/dev/midi.c, 11 times
- sys/dev/midictl.c, 2 times
- sys/dev/mii/mii.c, line 228
- sys/dev/mii/mii_physubr.c, line 275
- sys/dev/nvmm/nvmm.c, line 1434
- sys/dev/onewire/onewire.c, line 152
- sys/dev/pad/pad.c, line 314
- sys/dev/pci/amr.c, line 554
- sys/dev/pci/arcmsr.c, line 350
- sys/dev/pci/eso.c, 2 times
- sys/dev/pci/if_wpi.c, 5 times
- sys/dev/pci/ld_virtio.c, 2 times
- sys/dev/pci/vio9p.c, line 612
- sys/dev/pud/pud.c, line 336
- sys/dev/qbus/dhu.c, line 367
- sys/dev/qbus/dl.c, line 290
- sys/dev/qbus/ts.c, line 390
- sys/dev/raidframe/rf_netbsdkintf.c, 2 times
- sys/dev/raidframe/rf_threadstuff.h, line 76
- sys/dev/sbus/dbri.c, line 723
- sys/dev/scsipi/scsiconf.c, line 270
- sys/dev/scsipi/scsipi_base.c, 11 times
- sys/dev/scsipi/ss.c, line 472
- sys/dev/scsipi/st.c, line 1206
- sys/dev/sdmmc/if_bwfm_sdio.c, line 1833
- sys/dev/sdmmc/ld_sdmmc.c, 3 times
- sys/dev/sdmmc/sdhc.c, line 2463
- sys/dev/sdmmc/sdmmc.c, 3 times
- sys/dev/sequencer.c, 2 times
- sys/dev/spi/spi.c, 2 times
- sys/dev/sysmon/sysmon_envsys.c, 2 times
- sys/dev/sysmon/sysmon_envsys_events.c, line 847
- sys/dev/sysmon/sysmon_power.c, line 421
- sys/dev/sysmon/sysmon_taskq.c, 3 times
- sys/dev/tprof/tprof.c, 5 times
- sys/dev/usb/if_athn_usb.c, 7 times
- sys/dev/usb/if_upgt.c, line 1810
- sys/dev/usb/if_urtwn.c, line 909
- sys/dev/usb/ohci.c, line 1339
- sys/dev/usb/pseye.c, line 721
- sys/dev/usb/ucom.c, 4 times
- sys/dev/usb/udl.c, 2 times
- sys/dev/usb/ugen.c, 2 times
- sys/dev/usb/uhid.c, 2 times
- sys/dev/usb/uhidev.c, 6 times
- sys/dev/usb/umidi.c, 2 times
- sys/dev/usb/usb.c, line 807
- sys/dev/usb/usbdi.c, 2 times
- sys/dev/usb/uvideo.c, line 1985
- sys/dev/usb/xhci.c, 3 times
- sys/dev/wscons/wsbell.c, 2 times
- sys/external/bsd/common/include/linux/completion.h, line 146
- sys/external/bsd/common/linux/linux_rcu.c, 4 times
- sys/external/bsd/common/linux/linux_srcu.c, 2 times
- sys/external/bsd/common/linux/linux_work.c, 11 times
- sys/external/bsd/drm2/dist/drm/drm_syncobj.c, 2 times
- sys/external/bsd/drm2/drm/drm_agp_hook.c, line 134
- sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h, 2 times
- sys/external/bsd/drm2/include/drm/task_barrier.h, 2 times
- sys/external/bsd/drm2/linux/linux_dma_fence.c, 3 times
- sys/external/bsd/drm2/linux/linux_kthread.c, 4 times
- sys/external/bsd/drm2/linux/linux_rwsem.c, 3 times
- sys/external/bsd/drm2/linux/linux_wait_bit.c, line 121
- sys/external/bsd/drm2/linux/linux_ww_mutex.c, line 1074
- sys/external/bsd/ena-com/ena_plat.h, line 251
- sys/external/bsd/ipf/netinet/ip_log.c, line 317
- sys/fs/autofs/autofs.c, 3 times
- sys/fs/autofs/autofs_vfsops.c, line 225
- sys/fs/puffs/puffs_msgif.c, 3 times
- sys/fs/puffs/puffs_subr.c, line 176
- sys/fs/puffs/puffs_vfsops.c, line 384
- sys/fs/udf/udf_strat_direct.c, 2 times
- sys/fs/udf/udf_strat_rmw.c, 3 times
- sys/fs/udf/udf_strat_sequential.c, 5 times
- sys/kern/init_main.c, line 767
- sys/kern/kern_descrip.c, line 638
- sys/kern/kern_drvctl.c, line 166
- sys/kern/kern_entropy.c, 3 times
- sys/kern/kern_event.c, 4 times
- sys/kern/kern_exec.c, line 1319
- sys/kern/kern_exit.c, 5 times
- sys/kern/kern_hook.c, line 503
- sys/kern/kern_ksyms.c, line 1278
- sys/kern/kern_kthread.c, 2 times
- sys/kern/kern_ktrace.c, 2 times
- sys/kern/kern_lwp.c, 5 times
- sys/kern/kern_module.c, line 1759
- sys/kern/kern_physio.c, line 435
- sys/kern/kern_sig.c, 2 times
- sys/kern/kern_synch.c, 2 times
- sys/kern/kern_threadpool.c, 9 times
- sys/kern/subr_autoconf.c, 5 times
- sys/kern/subr_callback.c, line 127
- sys/kern/subr_extent.c, 2 times
- sys/kern/subr_localcount.c, line 257
- sys/kern/subr_log.c, line 327
- sys/kern/subr_once.c, 2 times
- sys/kern/subr_percpu.c, 2 times
- sys/kern/subr_pool.c, 5 times
- sys/kern/subr_psref.c, line 390
- sys/kern/subr_vmem.c, line 101
- sys/kern/subr_workqueue.c, 4 times
- sys/kern/subr_xcall.c, 2 times
- sys/kern/sys_aio.c, line 326
- sys/kern/sys_eventfd.c, 3 times
- sys/kern/sys_futex.c, 3 times
- sys/kern/sys_lwp.c, line 447
- sys/kern/sys_mqueue.c, 2 times
- sys/kern/sys_pipe.c, 11 times
- sys/kern/sys_ptrace_common.c, line 288
- sys/kern/sys_timerfd.c, 2 times
- sys/kern/sysv_msg.c, 13 times
- sys/kern/sysv_sem.c, 8 times
- sys/kern/sysv_shm.c, 4 times
- sys/kern/tty.c, 6 times
- sys/kern/tty_pty.c, 7 times
- sys/kern/uipc_sem.c, line 927
- sys/kern/uipc_socket.c, 6 times
- sys/kern/uipc_socket2.c, 10 times
- sys/kern/vfs_bio.c, 6 times
- sys/kern/vfs_lockf.c, line 418
- sys/kern/vfs_trans.c, 2 times
- sys/kern/vfs_vnode.c, 7 times
- sys/kern/vfs_wapbl.c, 2 times
- sys/miscfs/fifofs/fifo_vnops.c, 2 times
- sys/miscfs/specfs/spec_vnops.c, 2 times
- sys/modules/examples/pollpal/pollpal.c, 2 times
- sys/net/agr/if_agr.c, 2 times
- sys/net/bpf.c, line 801
- sys/net/bpf_stub.c, line 207
- sys/net/if_tap.c, 2 times
- sys/net/if_tun.c, 3 times
- sys/net/npf/npf_worker.c, 3 times
- sys/net/route.c, 2 times
- sys/net/rtsock_shared.c, line 936
- sys/netbt/hci_event.c, 6 times
- sys/netinet/ip_encap.c, line 920
- sys/netinet/tcp_subr.c, line 1268
- sys/netipsec/key.c, 2 times
- sys/nfs/nfs_bio.c, line 776
- sys/nfs/nfs_iod.c, line 154
- sys/nfs/nfs_kq.c, 2 times
- sys/nfs/nfs_socket.c, 2 times
- sys/nfs/nfs_srvcache.c, line 220
- sys/nfs/nfs_srvsocket.c, line 247
- sys/nfs/nfs_syscalls.c, line 1050
- sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c, 3 times
- sys/rump/kern/lib/libsysproxy/sysproxy.c, 2 times
- sys/rump/librump/rumpkern/intr.c, line 124
- sys/rump/librump/rumpkern/ltsleep.c, line 163
- sys/rump/librump/rumpkern/lwproc.c, line 321
- sys/rump/librump/rumpkern/sleepq.c, 2 times
- sys/rump/librump/rumpkern/vm.c, 2 times
- sys/rump/net/lib/libshmif/if_shmem.c, 2 times
- sys/ufs/lfs/lfs_accessors.h, line 618
- sys/ufs/lfs/lfs_bio.c, 3 times
- sys/ufs/lfs/lfs_inode.c, line 196
- sys/ufs/lfs/lfs_pages.c, line 659
- sys/ufs/lfs/lfs_segment.c, 2 times
- sys/ufs/lfs/lfs_subr.c, 3 times
- sys/ufs/lfs/lfs_vnops.c, 5 times
- sys/ufs/lfs/ulfs_quota1.c, 2 times
- sys/ufs/mfs/mfs_vnops.c, 2 times
- sys/ufs/ufs/ufs_quota1.c, 2 times
- sys/uvm/uvm_map.c, 2 times
- tests/rump/kernspace/threadpool.c, 5 times
- tests/rump/kernspace/workqueue.c, line 60