Defined in 2 files as a prototype:
Defined in 2 files as a macro:
Defined in 4 files as a function:
Referenced in 296 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 640
- 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 220
- sys/arch/arm/amlogic/meson_sdio.c, line 194
- sys/arch/arm/amlogic/mesongx_mmc.c, line 340
- sys/arch/arm/apple/apple_smc.c, line 333
- sys/arch/arm/broadcom/bcm2835_bsc.c, line 95
- sys/arch/arm/broadcom/bcm2835_emmc.c, line 203
- sys/arch/arm/broadcom/bcm2835_mbox.c, line 97
- 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 162
- sys/arch/arm/nvidia/tegra_i2c.c, line 137
- sys/arch/arm/s3c2xx0/s3c2440_dma.c, line 154
- sys/arch/arm/s3c2xx0/s3c2440_sdi.c, line 208
- sys/arch/arm/s3c2xx0/s3c2440_spi.c, line 168
- sys/arch/arm/samsung/exynos_i2c.c, line 154
- sys/arch/arm/sociox/sni_i2c.c, line 290
- sys/arch/arm/sunxi/sun8i_crypto.c, line 1722
- sys/arch/arm/sunxi/sunxi_mmc.c, line 366
- sys/arch/arm/sunxi/sunxi_nand.c, line 665
- sys/arch/arm/sunxi/sunxi_rsb.c, line 167
- sys/arch/arm/ti/ti_iic.c, line 261
- sys/arch/arm/ti/ti_sdhc.c, line 274
- sys/arch/dreamcast/dev/maple/maple.c, 2 times
- sys/arch/landisk/dev/button.c, line 114
- sys/arch/macppc/dev/awacs.c, line 380
- sys/arch/mips/ingenic/jziic.c, line 140
- 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/xbd_xenbus.c, 4 times
- sys/arch/xen/xen/xbdback_xenbus.c, line 362
- sys/arch/xen/xen/xenevt.c, line 330
- sys/arch/xen/xenbus/xenbus_comms.c, line 223
- sys/arch/xen/xenbus/xenbus_probe.c, line 689
- sys/arch/xen/xenbus/xenbus_xs.c, 2 times
- sys/dev/acpi/acpi_bat.c, line 241
- 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 154
- sys/dev/ata/ata_subr.c, 5 times
- sys/dev/ata/wd.c, line 323
- sys/dev/audio/audio.c, 3 times
- sys/dev/bluetooth/bthidev.c, line 213
- sys/dev/bluetooth/btsco.c, line 284
- sys/dev/cardbus/cardslot.c, line 133
- sys/dev/ccd.c, 2 times
- sys/dev/cgd.c, 3 times
- sys/dev/dm/dm_ioctl.c, line 243
- sys/dev/dm/dm_table.c, line 317
- sys/dev/dmover/dmover_io.c, 2 times
- sys/dev/dtv/dtv_demux.c, line 308
- sys/dev/dtv/dtv_device.c, line 112
- sys/dev/fdt/fdt_intr.c, line 77
- sys/dev/flash/flash_io.c, line 112
- sys/dev/fss.c, 5 times
- sys/dev/gpio/gpio.c, 2 times
- sys/dev/hyperv/if_hvn.c, 5 times
- sys/dev/hyperv/vmbus.c, 5 times
- sys/dev/i2c/am2315.c, line 210
- sys/dev/i2c/gttwsi_core.c, line 137
- sys/dev/i2c/hytp14.c, line 164
- sys/dev/i2c/nxt2k.c, line 804
- sys/dev/i2c/scmdi2c.c, 2 times
- sys/dev/i2c/sgp40.c, line 604
- sys/dev/i2c/sht3x.c, 3 times
- 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 311
- sys/dev/ic/dwc_mmc.c, line 857
- sys/dev/ic/dwiic.c, 3 times
- sys/dev/ic/nvme.c, line 1785
- sys/dev/ic/pl181.c, line 116
- sys/dev/ic/rtsx.c, line 212
- sys/dev/ic/ssdfb.c, line 402
- sys/dev/ic/wi.c, line 1389
- 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 206
- 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 169
- sys/dev/midi.c, 3 times
- sys/dev/midictl.c, line 183
- sys/dev/mii/mii.c, 2 times
- sys/dev/nvmm/nvmm.c, 2 times
- sys/dev/onewire/onewire.c, line 129
- sys/dev/pad/pad.c, line 220
- sys/dev/pci/amr.c, 2 times
- sys/dev/pci/arcmsr.c, line 215
- sys/dev/pci/eso.c, 2 times
- sys/dev/pci/ichsmb.c, line 196
- sys/dev/pci/if_iavf.c, line 855
- sys/dev/pci/if_ixl.c, line 1292
- sys/dev/pci/if_vioif.c, line 552
- sys/dev/pci/if_wpi.c, line 233
- sys/dev/pci/ld_virtio.c, line 365
- sys/dev/pci/mfii.c, line 2831
- sys/dev/pci/mpii.c, 2 times
- sys/dev/pci/pccbb.c, line 391
- sys/dev/pci/piixpm.c, line 210
- sys/dev/pci/vio9p.c, line 551
- sys/dev/pci/viomb.c, line 164
- sys/dev/pcmcia/if_malo_pcmcia.c, line 338
- sys/dev/pud/pud.c, 3 times
- sys/dev/raidframe/rf_netbsdkintf.c, line 338
- 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 375
- sys/dev/sdmmc/ld_sdmmc.c, line 276
- sys/dev/sdmmc/sdhc.c, line 301
- sys/dev/sdmmc/sdmmc.c, line 155
- sys/dev/sequencer.c, 3 times
- sys/dev/spi/scmdspi.c, 2 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, 2 times
- 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/if_otus.c, 2 times
- sys/dev/usb/if_upgt.c, line 2336
- sys/dev/usb/if_urtwn.c, line 403
- sys/dev/usb/if_zyd.c, line 338
- sys/dev/usb/ohci.c, line 808
- sys/dev/usb/pseye.c, line 212
- sys/dev/usb/ucom.c, line 300
- sys/dev/usb/udl.c, 2 times
- sys/dev/usb/ugen.c, 2 times
- sys/dev/usb/uhid.c, line 201
- sys/dev/usb/uhidev.c, line 198
- sys/dev/usb/uhub.c, line 416
- sys/dev/usb/umidi.c, 2 times
- sys/dev/usb/usb.c, 4 times
- sys/dev/usb/usb_subr.c, line 960
- sys/dev/usb/usbdi.c, line 611
- sys/dev/usb/uvideo.c, line 1179
- sys/dev/usb/xhci.c, 2 times
- sys/dev/video.c, line 2402
- sys/dev/wscons/wsbell.c, line 246
- sys/dev/wscons/wsdisplay.c, line 892
- sys/external/bsd/common/include/linux/completion.h, line 87
- sys/external/bsd/common/linux/linux_rcu.c, line 333
- sys/external/bsd/common/linux/linux_srcu.c, line 94
- sys/external/bsd/common/linux/linux_work.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_syncobj.c, 2 times
- sys/external/bsd/drm2/drm/drm_agp_hook.c, line 57
- sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h, line 53
- sys/external/bsd/drm2/include/drm/task_barrier.h, line 48
- sys/external/bsd/drm2/linux/linux_dma_fence.c, 2 times
- sys/external/bsd/drm2/linux/linux_kthread.c, line 140
- sys/external/bsd/drm2/linux/linux_rwsem.c, line 84
- sys/external/bsd/drm2/linux/linux_wait_bit.c, line 63
- sys/external/bsd/drm2/linux/linux_ww_mutex.c, line 205
- sys/external/bsd/ena-com/ena_plat.h, 2 times
- sys/external/bsd/ipf/netinet/ip_auth.c, line 229
- 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 64
- sys/fs/nilfs/nilfs_vfsops.c, line 675
- 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 629
- sys/fs/udf/udf_subr.c, 2 times
- sys/kern/kern_descrip.c, line 1270
- sys/kern/kern_drvctl.c, line 120
- sys/kern/kern_entropy.c, 2 times
- sys/kern/kern_event.c, line 1731
- sys/kern/kern_exec.c, 2 times
- sys/kern/kern_fork.c, 2 times
- sys/kern/kern_hook.c, line 437
- sys/kern/kern_ksyms.c, line 271
- sys/kern/kern_kthread.c, line 57
- sys/kern/kern_ktrace.c, 2 times
- sys/kern/kern_lwp.c, 4 times
- sys/kern/kern_module.c, line 420
- sys/kern/kern_module_hook.c, line 132
- sys/kern/kern_physio.c, line 247
- sys/kern/kern_proc.c, 2 times
- sys/kern/kern_synch.c, line 148
- sys/kern/kern_threadpool.c, 3 times
- sys/kern/subr_autoconf.c, 2 times
- sys/kern/subr_callback.c, line 43
- sys/kern/subr_devsw.c, line 378
- sys/kern/subr_extent.c, line 300
- sys/kern/subr_log.c, line 139
- sys/kern/subr_once.c, line 47
- sys/kern/subr_percpu.c, line 227
- sys/kern/subr_pool.c, 2 times
- sys/kern/subr_psref.c, line 166
- sys/kern/subr_vmem.c, line 98
- sys/kern/subr_workqueue.c, line 213
- sys/kern/subr_xcall.c, 3 times
- sys/kern/sys_aio.c, 2 times
- sys/kern/sys_eventfd.c, 2 times
- sys/kern/sys_futex.c, 2 times
- sys/kern/sys_mqueue.c, 2 times
- sys/kern/sys_pipe.c, 4 times
- sys/kern/sys_ptrace_common.c, line 1549
- sys/kern/sys_timerfd.c, line 163
- 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, 7 times
- sys/kern/uipc_sem.c, line 474
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_socket2.c, 3 times
- sys/kern/uipc_usrreq.c, line 227
- 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 547
- sys/miscfs/fifofs/fifo_vnops.c, 2 times
- sys/miscfs/specfs/spec_vnops.c, line 233
- sys/modules/examples/pollpal/pollpal.c, line 141
- 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 616
- sys/net/bpf_stub.c, line 169
- sys/net/if_gre.c, 2 times
- sys/net/if_tap.c, line 304
- sys/net/if_tun.c, line 213
- sys/net/npf/npf_worker.c, 2 times
- sys/net/route.c, 2 times
- sys/net/rtsock_shared.c, line 1733
- sys/netbt/hci_unit.c, line 104
- sys/netinet/ip_encap.c, line 161
- sys/netipsec/key.c, 4 times
- 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 1253
- sys/opencrypto/cryptodev.c, 4 times
- sys/rump/kern/lib/libsimplehook_tester/simplehook_tester.c, line 647
- 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 197
- sys/ufs/chfs/chfs_gc.c, line 122
- sys/ufs/chfs/ebh.c, line 1128
- sys/ufs/ffs/ffs_alloc.c, line 1690
- 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 4789
- sys/uvm/uvm_pdaemon.c, line 255
- tests/rump/kernspace/alloc.c, line 86
- tests/rump/kernspace/busypage.c, line 72
- tests/rump/kernspace/thread.c, line 95
- tests/rump/kernspace/threadpool.c, line 141
- tests/rump/kernspace/workqueue.c, line 72