Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 251 files:
- bin/pkill/pkill.c, line 826
- bin/sh/input.c, line 167
- contrib/apr/file_io/unix/readwrite.c, 3 times
- contrib/apr/include/apr_errno.h, 6 times
- contrib/apr/locks/unix/proc_mutex.c, line 1245
- contrib/apr/network_io/unix/sendrecv.c, 8 times
- contrib/bearssl/tools/sslio.c, 4 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, line 1439
- contrib/dma/spool.c, line 379
- contrib/ldns/net.c, 2 times
- contrib/libedit/read.c, 4 times
- contrib/libevent/util-internal.h, 2 times
- contrib/libpcap/pcap-bpf.c, line 1020
- contrib/libpcap/pcap-nit.c, line 115
- contrib/libpcap/pcap-pf.c, line 117
- contrib/libpcap/pcap-snit.c, line 131
- contrib/libpcap/pcap-snoop.c, line 95
- contrib/llvm-project/libcxx/include/errno.h, line 227
- contrib/llvm-project/llvm/lib/Support/raw_ostream.cpp, 2 times
- contrib/netbsd-tests/include/t_errno.c, line 742
- contrib/netbsd-tests/net/net/t_tcp.c, line 160
- contrib/netbsd-tests/rump/kernspace/tsleep.c, line 76
- contrib/ntp/lib/isc/unix/entropy.c, 4 times
- contrib/ntp/lib/isc/unix/socket.c, line 233
- contrib/ntp/lib/isc/win32/include/isc/net.h, line 197
- contrib/ntp/lib/isc/win32/socket.c, line 125
- contrib/ntp/ntpd/ntp_io.c, line 3549
- contrib/ntp/ntpdate/ntpdate.c, line 1879
- contrib/ntp/sntp/libevent/util-internal.h, 2 times
- contrib/nvi/common/exf.c, 2 times
- contrib/ofed/libibumad/umad.c, 2 times
- contrib/ofed/librdmacm/examples/riostream.c, 4 times
- contrib/ofed/librdmacm/examples/rstream.c, 3 times
- contrib/ofed/librdmacm/examples/udpong.c, 4 times
- contrib/ofed/librdmacm/rsocket.c, 9 times
- contrib/openbsm/compat/pidfile.h, line 135
- contrib/sendmail/libmilter/listener.c, 2 times
- contrib/sendmail/libsm/local.h, line 295
- contrib/sendmail/libsmdb/smdb.c, line 142
- contrib/sendmail/mail.local/mail.local.c, 4 times
- contrib/sendmail/src/conf.c, line 3697
- contrib/sendmail/src/daemon.c, 2 times
- contrib/sendmail/src/util.c, line 594
- contrib/tcsh/ed.term.c, 5 times
- contrib/tcsh/tc.func.c, 4 times
- contrib/telnet/telnet/network.c, line 152
- contrib/telnet/telnet/sys_bsd.c, 2 times
- contrib/telnet/telnetd/telnetd.c, 2 times
- contrib/telnet/telnetd/utility.c, 2 times
- contrib/unbound/dnstap/dtstream.c, 2 times
- contrib/unbound/dnstap/unbound-dnstap-socket.c, 2 times
- contrib/unbound/util/netevent.c, 12 times
- contrib/wpa/src/common/wpa_ctrl.c, line 519
- contrib/wpa/src/crypto/tls_gnutls.c, line 160
- contrib/xz/src/xz/file_io.c, 2 times
- crypto/heimdal/appl/telnet/telnet/network.c, line 147
- crypto/heimdal/appl/telnet/telnet/sys_bsd.c, 2 times
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, 2 times
- crypto/heimdal/appl/telnet/telnetd/utility.c, 2 times
- crypto/heimdal/lib/hdb/hdb.c, 2 times
- crypto/heimdal/lib/roken/flock.c, line 133
- crypto/openssh/atomicio.c, 2 times
- crypto/openssh/channels.c, 7 times
- crypto/openssh/clientloop.c, line 645
- crypto/openssh/defines.h, line 822
- crypto/openssh/mux.c, 6 times
- crypto/openssh/openbsd-compat/arc4random.c, line 106
- crypto/openssh/openbsd-compat/bsd-flock.c, line 73
- crypto/openssh/packet.c, 3 times
- crypto/openssh/serverloop.c, line 324
- crypto/openssh/sftp-client.c, line 1689
- crypto/openssh/ssh-keyscan.c, line 583
- crypto/openssh/sshd.c, line 1230
- crypto/openssh/sshkey-xmss.c, line 482
- crypto/openssl/crypto/bio/bss_dgram.c, 8 times
- crypto/openssl/crypto/bio/bss_fd.c, 5 times
- crypto/openssl/crypto/bio/bss_sock.c, 5 times
- crypto/openssl/engines/e_afalg.c, line 269
- lib/libc/rpc/clnt_dg.c, line 482
- lib/libc/yp/yplib.c, line 385
- lib/libutil/gr_util.c, line 108
- lib/libutil/pidfile.c, line 158
- lib/libutil/pw_util.c, line 181
- sbin/routed/input.c, line 80
- sbin/routed/rdisc.c, line 965
- sbin/routed/table.c, line 1175
- stand/kshim/bsd_kernel.c, 2 times
- sys/arm/broadcom/bcm2835/bcm2835_spi.c, line 533
- sys/arm/ti/ti_pruss.c, line 262
- sys/cam/ctl/ctl_ha.c, line 409
- sys/compat/cloudabi/cloudabi_futex.c, 2 times
- sys/compat/linux/linux_futex.c, 3 times
- sys/compat/linuxkpi/common/include/linux/wait.h, line 168
- sys/compat/linuxkpi/common/src/linux_compat.c, 2 times
- sys/compat/linuxkpi/common/src/linux_schedule.c, 2 times
- sys/compat/ndis/subr_ntoskrnl.c, line 1747
- sys/contrib/openzfs/include/os/freebsd/spl/sys/condvar.h, 4 times
- sys/contrib/vchiq/interface/compat/vchi_bsd.c, 2 times
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c, 2 times
- sys/dev/aac/aac.c, line 1055
- sys/dev/aacraid/aacraid.c, line 1045
- sys/dev/adb/adb_mouse.c, line 513
- sys/dev/amr/amr.c, line 1361
- sys/dev/atkbdc/psm.c, line 2453
- sys/dev/axgbe/xgbe-dev.c, 2 times
- sys/dev/ciss/ciss.c, 3 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, line 1884
- sys/dev/cxgbe/tom/t4_tom_l2t.c, 3 times
- sys/dev/cyapa/cyapa.c, line 785
- sys/dev/drm2/drm_os_freebsd.h, line 533
- sys/dev/etherswitch/rtl8366/rtl8366rb.c, 2 times
- sys/dev/evdev/cdev.c, line 214
- sys/dev/evdev/uinput.c, line 258
- sys/dev/gpio/gpiobus.c, line 927
- sys/dev/hyperv/hvsock/hv_sock.c, 3 times
- sys/dev/ichsmb/ichsmb.c, line 640
- sys/dev/iicbus/ads111x.c, 2 times
- sys/dev/iicbus/iiconf.c, line 67
- sys/dev/imcsmb/imcsmb_pci.c, line 310
- sys/dev/intel/spi.c, line 414
- sys/dev/intpm/intpm.c, line 622
- sys/dev/ipmi/ipmi.c, line 846
- sys/dev/ipw/if_ipw.c, line 1867
- sys/dev/iscsi_initiator/isc_sm.c, line 558
- sys/dev/ismt/ismt.c, line 211
- sys/dev/isp/isp.c, 4 times
- sys/dev/isp/isp_freebsd.c, line 648
- sys/dev/ixl/if_iavf.c, line 597
- sys/dev/kbd/kbd.c, line 619
- sys/dev/mly/mly.c, line 2970
- sys/dev/mpr/mpr.c, 3 times
- sys/dev/mpr/mpr_sas_lsi.c, line 1089
- sys/dev/mps/mps.c, 3 times
- sys/dev/mps/mps_sas_lsi.c, line 862
- sys/dev/mpt/mpt.c, line 1345
- sys/dev/mrsas/mrsas_cam.c, line 1992
- sys/dev/nvme/nvme_ctrlr.c, line 1617
- sys/dev/ow/ow.c, line 684
- sys/dev/pccbb/pccbb.c, line 523
- sys/dev/ppbus/lpt.c, 3 times
- sys/dev/ppbus/ppb_1284.c, line 421
- sys/dev/ppbus/ppb_base.c, 2 times
- sys/dev/ppbus/ppbconf.c, line 527
- sys/dev/ppbus/ppi.c, line 514
- sys/dev/ppc/ppc_isa.c, 2 times
- sys/dev/random/randomdev.c, 3 times
- sys/dev/smbus/smbconf.c, 3 times
- sys/dev/snp/snp.c, line 178
- sys/dev/sound/midi/midi.c, 2 times
- sys/dev/sound/midi/sequencer.c, 4 times
- sys/dev/sume/if_sume.c, 4 times
- sys/dev/tpm/tpm.c, 5 times
- sys/dev/twa/tw_osl_freebsd.c, line 1037
- sys/dev/twa/tw_osl_share.h, line 104
- sys/dev/tws/tws_user.c, 2 times
- sys/dev/usb/usb_dev.c, 2 times
- sys/dev/virtio/block/virtio_blk.c, line 1256
- sys/dev/vkbd/vkbd.c, 2 times
- sys/dev/vt/vt_sysmouse.c, 2 times
- sys/dev/xen/blkfront/blkfront.c, line 1558
- sys/dev/xen/evtchn/evtchn_dev.c, 2 times
- sys/dev/xen/xenstore/xenstore.c, 3 times
- sys/dev/xen/xenstore/xenstore_dev.c, line 239
- sys/fs/cuse/cuse.c, 4 times
- sys/fs/fuse/fuse_io.c, line 586
- sys/fs/fuse/fuse_ipc.c, line 469
- sys/fs/nfs/nfs.h, line 579
- sys/fs/nfsclient/nfs_clnfsiod.c, line 341
- sys/geom/bde/g_bde_work.c, line 649
- sys/geom/journal/g_journal.c, line 2006
- sys/geom/mirror/g_mirror_ctl.c, line 122
- sys/geom/raid/g_raid.c, 3 times
- sys/kern/kern_alq.c, 2 times
- sys/kern/kern_event.c, 2 times
- sys/kern/kern_linker.c, line 1035
- sys/kern/kern_shutdown.c, 2 times
- sys/kern/kern_synch.c, line 334
- sys/kern/kern_tc.c, line 1571
- sys/kern/kern_thr.c, 2 times
- sys/kern/kern_time.c, 2 times
- sys/kern/subr_autoconf.c, line 164
- sys/kern/subr_log.c, line 158
- sys/kern/subr_sleepqueue.c, line 629
- sys/kern/subr_smp.c, line 959
- sys/kern/subr_stack.c, 2 times
- sys/kern/sys_generic.c, 5 times
- sys/kern/sys_getrandom.c, line 48
- sys/kern/sys_socket.c, 3 times
- sys/kern/sysv_msg.c, line 904
- sys/kern/tty.c, line 192
- sys/kern/tty_pts.c, 2 times
- sys/kern/tty_ttydisc.c, 6 times
- sys/kern/uipc_sem.c, line 854
- sys/kern/uipc_sockbuf.c, line 470
- sys/kern/uipc_socket.c, 4 times
- sys/kern/uipc_syscalls.c, 2 times
- sys/kern/vfs_aio.c, 3 times
- sys/kern/vfs_subr.c, line 1533
- sys/kern/vfs_vnops.c, 2 times
- sys/net/bpf.c, 2 times
- sys/net/if_ethersubr.c, line 353
- sys/net/if_fwsubr.c, 2 times
- sys/net/if_infiniband.c, 2 times
- sys/net/if_tuntap.c, line 1726
- sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c, line 567
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, 2 times
- sys/netgraph/ng_device.c, line 427
- sys/netgraph/ng_ksocket.c, 2 times
- sys/netinet/if_ether.c, line 579
- sys/netinet/sctp_output.c, 2 times
- sys/netinet/sctp_syscalls.c, 3 times
- sys/netinet/sctputil.c, 2 times
- sys/netinet/tcp_usrreq.c, line 1465
- sys/netinet6/nd6.c, line 2423
- sys/netsmb/smb_iod.c, line 304
- sys/netsmb/smb_trantcp.c, 2 times
- sys/nfs/bootp_subr.c, line 708
- sys/nfs/krpc_subr.c, line 353
- sys/nfsclient/nfs.h, line 146
- sys/nlm/nlm_advlock.c, 4 times
- sys/ofed/drivers/infiniband/core/ib_addr.c, 2 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, 2 times
- sys/powerpc/mpc85xx/fsl_espi.c, line 395
- sys/powerpc/powermac/kiic.c, line 420
- sys/powerpc/powermac/smu.c, 5 times
- sys/rpc/clnt_bck.c, line 394
- sys/rpc/clnt_dg.c, 4 times
- sys/rpc/clnt_vc.c, 2 times
- sys/rpc/svc.c, line 1222
- sys/rpc/svc_dg.c, line 191
- sys/rpc/svc_vc.c, 2 times
- tests/sys/fifo/fifo_kqueue.c, 4 times
- tests/sys/kern/pipe/pipe_kqueue_test.c, 3 times
- tests/sys/netinet/so_reuseport_lb_test.c, line 88
- tools/regression/kthread/kld/kthrdlk.c, 2 times
- tools/regression/sockets/accf_data_attach/accf_data_attach.c, line 224
- tools/tools/mctest/mctest.cc, 2 times
- usr.bin/chat/chat.c, line 1083
- usr.bin/wall/ttymsg.c, line 124
- usr.sbin/bhyve/net_backends.c, 2 times
- usr.sbin/bhyve/pci_virtio_console.c, line 426
- usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c, 3 times
- usr.sbin/cron/lib/compat.c, line 188
- usr.sbin/lpr/lpd/lpd.c, line 288
- usr.sbin/lpr/lpd/printjob.c, line 210
- usr.sbin/moused/moused.c, line 1091
- usr.sbin/powerd/powerd.c, line 340
- usr.sbin/rpcbind/rpcbind.c, line 149
- usr.sbin/rtadvd/control.c, line 236
- usr.sbin/ypbind/ypbind.c, line 403