Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 244 files:
- bin/pkill/pkill.c, line 826
- bin/sh/input.c, line 169
- contrib/amd/amd/amfs_generic.c, line 940
- contrib/amd/amd/srvr_nfs.c, line 316
- 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 728
- contrib/apr/network_io/unix/sendrecv.c, 8 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/bsnmp/lib/snmpclient.c, line 1431
- contrib/dma/spool.c, line 379
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/ldns/net.c, 2 times
- contrib/libc++/include/errno.h, line 198
- contrib/libevent/util-internal.h, 2 times
- contrib/libpcap/pcap-bpf.c, line 1012
- 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/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 3527
- contrib/ntp/ntpdate/ntpdate.c, line 1868
- 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 3632
- 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 156
- contrib/telnet/telnet/sys_bsd.c, 2 times
- contrib/telnet/telnetd/telnetd.c, 2 times
- contrib/telnet/telnetd/utility.c, 2 times
- contrib/unbound/util/netevent.c, 12 times
- contrib/wpa/src/common/wpa_ctrl.c, line 505
- 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 632
- 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 1231
- 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 272
- lib/libc/rpc/clnt_dg.c, line 482
- lib/libc/yp/yplib.c, line 385
- lib/libedit/read.c, 4 times
- lib/libutil/gr_util.c, line 108
- lib/libutil/pidfile.c, line 154
- 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 256
- sys/cam/ctl/ctl_ha.c, line 470
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c, line 2425
- 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 165
- 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 1748
- 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 1062
- sys/dev/adb/adb_mouse.c, line 513
- sys/dev/amr/amr.c, line 1363
- sys/dev/atkbdc/psm.c, line 2400
- sys/dev/bktr/bktr_core.c, line 1260
- sys/dev/bktr/bktr_i2c.c, 2 times
- sys/dev/ciss/ciss.c, 3 times
- sys/dev/cxgbe/iw_cxgbe/cm.c, line 1849
- sys/dev/cxgbe/tom/t4_tom_l2t.c, 3 times
- sys/dev/cyapa/cyapa.c, line 761
- sys/dev/dpt/dpt_scsi.c, line 2310
- sys/dev/drm2/drm_os_freebsd.h, line 531
- sys/dev/drm2/radeon/radeon_fence.c, 2 times
- sys/dev/etherswitch/rtl8366/rtl8366rb.c, 2 times
- sys/dev/evdev/cdev.c, line 188
- sys/dev/evdev/uinput.c, line 263
- sys/dev/gpio/gpiobus.c, line 659
- sys/dev/ichsmb/ichsmb.c, line 646
- sys/dev/iicbus/iiconf.c, line 55
- sys/dev/imcsmb/imcsmb_pci.c, line 311
- sys/dev/intel/spi.c, line 414
- sys/dev/intpm/intpm.c, line 613
- sys/dev/ipmi/ipmi.c, line 844
- sys/dev/ipw/if_ipw.c, line 1866
- 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 647
- sys/dev/ixl/if_iavf.c, line 595
- sys/dev/kbd/kbd.c, line 645
- sys/dev/mly/mly.c, line 2976
- sys/dev/mpr/mpr.c, 3 times
- sys/dev/mpr/mpr_sas_lsi.c, 2 times
- sys/dev/mps/mps.c, 3 times
- sys/dev/mps/mps_sas_lsi.c, 2 times
- sys/dev/mpt/mpt.c, line 1348
- sys/dev/mrsas/mrsas_cam.c, line 1532
- sys/dev/nand/nfc_fsl.c, line 500
- sys/dev/ow/ow.c, line 579
- sys/dev/pccbb/pccbb.c, line 525
- sys/dev/ppbus/lpt.c, 3 times
- sys/dev/ppbus/ppb_1284.c, line 423
- sys/dev/ppbus/ppb_base.c, 2 times
- sys/dev/ppbus/ppbconf.c, line 528
- sys/dev/ppbus/ppi.c, line 516
- 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/tpm/tpm.c, 5 times
- sys/dev/twa/tw_osl_freebsd.c, line 1068
- sys/dev/twa/tw_osl_share.h, line 110
- sys/dev/tws/tws_user.c, 2 times
- sys/dev/usb/usb_dev.c, 2 times
- sys/dev/virtio/block/virtio_blk.c, line 1207
- sys/dev/vkbd/vkbd.c, 2 times
- sys/dev/vt/vt_sysmouse.c, 2 times
- sys/dev/xen/blkfront/blkfront.c, line 1528
- 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 241
- sys/fs/cuse/cuse.c, 4 times
- sys/fs/nfs/nfs.h, line 556
- sys/fs/nfsclient/nfs_clnfsiod.c, line 339
- sys/geom/bde/g_bde_work.c, line 649
- sys/geom/journal/g_journal.c, line 1998
- 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_shutdown.c, 2 times
- sys/kern/kern_synch.c, line 330
- sys/kern/kern_tc.c, line 1618
- 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 638
- sys/kern/subr_smp.c, line 872
- 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 900
- sys/kern/tty.c, line 183
- 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 288
- sys/kern/uipc_socket.c, 4 times
- sys/kern/uipc_syscalls.c, 2 times
- sys/kern/vfs_aio.c, 3 times
- sys/kern/vfs_vnops.c, 2 times
- sys/net/bpf.c, 2 times
- sys/net/if_ethersubr.c, line 350
- sys/net/if_fwsubr.c, 2 times
- sys/net/if_tap.c, line 899
- sys/net/if_tun.c, line 821
- sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c, 2 times
- sys/netgraph/ng_device.c, line 425
- sys/netgraph/ng_ksocket.c, 2 times
- sys/netinet/if_ether.c, line 552
- 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 1321
- sys/netinet6/nd6.c, line 2461
- sys/netsmb/smb_iod.c, line 306
- sys/netsmb/smb_trantcp.c, 2 times
- sys/nfs/bootp_subr.c, line 805
- sys/nfs/krpc_subr.c, line 353
- sys/nfs/nfs_lock.c, line 327
- sys/nfsclient/nfs.h, line 147
- sys/nlm/nlm_advlock.c, 4 times
- sys/ofed/drivers/infiniband/core/ib_addr.c, 2 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c, line 1478
- 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 421
- sys/powerpc/powermac/smu.c, 5 times
- sys/rpc/clnt_bck.c, line 374
- sys/rpc/clnt_dg.c, 4 times
- sys/rpc/clnt_vc.c, 3 times
- sys/rpc/svc.c, line 1220
- sys/rpc/svc_dg.c, line 191
- sys/rpc/svc_vc.c, 2 times
- tests/sys/netinet/reuseport_lb.c, line 83
- 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/pci_virtio_console.c, line 419
- usr.sbin/bhyve/pci_virtio_net.c, line 358
- usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c, 3 times
- usr.sbin/cron/lib/compat.c, line 200
- usr.sbin/lpr/lpd/lpd.c, line 288
- usr.sbin/lpr/lpd/printjob.c, line 210
- usr.sbin/moused/moused.c, line 1114
- usr.sbin/powerd/powerd.c, line 323
- usr.sbin/rpcbind/rpcbind.c, line 149
- usr.sbin/rtadvd/control.c, line 236
- usr.sbin/ypbind/ypbind.c, line 403