Defined in 6 files as a macro:
Referenced in 320 files:
- bin/sh/error.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/net_write.c, line 99
- crypto/external/bsd/openssh/dist/kex.c, line 1197
- crypto/external/bsd/openssh/dist/misc.c, line 253
- external/apache2/mDNSResponder/dist/mDNSShared/CommonServices.h, line 450
- external/bsd/am-utils/dist/amd/amfs_generic.c, 3 times
- external/bsd/am-utils/dist/amd/info_hesiod.c, line 155
- external/bsd/am-utils/dist/amd/ops_nfs.c, line 170
- external/bsd/am-utils/dist/amd/srvr_nfs.c, line 220
- external/bsd/fetch/dist/libfetch/common.c, 3 times
- external/bsd/jemalloc/dist/src/background_thread.c, line 258
- external/bsd/libbind/dist/resolv/res_send.c, 2 times
- external/bsd/libc++/dist/libcxx/src/condition_variable.cpp, line 75
- external/bsd/libc++/dist/libcxx/test/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/diagnostics/syserr/errc.pass.cpp, line 97
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/errno/cerrno.pass.cpp, 2 times
- external/bsd/libc++/dist/libcxx/test/std/diagnostics/syserr/errc.pass.cpp, line 97
- external/bsd/libevent/dist/evthread_pthread.c, line 154
- external/bsd/ntp/dist/lib/isc/pthreads/condition.c, line 65
- external/bsd/ntp/dist/lib/isc/unix/errno2result.c, 2 times
- external/bsd/ntp/dist/lib/isc/unix/socket.c, line 5487
- external/bsd/ntp/dist/lib/isc/win32/include/isc/net.h, line 245
- external/bsd/ntp/dist/libntp/work_thread.c, 2 times
- external/bsd/ntp/dist/ntpd/ntpd.c, line 1613
- external/bsd/ntp/dist/sntp/libevent/evthread_pthread.c, line 153
- external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/tio.c, line 50
- external/bsd/openldap/dist/libraries/libldap/os-ip.c, line 411
- external/bsd/openldap/dist/libraries/libldap/os-local.c, line 322
- external/bsd/openldap/dist/libraries/libldap/tls_m.c, line 484
- external/bsd/smbfs/dist/lib/smb/nbns_rq.c, 2 times
- external/bsd/unbound/dist/testcode/checklocks.c, 2 times
- external/cddl/osnet/dist/lib/libzpool/common/kernel.c, 2 times
- external/gpl2/lvm2/dist/daemons/clvmd/clvmd.c, line 654
- external/gpl3/binutils/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libiberty/strerror.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/config/os/generic/error_constants.h, line 162
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32-w64/error_constants.h, line 148
- external/gpl3/gcc/dist/libstdc++-v3/config/os/mingw32/error_constants.h, line 126
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/futex.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/system_error.cc, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/strerror-override.c, line 82
- external/gpl3/gdb/dist/gdb/ser-tcp.c, 2 times
- external/gpl3/gdb/dist/libiberty/strerror.c, 2 times
- external/gpl3/gdb/dist/sim/bfin/linux-targ-map.h, 2 times
- external/gpl3/gdb/dist/sim/cris/traps.c, 2 times
- external/ibm-public/postfix/dist/src/global/pipe_command.c, line 363
- external/ibm-public/postfix/dist/src/tls/tls_bio_ops.c, line 246
- external/ibm-public/postfix/dist/src/tlsproxy/tlsproxy.c, 2 times
- external/ibm-public/postfix/dist/src/util/dict_sockmap.c, line 234
- external/ibm-public/postfix/dist/src/util/poll_fd.c, 2 times
- external/ibm-public/postfix/dist/src/util/spawn_command.c, line 305
- external/ibm-public/postfix/dist/src/util/timed_wait.c, line 112
- external/ibm-public/postfix/dist/src/util/vstream.c, 4 times
- external/ibm-public/postfix/dist/src/util/write_buf.c, line 85
- external/mpl/bind/dist/lib/isc/pthreads/condition.c, line 64
- external/mpl/bind/dist/lib/isc/tests/errno_test.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/errno2result.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/socket.c, 2 times
- external/mpl/bind/dist/lib/isc/win32/include/isc/net.h, line 252
- external/mpl/dhcp/dist/omapip/toisc.c, line 168
- external/public-domain/sqlite/dist/sqlite3.c, line 33233
- external/public-domain/xz/dist/src/common/mythread.h, line 287
- lib/libbluetooth/bt_dev.c, 3 times
- lib/libc/gen/getpass.c, line 159
- lib/libc/resolv/res_send.c, 2 times
- lib/libisns/isns_pdu.c, line 860
- lib/libpthread/cnd.c, line 100
- lib/libpthread/mtx.c, line 128
- lib/libpthread/pthread.c, line 1207
- lib/libpthread/pthread_cond.c, line 446
- lib/libpthread/pthread_mutex.c, 2 times
- lib/librumpuser/rumpfiber.c, line 612
- lib/librumpuser/rumpuser_errtrans.c, 2 times
- share/examples/refuse/ian/libfetch/common.c, 3 times
- sys/arch/arm/amlogic/meson_sdhc.c, 3 times
- sys/arch/arm/amlogic/meson_sdio.c, 2 times
- sys/arch/arm/amlogic/mesongx_mmc.c, line 593
- sys/arch/arm/broadcom/bcm2835_emmc.c, line 350
- sys/arch/arm/broadcom/bcm2835_sdhost.c, 2 times
- sys/arch/arm/cortex/gicv3_its.c, line 276
- sys/arch/arm/imx/if_enet.c, 2 times
- sys/arch/arm/imx/imxsnvs.c, 2 times
- sys/arch/arm/nvidia/tegra_i2c.c, 3 times
- sys/arch/arm/nvidia/tegra_rtc.c, line 140
- sys/arch/arm/omap/if_cpsw.c, line 749
- sys/arch/arm/omap/omap3_sdhc.c, line 851
- sys/arch/arm/omap/omapl1x_emac.c, 5 times
- sys/arch/arm/rockchip/rk_i2c.c, line 203
- sys/arch/arm/rockchip/rk_v1crypto.c, line 374
- sys/arch/arm/s3c2xx0/s3c2440_dma.c, line 617
- sys/arch/arm/s3c2xx0/s3c2440_sdi.c, 5 times
- sys/arch/arm/samsung/exynos_i2c.c, line 260
- sys/arch/arm/samsung/exynos_rtc.c, line 144
- sys/arch/arm/sunxi/sun4i_emac.c, 2 times
- sys/arch/arm/sunxi/sun8i_crypto.c, line 740
- sys/arch/arm/sunxi/sunxi_ccu_nkmp.c, line 67
- sys/arch/arm/sunxi/sunxi_emac.c, 3 times
- sys/arch/arm/sunxi/sunxi_hdmi.c, 2 times
- sys/arch/arm/sunxi/sunxi_mc_smp.c, line 151
- sys/arch/arm/sunxi/sunxi_mmc.c, 6 times
- sys/arch/arm/sunxi/sunxi_nand.c, line 183
- sys/arch/arm/ti/if_cpsw.c, line 757
- sys/arch/arm/ti/ti_sdhc.c, line 662
- sys/arch/arm/xscale/iopi2c.c, line 149
- sys/arch/arm/xscale/ixp425_if_npe.c, line 1619
- sys/arch/arm/xscale/pxa2x0_ac97.c, line 454
- sys/arch/arm/xscale/pxa2x0_i2c.c, line 447
- sys/arch/arm/xscale/pxa2x0_mci.c, 2 times
- sys/arch/bebox/stand/boot/siop.c, line 571
- sys/arch/emips/ebus/ace_ebus.c, 7 times
- sys/arch/emips/ebus/flash_ebus.c, line 1793
- sys/arch/evbarm/stand/boot2440/dev_sdmmc.c, 2 times
- sys/arch/evbarm/stand/boot2440/s3csdi.c, 3 times
- sys/arch/evbppc/virtex/dev/if_temac.c, line 271
- sys/arch/evbsh3/t_sh7706lan/scimci.c, 4 times
- sys/arch/evbsh3/t_sh7706lan/ssumci.c, 4 times
- sys/arch/i386/stand/efiboot/eficons.c, 2 times
- sys/arch/macppc/dev/if_gm.c, 2 times
- sys/arch/macppc/stand/ofwboot/net.c, line 141
- sys/arch/mips/alchemy/dev/auspi.c, line 248
- sys/arch/mips/alchemy/dev/if_aumac.c, line 990
- sys/arch/mips/atheros/dev/athflash.c, 2 times
- sys/arch/mips/atheros/dev/if_ae.c, 2 times
- sys/arch/mips/cavium/dev/octeon_smi.c, 2 times
- sys/arch/next68k/stand/boot/en.c, line 488
- sys/arch/ofppc/stand/ofwboot/net.c, line 142
- sys/arch/playstation2/dev/emac3.c, line 398
- sys/arch/powerpc/ibm4xx/dev/if_emac.c, line 1538
- sys/arch/prep/stand/boot/siop.c, line 550
- sys/arch/sgimips/mace/if_mec.c, line 827
- sys/arch/shark/stand/ofwboot/net.c, line 138
- sys/arch/sparc64/dev/lom.c, 10 times
- sys/arch/vax/vax/clock.c, line 281
- sys/arch/x86/pci/imcsmb/imcsmb.c, line 413
- sys/arch/xen/xen/privcmd.c, line 273
- sys/compat/linux/common/linux_futex.c, 2 times
- sys/compat/netbsd32/netbsd32_sem.c, line 185
- sys/dev/ebus/cs4231_ebus.c, line 304
- sys/dev/hyperv/hvkbd.c, line 374
- sys/dev/hyperv/if_hvn.c, 3 times
- sys/dev/i2c/anxedp.c, 2 times
- sys/dev/i2c/motoi2c.c, 2 times
- sys/dev/ic/aic6915.c, line 1399
- sys/dev/ic/aic79xx.c, 2 times
- sys/dev/ic/an.c, 5 times
- sys/dev/ic/anx_dp.c, 3 times
- sys/dev/ic/apple_smc.c, 2 times
- sys/dev/ic/arn5008.c, 2 times
- sys/dev/ic/arn5416.c, line 345
- sys/dev/ic/arn9003.c, 5 times
- sys/dev/ic/arn9285.c, 2 times
- sys/dev/ic/arn9380.c, line 489
- sys/dev/ic/athn.c, 5 times
- sys/dev/ic/atw.c, 5 times
- sys/dev/ic/bwi.c, 3 times
- sys/dev/ic/ciss.c, 2 times
- sys/dev/ic/dw_hdmi.c, line 326
- sys/dev/ic/dwc_gmac.c, 2 times
- sys/dev/ic/dwc_mmc.c, 2 times
- sys/dev/ic/gem.c, 2 times
- sys/dev/ic/hme.c, 2 times
- sys/dev/ic/i82557.c, 4 times
- sys/dev/ic/lan9118.c, line 563
- sys/dev/ic/malo.c, 4 times
- sys/dev/ic/mpt.c, 7 times
- sys/dev/ic/nvme.c, line 1368
- sys/dev/ic/pca9564.c, line 171
- sys/dev/ic/pl050.c, line 72
- sys/dev/ic/pl181.c, 2 times
- sys/dev/ic/rt2860.c, 9 times
- sys/dev/ic/rtl8169.c, 2 times
- sys/dev/ic/rtsx.c, 5 times
- sys/dev/ic/rtw.c, 2 times
- sys/dev/ic/smc83c170.c, line 1337
- sys/dev/ic/tpm.c, line 475
- sys/dev/ic/tulip.c, 2 times
- sys/dev/ic/w83l518d_sdmmc.c, 2 times
- sys/dev/ic/wi.c, 4 times
- sys/dev/ieee1394/firewire.c, line 1331
- sys/dev/marvell/if_gfe.c, 4 times
- sys/dev/marvell/if_mvgbe.c, 4 times
- sys/dev/marvell/if_mvxpe.c, 4 times
- sys/dev/marvell/mvsdio.c, line 284
- sys/dev/nor/cfi_0002.c, 5 times
- sys/dev/pci/alipm.c, 2 times
- sys/dev/pci/auich.c, line 900
- sys/dev/pci/autri.c, line 445
- sys/dev/pci/auvia.c, line 525
- sys/dev/pci/azalia.c, 3 times
- sys/dev/pci/cs4280.c, line 868
- sys/dev/pci/cs4281.c, 4 times
- sys/dev/pci/cxgb/cxgb_vsc7323.c, line 101
- sys/dev/pci/if_age.c, 2 times
- sys/dev/pci/if_alc.c, 6 times
- sys/dev/pci/if_ale.c, 2 times
- sys/dev/pci/if_aq.c, 5 times
- sys/dev/pci/if_bce.c, 2 times
- sys/dev/pci/if_bge.c, 3 times
- sys/dev/pci/if_bnx.c, 2 times
- sys/dev/pci/if_cas.c, 2 times
- sys/dev/pci/if_et.c, 4 times
- sys/dev/pci/if_iwi.c, 4 times
- sys/dev/pci/if_iwm.c, 2 times
- sys/dev/pci/if_iwn.c, 7 times
- sys/dev/pci/if_jme.c, 4 times
- sys/dev/pci/if_lii.c, 2 times
- sys/dev/pci/if_mcx.c, line 2572
- sys/dev/pci/if_msk.c, 2 times
- sys/dev/pci/if_nfe.c, 2 times
- sys/dev/pci/if_rtwn.c, 7 times
- sys/dev/pci/if_sk.c, 5 times
- sys/dev/pci/if_vge.c, 2 times
- sys/dev/pci/if_vte.c, 2 times
- sys/dev/pci/if_wm.c, 4 times
- sys/dev/pci/if_wpi.c, 5 times
- sys/dev/pci/ips.c, line 1522
- sys/dev/pci/twa.c, 6 times
- sys/dev/pckbport/pckbport.c, line 304
- sys/dev/pcmcia/if_wi_pcmcia.c, line 444
- sys/dev/ppbus/ppbus_base.c, 2 times
- sys/dev/sdmmc/sdhc.c, 10 times
- sys/dev/sdmmc/sdmmc_io.c, 3 times
- sys/dev/sdmmc/sdmmc_mem.c, 2 times
- sys/dev/usb/if_aue.c, 2 times
- sys/dev/usb/if_mue.c, 7 times
- sys/dev/usb/if_run.c, 16 times
- sys/dev/usb/if_smsc.c, 4 times
- sys/dev/usb/if_urtwn.c, 10 times
- sys/dev/usb/irmce.c, line 355
- sys/dev/usb/stuirda.c, line 326
- sys/dev/usb/udsir.c, line 620
- sys/dev/usb/ugen.c, 3 times
- sys/dev/usb/uirda.c, line 573
- sys/dev/usb/urio.c, 2 times
- sys/dev/usb/ustir.c, line 1000
- sys/dev/usb/utoppy.c, 2 times
- sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c, line 981
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_atombios_dp.c, line 98
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cik.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cik_ih.c, line 373
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cik_sdma.c, line 1073
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_ih.c, line 351
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v7_0.c, line 4934
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c, line 4139
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc_v7_0.c, line 1147
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc_v8_0.c, line 1108
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_iceland_ih.c, line 352
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_sdma_v2_4.c, line 1090
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_sdma_v3_0.c, line 1250
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_tonga_ih.c, line 374
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_uvd_v4_2.c, line 695
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_uvd_v5_0.c, line 638
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_uvd_v6_0.c, line 630
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vce_v2_0.c, line 472
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vce_v3_0.c, line 482
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vi.c, line 1001
- sys/external/bsd/drm2/dist/drm/i915/i915_guc_submission.c, line 117
- sys/external/bsd/drm2/dist/drm/i915/intel_dp.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/intel_drv.h, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c, line 316
- sys/external/bsd/drm2/dist/drm/i915/intel_pm.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/intel_sideband.c, line 73
- sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/device.h, line 34
- sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/timer.h, line 58
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_dacnv50.c, line 115
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_outpdp.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gpfifogf100.c, line 75
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gpfifogk104.c, line 57
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/nouveau_nvkm_engine_gr_gk20a.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/nouveau_nvkm_subdev_bus_g94.c, line 52
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/nouveau_nvkm_subdev_bus_nv50.c, line 52
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_base.c, line 268
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_gk20a.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_anx9805.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_auxg94.c, line 147
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_auxgm204.c, line 147
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_bit.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c, line 127
- sys/external/bsd/drm2/dist/drm/radeon/radeon_cik.c, 3 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_auxch.c, line 173
- sys/external/bsd/drm2/dist/drm/radeon/radeon_evergreen.c, line 1162
- sys/external/bsd/drm2/dist/drm/radeon/radeon_ni.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c, line 7874
- sys/external/bsd/drm2/dist/drm/radeon/radeon_uvd.c, line 1020
- sys/external/bsd/drm2/dist/drm/radeon/radeon_vce_v1_0.c, 2 times
- sys/external/bsd/ena-com/ena_plat.h, line 172
- sys/external/mit/xen-include-public/dist/xen/include/public/errno.h, line 111
- sys/fs/autofs/autofs.c, line 188
- sys/fs/nfs/client/nfs_clbio.c, 2 times
- sys/fs/nfs/common/bootp_subr.c, line 947
- sys/fs/nfs/common/krpc_subr.c, line 394
- sys/fs/nfs/common/nfs_commonkrpc.c, line 773
- sys/kern/kern_time.c, line 345
- sys/kern/subr_time.c, 3 times
- sys/kern/sys_lwp.c, line 607
- sys/kern/sys_mqueue.c, 2 times
- sys/kern/uipc_sem.c, line 1000
- sys/lib/libsa/net.c, line 105
- sys/netbt/hci_event.c, line 603
- sys/netbt/l2cap_misc.c, line 205
- sys/netbt/rfcomm_dlc.c, line 204
- sys/netbt/rfcomm_session.c, line 320
- sys/netinet/tcp_subr.c, line 1071
- sys/netinet/tcp_timer.c, 3 times
- sys/netsmb/smb_iod.c, line 92
- sys/netsmb/smb_trantcp.c, line 241
- sys/nfs/nfs_boot.c, line 455
- sys/nfs/nfs_clntsocket.c, line 859
- sys/rump/dev/lib/libugenhc/ugenhc.c, line 630
- sys/rump/include/rump/rumperrno2host.h, 2 times
- tests/include/t_errno.c, line 724
- tests/lib/libpthread/t_cond.c, 5 times
- tests/lib/libpthread/t_condwait.c, line 78
- tests/lib/libpthread/t_mutex.c, 3 times
- tests/lib/libpthread/t_rwlock.c, 2 times
- tests/lib/semaphore/sem.c, line 227
- usr.bin/ftp/ssl.c, 3 times
- usr.bin/ftp/util.c, line 1446
- usr.bin/nc/netcat.c, line 982