Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 140 files:
- contrib/apr/include/apr_errno.h, 2 times
- contrib/apr/network_io/unix/sockets.c, line 401
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/ser-tcp.c, line 117
- contrib/ipfilter/ipsend/sock.c, line 306
- contrib/ipfilter/l4check/l4check.c, line 308
- contrib/ldns/net.c, 4 times
- contrib/lib9p/request.c, line 265
- contrib/libevent/test/regress_http.c, line 201
- contrib/libevent/util-internal.h, line 95
- contrib/llvm-project/libcxx/include/errno.h, line 219
- contrib/netbsd-tests/include/t_errno.c, line 256
- contrib/netbsd-tests/kernel/t_kauth_pr_47598.c, line 140
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 356
- contrib/netbsd-tests/net/net/t_tcp.c, line 113
- contrib/netcat/netcat.c, line 732
- contrib/ntp/lib/isc/unix/entropy.c, line 551
- contrib/ntp/lib/isc/unix/socket.c, 3 times
- contrib/ntp/lib/isc/win32/include/isc/net.h, line 199
- contrib/ntp/ntpd/refclock_gpsdjson.c, line 1907
- contrib/ntp/sntp/libevent/test/regress_http.c, line 187
- contrib/ntp/sntp/libevent/util-internal.h, line 95
- contrib/ofed/librdmacm/examples/riostream.c, 2 times
- contrib/ofed/librdmacm/examples/rstream.c, 2 times
- contrib/ofed/librdmacm/preload.c, line 771
- contrib/ofed/librdmacm/rsocket.c, 5 times
- contrib/openbsm/bin/auditdistd/proto_tcp.c, line 307
- contrib/openbsm/libbsm/bsm_errno.c, line 458
- contrib/pf/ftp-proxy/ftp-proxy.c, line 477
- contrib/pf/libevent/evbuffer.c, line 171
- contrib/pf/tftp-proxy/tftp-proxy.c, line 247
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/src/conf.c, 2 times
- contrib/tnftp/src/util.c, line 1408
- contrib/unbound/dnstap/dtstream.c, 3 times
- contrib/unbound/services/outside_network.c, 7 times
- contrib/unbound/util/netevent.c, 8 times
- contrib/wpa/src/common/dpp.c, 2 times
- contrib/wpa/src/wps/http_client.c, line 159
- crypto/openssh/channels.c, line 4176
- crypto/openssh/regress/netcat.c, line 679
- crypto/openssh/ssh-keyscan.c, line 350
- crypto/openssh/sshconnect.c, line 472
- crypto/openssl/crypto/bio/bss_dgram.c, 2 times
- crypto/openssl/crypto/bio/bss_fd.c, 2 times
- crypto/openssl/crypto/bio/bss_sock.c, 2 times
- crypto/openssl/crypto/rand/rand_egd.c, 2 times
- lib/librt/aio.c, line 165
- lib/libsysdecode/errno.c, line 71
- lib/libtacplus/taclib.c, line 258
- sbin/hastd/proto_tcp.c, line 324
- sys/amd64/amd64/trap.c, line 1072
- sys/arm/arm/busdma_machdep.c, line 990
- sys/arm64/arm64/busdma_bounce.c, line 742
- sys/cam/scsi/scsi_target.c, line 1087
- sys/compat/cloudabi/cloudabi_errno.c, line 65
- sys/compat/linuxkpi/common/src/linux_usb.c, line 443
- sys/dev/aac/aac.c, line 1005
- sys/dev/aacraid/aacraid_cam.c, line 1343
- sys/dev/aic7xxx/aic79xx_osm.c, line 1119
- sys/dev/aic7xxx/aic7xxx_osm.c, line 1179
- sys/dev/amr/amr.c, line 1704
- sys/dev/arcmsr/arcmsr.c, line 3167
- sys/dev/ciss/ciss.c, line 3194
- sys/dev/cxgbe/iw_cxgbe/cm.c, line 903
- sys/dev/cxgbe/iw_cxgbe/qp.c, line 1497
- sys/dev/cxgbe/t4_filter.c, 7 times
- sys/dev/cxgbe/t4_sge.c, 2 times
- sys/dev/cxgbe/tom/t4_listen.c, line 632
- sys/dev/esp/ncr53c9x.c, line 3057
- sys/dev/hpt27xx/hpt27xx_osm_bsd.c, line 859
- sys/dev/hptiop/hptiop.c, line 2326
- sys/dev/hptmv/entry.c, line 2854
- sys/dev/hptnr/hptnr_osm_bsd.c, 2 times
- sys/dev/hptrr/hptrr_osm_bsd.c, line 726
- sys/dev/hyperv/hvsock/hv_sock.c, line 531
- sys/dev/ice/ice_strings.c, line 414
- sys/dev/ida/ida.c, line 438
- sys/dev/iir/iir.c, 2 times
- sys/dev/iommu/busdma_iommu.c, 2 times
- sys/dev/isci/isci_io_request.c, line 784
- sys/dev/isp/isp_pci.c, line 1872
- sys/dev/mfi/mfi.c, line 2327
- sys/dev/mlx/mlx.c, line 1955
- sys/dev/mpr/mpr.c, line 3737
- sys/dev/mpr/mpr_sas.c, line 3042
- sys/dev/mpr/mpr_user.c, line 1538
- sys/dev/mps/mps.c, line 3044
- sys/dev/mps/mps_sas.c, line 2888
- sys/dev/mps/mps_user.c, line 1441
- sys/dev/mpt/mpt_cam.c, 2 times
- sys/dev/mrsas/mrsas_cam.c, line 1485
- sys/dev/pms/freebsd/driver/ini/src/agtiapi.c, 6 times
- sys/dev/smartpqi/smartpqi_cam.c, line 802
- sys/dev/sym/sym_hipd.c, line 7837
- sys/dev/twa/tw_osl_freebsd.c, line 1439
- sys/dev/twe/twe_freebsd.c, line 1092
- sys/dev/tws/tws_cam.c, line 921
- sys/dev/usb/usb_busdma.c, 2 times
- sys/dev/wpi/if_wpi.c, line 5473
- sys/dev/xen/blkfront/blkfront.c, line 307
- sys/geom/concat/g_concat.c, line 674
- sys/geom/multipath/g_multipath.c, 4 times
- sys/geom/stripe/g_stripe.c, line 920
- sys/geom/vinum/geom_vinum_init.c, 4 times
- sys/kern/kern_lockf.c, line 1465
- sys/kern/subr_bus_dma.c, 5 times
- sys/kern/uipc_sockbuf.c, 2 times
- sys/kern/uipc_syscalls.c, line 521
- sys/kern/vfs_aio.c, 3 times
- sys/mips/mips/busdma_machdep.c, line 863
- sys/net80211/ieee80211_ioctl.c, line 2645
- sys/net80211/ieee80211_proto.c, 2 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, 2 times
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, line 783
- sys/netgraph/bluetooth/socket/ng_btsocket_sco.c, 2 times
- sys/netgraph/ng_base.c, 2 times
- sys/netgraph/ng_ksocket.c, line 755
- sys/netinet/ip_input.c, line 1033
- sys/netinet/ip_output.c, line 685
- sys/netinet6/ip6_forward.c, line 162
- sys/netinet6/ip6_output.c, line 479
- sys/netipsec/ipsec_input.c, 2 times
- sys/netipsec/ipsec_output.c, 2 times
- sys/netipsec/udpencap.c, line 209
- sys/nlm/nlm_prot_impl.c, 2 times
- sys/powerpc/powerpc/busdma_machdep.c, line 679
- sys/powerpc/ps3/ps3cdrom.c, line 375
- sys/powerpc/ps3/ps3disk.c, line 391
- sys/riscv/riscv/busdma_bounce.c, line 625
- sys/security/audit/bsm_errno.c, line 462
- sys/x86/x86/busdma_bounce.c, line 657
- tests/sys/aio/aio_test.c, 4 times
- tools/regression/netinet/tcpconnect/tcpconnect.c, line 144
- tools/regression/sockets/unix_gc/unix_gc.c, line 172
- tools/regression/sockets/zerosend/zerosend.c, line 150
- tools/tools/netrate/tcpconnect/tcpconnect.c, line 93
- tools/tools/netrate/tcpp/tcpp_client.c, line 124
- usr.bin/whois/whois.c, line 345
- usr.sbin/bluetooth/bthidd/client.c, line 251