Defined in 2 files as a prototype:
Defined in 2 files as a macro:
Defined in 4 files as a function:
Referenced in 261 files:
- external/bsd/ipf/dist/ip_sync.c, line 232
- external/cddl/osnet/dist/lib/libzpool/common/taskq.c, 3 times
- external/cddl/osnet/dist/uts/common/dtrace/dtrace.c, line 18949
- external/cddl/osnet/dist/uts/common/fs/zfs/arc.c, 5 times
- external/cddl/osnet/dist/uts/common/fs/zfs/bqueue.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/dbuf.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/ddt.c, line 652
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_send.c, line 2957
- external/cddl/osnet/dist/uts/common/fs/zfs/dmu_traverse.c, line 590
- external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c, line 113
- external/cddl/osnet/dist/uts/common/fs/zfs/dsl_pool.c, line 271
- external/cddl/osnet/dist/uts/common/fs/zfs/metaslab.c, line 1479
- external/cddl/osnet/dist/uts/common/fs/zfs/rrwlock.c, line 144
- external/cddl/osnet/dist/uts/common/fs/zfs/spa_misc.c, 7 times
- external/cddl/osnet/dist/uts/common/fs/zfs/trim_map.c, line 615
- external/cddl/osnet/dist/uts/common/fs/zfs/txg.c, 6 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_rlock.c, 3 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zil.c, 4 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zio.c, line 644
- external/cddl/osnet/dist/uts/common/fs/zfs/zrlock.c, line 55
- external/cddl/osnet/dist/uts/common/sys/callb.h, 4 times
- external/cddl/osnet/sys/kern/taskq.c, line 277
- regress/sys/kern/allocfree/allocfree.c, line 261
- sys/arch/arm/amlogic/meson_sdhc.c, line 213
- sys/arch/arm/amlogic/meson_sdio.c, line 194
- sys/arch/arm/amlogic/mesongx_mmc.c, line 326
- sys/arch/arm/broadcom/bcm2835_emmc.c, line 199
- sys/arch/arm/broadcom/bcm2835_mbox.c, line 102
- sys/arch/arm/broadcom/bcm2835_sdhost.c, 2 times
- sys/arch/arm/broadcom/bcm2835_vcaudio.c, 2 times
- sys/arch/arm/imx/imx23_ssp.c, line 242
- sys/arch/arm/nvidia/tegra_cec.c, line 159
- sys/arch/arm/nvidia/tegra_i2c.c, line 144
- sys/arch/arm/omap/omap3_sdhc.c, line 392
- sys/arch/arm/omap/ti_iic.c, line 219
- sys/arch/arm/rockchip/rk_i2c.c, line 434
- sys/arch/arm/s3c2xx0/s3c2440_dma.c, line 154
- sys/arch/arm/s3c2xx0/s3c2440_sdi.c, line 209
- sys/arch/arm/s3c2xx0/s3c2440_spi.c, line 168
- sys/arch/arm/samsung/exynos_i2c.c, line 159
- sys/arch/arm/sunxi/sun8i_crypto.c, line 1222
- sys/arch/arm/sunxi/sunxi_mmc.c, 2 times
- sys/arch/arm/sunxi/sunxi_nand.c, line 665
- sys/arch/arm/sunxi/sunxi_rsb.c, line 181
- sys/arch/arm/ti/ti_iic.c, line 267
- sys/arch/arm/ti/ti_sdhc.c, line 263
- sys/arch/dreamcast/dev/maple/maple.c, 2 times
- sys/arch/landisk/dev/button.c, line 115
- sys/arch/macppc/dev/awacs.c, line 373
- sys/arch/mips/ingenic/jziic.c, line 143
- sys/arch/sandpoint/sandpoint/satmgr.c, 3 times
- sys/arch/sgimips/hpc/pi1ppc.c, 2 times
- sys/arch/x68k/dev/event.c, line 76
- sys/arch/xen/xen/balloon.c, line 204
- sys/arch/xen/xen/xbdback_xenbus.c, line 446
- sys/arch/xen/xen/xenevt.c, line 314
- sys/arch/xen/xenbus/xenbus_xs.c, 2 times
- sys/compat/linux/common/linux_futex.c, line 407
- sys/dev/acpi/acpi_bat.c, line 244
- sys/dev/acpi/acpi_ec.c, 2 times
- sys/dev/acpi/acpica/OsdSchedule.c, line 79
- sys/dev/acpi/acpica/OsdSynch.c, line 126
- sys/dev/ata/ata.c, line 149
- sys/dev/ata/ata_subr.c, 5 times
- sys/dev/audio/audio.c, 3 times
- sys/dev/bluetooth/bthidev.c, line 213
- sys/dev/bluetooth/btsco.c, line 284
- sys/dev/ccd.c, 2 times
- sys/dev/cgd.c, 3 times
- sys/dev/dkwedge/dk.c, line 332
- sys/dev/dm/dm_ioctl.c, line 256
- sys/dev/dm/dm_table.c, line 311
- sys/dev/dmover/dmover_io.c, 2 times
- sys/dev/dtv/dtv_demux.c, line 308
- sys/dev/dtv/dtv_device.c, line 111
- sys/dev/flash/flash_io.c, line 112
- sys/dev/fss.c, 5 times
- sys/dev/gpio/gpio.c, 2 times
- sys/dev/i2c/am2315.c, line 210
- sys/dev/i2c/gttwsi_core.c, line 154
- sys/dev/i2c/hytp14.c, line 139
- sys/dev/i2c/nxt2k.c, line 804
- sys/dev/i2o/iop.c, 3 times
- sys/dev/ic/atppc.c, 2 times
- sys/dev/ic/cac.c, line 116
- sys/dev/ic/ciss.c, line 212
- sys/dev/ic/dwc_mmc.c, line 840
- sys/dev/ic/dwiic.c, 3 times
- sys/dev/ic/nvme.c, line 1727
- sys/dev/ic/pl181.c, line 116
- sys/dev/ic/rtsx.c, line 212
- sys/dev/ic/ssdfb.c, line 305
- sys/dev/ic/wi.c, line 1396
- sys/dev/ieee1394/firewire.c, 4 times
- sys/dev/ieee1394/fwdev.c, line 149
- sys/dev/ieee1394/sbp.c, line 484
- sys/dev/ipmi.c, 4 times
- sys/dev/isa/fd.c, line 373
- sys/dev/isa/pcppi.c, line 222
- sys/dev/isa/ym.c, line 207
- sys/dev/iscsi/iscsi_ioctl.c, 8 times
- sys/dev/ld.c, line 133
- sys/dev/marvell/mvsdio.c, line 175
- sys/dev/md.c, line 168
- sys/dev/midi.c, 3 times
- sys/dev/midictl.c, line 183
- sys/dev/pad/pad.c, line 361
- sys/dev/pci/amr.c, 2 times
- sys/dev/pci/arcmsr.c, line 216
- sys/dev/pci/eso.c, 2 times
- sys/dev/pci/if_vioif.c, line 777
- sys/dev/pci/if_wpi.c, line 231
- sys/dev/pci/ld_virtio.c, line 361
- sys/dev/pci/mfii.c, line 2696
- sys/dev/pci/mpii.c, 2 times
- sys/dev/pci/pccbb.c, line 391
- sys/dev/pci/viomb.c, line 171
- sys/dev/pcmcia/if_malo_pcmcia.c, line 338
- sys/dev/pud/pud.c, 3 times
- sys/dev/raidframe/rf_netbsdkintf.c, line 342
- sys/dev/raidframe/rf_threadstuff.h, line 70
- sys/dev/sbus/dbri.c, line 363
- sys/dev/scsipi/atapiconf.c, 3 times
- sys/dev/scsipi/scsiconf.c, 4 times
- sys/dev/scsipi/scsipiconf.c, line 151
- sys/dev/sdmmc/if_bwfm_sdio.c, line 305
- sys/dev/sdmmc/ld_sdmmc.c, line 268
- sys/dev/sdmmc/sdhc.c, line 299
- sys/dev/sdmmc/sdmmc.c, line 154
- sys/dev/sequencer.c, 3 times
- sys/dev/spi/spi.c, 2 times
- sys/dev/sysmon/sysmon_envsys.c, line 535
- sys/dev/sysmon/sysmon_power.c, line 211
- sys/dev/sysmon/sysmon_taskq.c, line 105
- sys/dev/sysmon/sysmon_wdog.c, line 94
- sys/dev/tprof/tprof.c, 2 times
- sys/dev/usb/ehci.c, 2 times
- sys/dev/usb/if_athn_usb.c, 5 times
- sys/dev/usb/ohci.c, line 805
- sys/dev/usb/pseye.c, line 208
- sys/dev/usb/ucom.c, 2 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, line 147
- sys/dev/usb/umass.c, line 344
- sys/dev/usb/umidi.c, 2 times
- sys/dev/usb/usb.c, 3 times
- sys/dev/usb/usbdi.c, line 485
- sys/dev/usb/usbnet.c, line 1447
- sys/dev/usb/uvideo.c, line 1126
- sys/dev/usb/xhci.c, 2 times
- sys/dev/video.c, line 2279
- sys/dev/wscons/wsbell.c, line 248
- sys/dev/wscons/wsdisplay.c, line 896
- sys/external/bsd/common/include/linux/completion.h, line 85
- sys/external/bsd/common/linux/linux_work.c, line 235
- sys/external/bsd/drm2/drm/drm_agp_hook.c, line 56
- sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h, line 54
- sys/external/bsd/drm2/linux/linux_fence.c, 2 times
- sys/external/bsd/drm2/linux/linux_rcu.c, line 146
- sys/external/bsd/drm2/linux/linux_ww_mutex.c, line 183
- sys/external/bsd/ena-com/ena_plat.h, 2 times
- sys/external/bsd/ipf/netinet/ip_auth.c, line 230
- sys/external/bsd/ipf/netinet/ip_log.c, line 277
- sys/external/bsd/ipf/netinet/ip_sync.c, line 233
- sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c, line 140
- sys/fs/autofs/autofs_vfsops.c, line 65
- sys/fs/nilfs/nilfs_vfsops.c, line 672
- sys/fs/ntfs/ntfs_subr.c, line 428
- sys/fs/puffs/puffs_msgif.c, line 104
- sys/fs/puffs/puffs_vfsops.c, 4 times
- sys/fs/udf/udf_strat_sequential.c, line 619
- sys/fs/udf/udf_subr.c, 2 times
- sys/kern/kern_descrip.c, line 1243
- sys/kern/kern_drvctl.c, line 120
- sys/kern/kern_event.c, line 849
- sys/kern/kern_exec.c, 2 times
- sys/kern/kern_fork.c, 2 times
- sys/kern/kern_kthread.c, line 55
- sys/kern/kern_ktrace.c, 2 times
- sys/kern/kern_lwp.c, 4 times
- sys/kern/kern_module.c, line 413
- sys/kern/kern_physio.c, line 247
- sys/kern/kern_proc.c, 2 times
- sys/kern/kern_rndq.c, line 573
- sys/kern/kern_rndsink.c, line 83
- sys/kern/kern_synch.c, line 139
- sys/kern/kern_threadpool.c, 3 times
- sys/kern/subr_autoconf.c, 2 times
- sys/kern/subr_callback.c, line 43
- sys/kern/subr_cprng.c, line 142
- sys/kern/subr_extent.c, line 300
- sys/kern/subr_log.c, line 139
- sys/kern/subr_once.c, line 47
- sys/kern/subr_pool.c, 2 times
- sys/kern/subr_psref.c, line 165
- sys/kern/subr_vmem.c, line 98
- sys/kern/subr_workqueue.c, line 169
- sys/kern/subr_xcall.c, 3 times
- sys/kern/sys_aio.c, 2 times
- sys/kern/sys_mqueue.c, 2 times
- sys/kern/sys_pipe.c, 4 times
- sys/kern/sys_ptrace_common.c, line 315
- sys/kern/sysv_msg.c, 3 times
- sys/kern/sysv_sem.c, 3 times
- sys/kern/sysv_shm.c, 4 times
- sys/kern/tty.c, 6 times
- sys/kern/uipc_sem.c, line 477
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_socket2.c, 3 times
- sys/kern/uipc_usrreq.c, line 223
- sys/kern/vfs_bio.c, 3 times
- sys/kern/vfs_lockf.c, 2 times
- sys/kern/vfs_trans.c, 2 times
- sys/kern/vfs_vnode.c, 4 times
- sys/kern/vfs_wapbl.c, line 556
- sys/miscfs/fifofs/fifo_vnops.c, 2 times
- sys/modules/examples/readhappy_mpsafe/readhappy_mpsafe.c, line 232
- sys/modules/lua/lua.c, 2 times
- sys/net/agr/if_agr.c, 2 times
- sys/net/bpf.c, line 571
- sys/net/bpf_stub.c, line 169
- sys/net/if_gre.c, 2 times
- sys/net/if_tap.c, line 330
- sys/net/if_tun.c, line 224
- sys/net/npf/npf_worker.c, 2 times
- sys/net/route.c, 2 times
- sys/net/rtsock_shared.c, line 1640
- sys/netbt/hci_unit.c, line 104
- sys/netinet/ip_encap.c, line 177
- sys/netipsec/key.c, 4 times
- sys/netsmb/smb_conn.c, line 365
- sys/nfs/nfs_iod.c, line 105
- sys/nfs/nfs_kq.c, 2 times
- sys/nfs/nfs_srvcache.c, line 289
- sys/nfs/nfs_syscalls.c, 3 times
- sys/nfs/nfs_vfsops.c, 4 times
- sys/nfs/nfs_vnops.c, line 1297
- sys/opencrypto/cryptodev.c, 4 times
- sys/rump/librump/rumpkern/intr.c, line 277
- sys/rump/librump/rumpkern/ltsleep.c, line 73
- sys/rump/librump/rumpkern/lwproc.c, 2 times
- sys/rump/librump/rumpkern/sleepq.c, line 49
- sys/rump/librump/rumpkern/vm.c, 2 times
- sys/rump/net/lib/libshmif/if_shmem.c, line 196
- sys/sys/module_hook.h, line 65
- sys/ufs/chfs/chfs_gc.c, line 122
- sys/ufs/chfs/ebh.c, line 1128
- sys/ufs/ffs/ffs_alloc.c, line 1677
- sys/ufs/lfs/lfs_vfsops.c, 8 times
- sys/ufs/lfs/ulfs_quota.c, line 707
- sys/ufs/mfs/mfs_vfsops.c, 2 times
- sys/ufs/ufs/ufs_quota.c, line 691
- sys/uvm/uvm_map.c, line 4732
- sys/uvm/uvm_pdaemon.c, line 248
- tests/rump/kernspace/alloc.c, line 86
- tests/rump/kernspace/busypage.c, line 69
- tests/rump/kernspace/thread.c, line 95
- tests/rump/kernspace/threadpool.c, line 141
- tests/rump/kernspace/workqueue.c, line 72