Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 279 files:
- cddl/contrib/opensolaris/cmd/zfs/zfs_main.c, line 7394
- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, 2 times
- contrib/amd/amd/amfs_generic.c, 3 times
- contrib/amd/amd/info_hesiod.c, line 153
- contrib/amd/amd/ops_nfs.c, line 168
- contrib/amd/amd/srvr_nfs.c, line 218
- contrib/apr/include/apr_errno.h, 2 times
- contrib/apr/locks/unix/thread_cond.c, line 95
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, line 1740
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/ser-tcp.c, line 158
- contrib/jemalloc/src/background_thread.c, line 258
- contrib/libc++/include/errno.h, line 256
- contrib/libc++/src/condition_variable.cpp, line 75
- contrib/libevent/evthread_pthread.c, line 151
- contrib/llvm/tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, 2 times
- contrib/llvm/tools/lldb/source/Utility/SelectHelper.cpp, line 235
- contrib/netbsd-tests/include/t_errno.c, line 724
- contrib/netbsd-tests/lib/libpthread/t_cond.c, 5 times
- contrib/netbsd-tests/lib/libpthread/t_condwait.c, line 78
- contrib/netbsd-tests/lib/libpthread/t_mutex.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_rwlock.c, 2 times
- contrib/netbsd-tests/lib/librt/t_sem.c, 4 times
- contrib/netbsd-tests/lib/semaphore/sem.c, line 227
- contrib/netcat/netcat.c, line 712
- contrib/ntp/lib/isc/pthreads/condition.c, line 63
- contrib/ntp/lib/isc/unix/errno2result.c, 2 times
- contrib/ntp/lib/isc/unix/socket.c, line 5485
- contrib/ntp/lib/isc/win32/include/isc/net.h, line 243
- contrib/ntp/libntp/work_thread.c, 2 times
- contrib/ntp/ntpd/ntpd.c, line 1615
- contrib/ntp/sntp/libevent/evthread_pthread.c, line 151
- contrib/ofed/infiniband-diags/src/mcm_rereg_test.c, line 190
- contrib/ofed/infiniband-diags/src/smpdump.c, line 154
- contrib/ofed/libibmad/rpc.c, line 195
- contrib/ofed/libibumad/umad.c, line 842
- contrib/ofed/librdmacm/rsocket.c, 2 times
- contrib/ofed/opensm/complib/cl_event.c, line 163
- contrib/ofed/opensm/complib/cl_timer.c, line 162
- contrib/openbsm/bin/auditdistd/proto_common.c, 2 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 361
- contrib/openbsm/bin/auditdistd/proto_tls.c, line 130
- contrib/openbsm/bin/auditdistd/synch.h, 2 times
- contrib/openbsm/libbsm/bsm_errno.c, line 453
- contrib/openmp/runtime/src/z_Linux_util.cpp, 3 times
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libmilter/libmilter.h, line 163
- contrib/sendmail/libsm/ldap.c, 5 times
- contrib/sendmail/libsm/mbdb.c, line 550
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/sendmail/src/conf.c, line 3445
- contrib/sendmail/src/control.c, line 255
- contrib/sendmail/src/daemon.c, 4 times
- contrib/sendmail/src/deliver.c, 2 times
- contrib/sendmail/src/domain.c, 3 times
- contrib/sendmail/src/err.c, 2 times
- contrib/sendmail/src/map.c, 4 times
- contrib/sendmail/src/milter.c, line 1207
- contrib/sendmail/src/queue.c, line 2448
- contrib/sendmail/src/recipient.c, line 1913
- contrib/sendmail/src/sfsasl.c, 2 times
- contrib/sendmail/src/util.c, line 1327
- contrib/smbfs/lib/smb/nbns_rq.c, 3 times
- contrib/sqlite3/sqlite3.c, line 33363
- contrib/tnftp/src/util.c, line 1417
- contrib/xz/src/common/mythread.h, line 287
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, line 1237
- crypto/heimdal/lib/krb5/net_write.c, line 97
- crypto/openssh/regress/netcat.c, line 690
- crypto/openssh/sshconnect.c, 2 times
- lib/libbluetooth/hci.c, 2 times
- lib/libc/gen/recvmmsg.c, line 63
- lib/libc/resolv/res_send.c, 2 times
- lib/libc/rpc/rtime.c, line 117
- lib/libfetch/common.c, 3 times
- lib/libstdthreads/cnd.c, line 86
- lib/libstdthreads/mtx.c, line 90
- lib/libsysdecode/errno.c, line 118
- lib/libthr/thread/thr_cond.c, 2 times
- lib/libthr/thread/thr_join.c, 3 times
- lib/libthr/thread/thr_mutex.c, 2 times
- lib/libthr/thread/thr_umtx.c, 4 times
- lib/libusb/libusb01.c, line 645
- lib/libusb/libusb10_io.c, line 340
- sbin/hastd/proto_common.c, 2 times
- sbin/hastd/proto_tcp.c, line 365
- sbin/hastd/synch.h, 2 times
- sbin/iscontrol/fsm.c, line 206
- sbin/mount_nfs/mount_nfs.c, line 901
- stand/libsa/ip.c, line 425
- stand/libsa/net.c, 3 times
- stand/libsa/strerror.c, line 59
- sys/arm/allwinner/a10_hdmi.c, line 383
- sys/arm/allwinner/aw_mmc.c, 2 times
- sys/arm/allwinner/aw_rsb.c, 2 times
- sys/arm/allwinner/if_awg.c, line 1690
- sys/arm/broadcom/bcm2835/bcm2835_mbox.c, line 249
- sys/arm/freescale/imx/imx6_ahci.c, 2 times
- sys/arm/freescale/imx/imx6_ccm.c, line 341
- sys/arm/freescale/imx/imx6_ipu.c, line 976
- sys/arm/mv/mv_thermal.c, line 155
- sys/arm/nvidia/drm2/tegra_hdmi.c, line 695
- sys/arm/nvidia/tegra124/tegra124_clk_pll.c, line 552
- sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c, 2 times
- sys/arm/nvidia/tegra_i2c.c, 2 times
- sys/arm/nvidia/tegra_pcie.c, 2 times
- sys/arm/nvidia/tegra_usbphy.c, 2 times
- sys/arm/nvidia/tegra_xhci.c, 3 times
- sys/arm/ti/omap4/omap4_prcm_clks.c, 2 times
- sys/cam/scsi/scsi_target.c, line 1105
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c, line 109
- sys/compat/cloudabi/cloudabi_errno.c, line 113
- sys/compat/cloudabi/cloudabi_futex.c, 2 times
- sys/compat/cloudabi32/cloudabi32_poll.c, 3 times
- sys/compat/cloudabi64/cloudabi64_poll.c, 3 times
- sys/compat/linux/linux_futex.c, line 657
- sys/compat/linuxkpi/common/include/linux/errno.h, line 37
- sys/contrib/alpine-hal/al_hal_pcie.c, line 1980
- sys/contrib/alpine-hal/al_hal_serdes_25g.c, 8 times
- sys/contrib/alpine-hal/al_hal_serdes_hssp.c, 2 times
- sys/contrib/alpine-hal/al_hal_udma_main.c, 2 times
- sys/contrib/alpine-hal/eth/al_hal_eth_main.c, 4 times
- sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c, line 1089
- sys/contrib/ena-com/ena_plat.h, line 185
- sys/dev/acpica/acpi_smbat.c, 2 times
- sys/dev/ae/if_ae.c, line 967
- sys/dev/aic7xxx/aic79xx.c, 2 times
- sys/dev/al_eth/al_init_eth_kr.c, 2 times
- sys/dev/al_eth/al_init_eth_lm.c, 3 times
- sys/dev/an/if_an.c, 6 times
- sys/dev/axgbe/xgbe-mdio.c, line 1100
- sys/dev/bhnd/bcma/bcma_subr.c, line 581
- sys/dev/bhnd/bhnd_subr.c, line 1169
- sys/dev/bhnd/cores/pci/bhnd_pci.c, line 295
- sys/dev/bhnd/siba/siba_subr.c, line 732
- sys/dev/bnxt/bnxt_hwrm.c, 2 times
- sys/dev/bwi/bwimac.c, 3 times
- sys/dev/cfi/cfi_core.c, 2 times
- sys/dev/cxgb/common/cxgb_ael1002.c, 3 times
- sys/dev/cxgb/common/cxgb_aq100x.c, line 250
- sys/dev/cxgb/common/cxgb_vsc7323.c, line 97
- sys/dev/cxgb/cxgb_main.c, line 1332
- sys/dev/cxgbe/common/t4_hw.c, 10 times
- sys/dev/cxgbe/common/t4_msg.h, line 213
- sys/dev/cxgbe/iw_cxgbe/cm.c, 2 times
- sys/dev/cxgbe/tom/t4_cpl_io.c, line 1425
- sys/dev/efidev/efirt.c, 2 times
- sys/dev/et/if_et.c, 2 times
- sys/dev/etherswitch/e6000sw/e6000sw.c, line 502
- sys/dev/firewire/firewire.c, line 360
- sys/dev/flash/at45d.c, line 225
- sys/dev/gpio/gpioths.c, line 118
- sys/dev/ida/ida.c, 2 times
- sys/dev/iicbus/iiconf.c, line 54
- sys/dev/iicbus/twsi/twsi.c, line 583
- sys/dev/ioat/ioat.c, 2 times
- sys/dev/ips/ips.c, line 324
- sys/dev/ips/ips_commands.c, 3 times
- sys/dev/ipw/if_ipw.c, line 1868
- sys/dev/iwm/if_iwm.c, line 2439
- sys/dev/iwm/if_iwm_pcie_trans.c, 2 times
- sys/dev/iwn/if_iwn.c, 7 times
- sys/dev/ixl/iavf_vc.c, line 262
- sys/dev/ixl/if_iavf.c, 2 times
- sys/dev/ixl/ixl_pf_iov.c, line 373
- sys/dev/ixl/ixl_pf_main.c, 4 times
- sys/dev/jme/if_jme.c, 3 times
- sys/dev/liquidio/lio_sysctl.c, line 1584
- sys/dev/malo/if_malohal.c, 4 times
- sys/dev/mfi/mfi.c, line 2517
- sys/dev/mfi/mfi_tbolt.c, line 1176
- sys/dev/mlx4/mlx4_core/mlx4_catas.c, line 160
- sys/dev/mlx5/mlx5_core/mlx5_cmd.c, 6 times
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, line 1433
- sys/dev/mlxfw/mlxfw_fsm.c, line 95
- sys/dev/mmc/mmcsd.c, line 1038
- sys/dev/mpr/mpr.c, 7 times
- sys/dev/mpr/mpr_user.c, 5 times
- sys/dev/mps/mps.c, 6 times
- sys/dev/mps/mps_user.c, 5 times
- sys/dev/mpt/mpt.c, 10 times
- sys/dev/mpt/mpt_cam.c, 2 times
- sys/dev/mpt/mpt_raid.c, 6 times
- sys/dev/mpt/mpt_user.c, 5 times
- sys/dev/mrsas/mrsas.c, 9 times
- sys/dev/mrsas/mrsas_ioctl.c, line 255
- sys/dev/msk/if_msk.c, line 668
- sys/dev/mwl/mwlhal.c, 4 times
- sys/dev/nge/if_nge.c, 4 times
- sys/dev/nvme/nvme_ns_cmd.c, line 195
- sys/dev/oce/oce_mbox.c, line 180
- sys/dev/pci/pci.c, line 6418
- sys/dev/ral/rt2860.c, 5 times
- sys/dev/re/if_re.c, line 4034
- sys/dev/rtwn/if_rtwn_beacon.c, line 86
- sys/dev/rtwn/if_rtwn_efuse.c, line 111
- sys/dev/rtwn/if_rtwn_fw.c, 2 times
- sys/dev/rtwn/rtl8188e/pci/r88ee_init.c, 2 times
- sys/dev/rtwn/rtl8188e/r88e_fw.c, line 80
- sys/dev/rtwn/rtl8188e/usb/r88eu_init.c, 2 times
- sys/dev/rtwn/rtl8192c/pci/r92ce_init.c, 3 times
- sys/dev/rtwn/rtl8192c/r92c_fw.c, line 91
- sys/dev/rtwn/rtl8192c/r92c_llt.c, line 72
- sys/dev/rtwn/rtl8192c/usb/r92cu_init.c, 3 times
- sys/dev/rtwn/rtl8192e/r92e_init.c, 3 times
- sys/dev/rtwn/rtl8812a/r12a_init.c, 2 times
- sys/dev/rtwn/rtl8821a/r21a_init.c, 2 times
- sys/dev/sdhci/sdhci_xenon.c, line 231
- sys/dev/sec/sec.c, 2 times
- sys/dev/sfxge/common/efx_mcdi.c, 2 times
- sys/dev/sfxge/common/efx_sram.c, line 125
- sys/dev/sfxge/sfxge_ev.c, line 803
- sys/dev/sfxge/sfxge_port.c, 2 times
- sys/dev/sk/if_sk.c, line 577
- sys/dev/sound/pci/ds1.c, line 251
- sys/dev/sound/pci/ich.c, line 263
- sys/dev/tpm/tpm20.c, line 92
- sys/dev/twa/tw_osl_share.h, line 106
- sys/dev/tws/tws_user.c, line 114
- sys/dev/usb/wlan/if_rsu.c, 7 times
- sys/dev/usb/wlan/if_rum.c, 2 times
- sys/dev/usb/wlan/if_run.c, 13 times
- sys/dev/vnic/nic_main.c, line 512
- sys/dev/vnic/nicvf_queues.c, line 145
- sys/dev/vnic/thunder_bgx.c, line 267
- sys/dev/vr/if_vr.c, 3 times
- sys/dev/wi/if_wi.c, 4 times
- sys/dev/wpi/if_wpi.c, 6 times
- sys/fs/autofs/autofs.c, line 286
- sys/fs/fuse/fuse_io.c, 2 times
- sys/fs/fuse/fuse_ipc.c, line 324
- sys/fs/nfs/nfs_commonkrpc.c, line 837
- sys/fs/nfsclient/nfs_clbio.c, 2 times
- sys/geom/sched/g_sched.c, 2 times
- sys/kern/kern_tc.c, line 1623
- sys/kern/kern_thr.c, line 546
- sys/kern/kern_umtx.c, line 855
- sys/kern/uipc_mqueue.c, 6 times
- sys/kern/uipc_sem.c, line 849
- sys/kern/vfs_bio.c, line 4048
- sys/mips/cavium/octe/ethernet-mv88e61xx.c, line 129
- sys/mips/ingenic/jz4780_clk_gen.c, line 228
- sys/mips/ingenic/jz4780_clk_pll.c, line 161
- sys/mips/ingenic/jz4780_mmc.c, 2 times
- sys/netgraph/bluetooth/hci/ng_hci_cmds.c, line 380
- sys/netgraph/bluetooth/hci/ng_hci_misc.c, 2 times
- sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c, line 403
- sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c, 3 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, 2 times
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, 3 times
- sys/netgraph/bluetooth/socket/ng_btsocket_sco.c, line 1952
- sys/netinet/netdump/netdump_client.c, 2 times
- sys/netinet/sctputil.c, 2 times
- sys/netinet/tcp_stacks/rack.c, 13 times
- sys/netinet/tcp_subr.c, line 1770
- sys/netinet/tcp_timer.c, 4 times
- sys/netsmb/smb_iod.c, line 564
- sys/netsmb/smb_trantcp.c, line 239
- sys/nfs/bootp_subr.c, line 942
- sys/nfs/krpc_subr.c, line 398
- sys/ofed/drivers/infiniband/core/ib_addr.c, line 731
- sys/ofed/drivers/infiniband/core/ib_cma.c, 4 times
- sys/ofed/drivers/infiniband/core/ib_mad.c, line 2770
- sys/ofed/drivers/infiniband/core/ib_sa_query.c, line 1413
- sys/ofed/drivers/infiniband/core/ib_user_mad.c, line 209
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c, line 375
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c, 2 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, line 654
- sys/powerpc/powermac/kiic.c, line 374
- sys/security/audit/bsm_errno.c, line 457
- sys/x86/iommu/intel_dmar.h, line 542
- sys/xen/error.h, 2 times
- sys/xen/interface/errno.h, line 78
- tools/regression/posixsem/posixsem.c, line 831
- usr.bin/fetch/fetch.c, line 782
- usr.bin/whois/whois.c, line 435
- usr.sbin/bluetooth/hccontrol/send_recv.c, line 171
- usr.sbin/dconschat/dconschat.c, 4 times