Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 327 files:
- bin/pax/ar_io.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_work.c, line 229
- contrib/apr/include/apr_errno.h, 2 times
- contrib/apr/network_io/unix/inet_ntop.c, 2 times
- contrib/binutils/bfd/bfdio.c, 2 times
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/remote-fileio.c, line 248
- contrib/ldns/compat/inet_ntop.c, 2 times
- contrib/libarchive/test_utils/test_main.c, line 2815
- contrib/libc-vis/unvis.c, line 514
- contrib/libc-vis/vis.c, 2 times
- contrib/llvm-project/libcxx/include/errno.h, line 365
- contrib/netbsd-tests/fs/vfs/t_full.c, line 83
- contrib/netbsd-tests/include/t_errno.c, line 490
- contrib/netbsd-tests/lib/libc/sys/t_msgget.c, line 230
- contrib/ntp/lib/isc/inet_ntop.c, 2 times
- contrib/ntp/libparse/parsestreams.c, line 258
- contrib/ofed/infiniband-diags/src/ibdiag_sa.c, line 146
- contrib/ofed/opensm/opensm/osm_log.c, 2 times
- contrib/openbsm/libbsm/bsm_errno.c, line 109
- contrib/openbsm/test/bsm/generate.c, line 1025
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, 2 times
- contrib/sendmail/src/bf.c, line 566
- contrib/sendmail/src/collect.c, line 975
- contrib/sendmail/src/conf.c, line 3509
- contrib/sqlite3/sqlite3.c, line 37061
- contrib/tcpdump/addrtostr.c, 4 times
- contrib/unbound/compat/inet_ntop.c, 2 times
- contrib/wpa/src/drivers/driver_atheros.c, line 1420
- crypto/heimdal/lib/roken/inet_ntop.c, 2 times
- crypto/openssh/openbsd-compat/inet_ntop.c, 2 times
- lib/geom/part/geom_part.c, 3 times
- lib/libc/gen/sem.c, 3 times
- lib/libc/gen/sem_new.c, 2 times
- lib/libc/inet/inet_ntop.c, 3 times
- lib/libc/nameser/ns_print.c, 3 times
- lib/libc/resolv/res_debug.c, line 245
- lib/libfetch/common.c, line 196
- lib/libsysdecode/errno.c, line 96
- lib/libufs/sblock.c, 2 times
- sbin/dump/tape.c, line 844
- sbin/restore/dirs.c, line 812
- stand/efi/libefi/errno.c, 2 times
- stand/libsa/pkgfs.c, 2 times
- stand/libsa/tftp.c, line 129
- stand/libsa/ufs.c, line 703
- sys/amd64/amd64/minidump_machdep.c, line 436
- sys/amd64/amd64/sys_machdep.c, line 774
- sys/amd64/vmm/io/ppt.c, 5 times
- sys/amd64/vmm/vmm.c, line 762
- sys/arm/allwinner/if_emac.c, line 951
- sys/arm/arm/gic.c, line 992
- sys/arm/arm/minidump_machdep.c, line 337
- sys/arm/nvidia/drm2/hdmi.c, 4 times
- sys/arm/ti/ti_pruss.c, line 796
- sys/arm64/arm64/gic_v3.c, line 960
- sys/arm64/arm64/minidump_machdep.c, line 401
- sys/cam/ctl/ctl.c, line 4628
- sys/cam/ctl/ctl_backend_block.c, 3 times
- sys/cam/scsi/scsi_all.c, 8 times
- sys/cam/scsi/scsi_cd.c, line 3310
- sys/cam/scsi/scsi_ch.c, line 1563
- sys/cam/scsi/scsi_sa.c, 2 times
- sys/cam/scsi/scsi_target.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c, 4 times
- sys/compat/cloudabi/cloudabi_errno.c, line 91
- sys/compat/linuxkpi/common/include/linux/pci.h, line 622
- sys/compat/linuxkpi/common/src/linux_idr.c, 7 times
- sys/compat/ndis/kern_ndis.c, 2 times
- sys/contrib/alpine-hal/eth/al_hal_eth_main.c, line 2718
- sys/contrib/ena-com/ena_plat.h, line 182
- sys/contrib/ipfilter/netinet/fil.c, 2 times
- sys/contrib/ipfilter/netinet/ip_nat.c, line 6612
- sys/contrib/ipfilter/netinet/ip_state.c, line 4859
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, 2 times
- sys/contrib/openzfs/cmd/ztest/ztest.c, 28 times
- sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h, line 152
- sys/contrib/openzfs/include/os/linux/kernel/linux/blkdev_compat.h, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, line 1864
- sys/contrib/openzfs/lib/libzfs/libzfs_pool.c, line 1338
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, 4 times
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_file.c, line 237
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, line 6425
- sys/contrib/openzfs/module/os/linux/spl/spl-kmem-cache.c, line 552
- sys/contrib/openzfs/module/os/linux/zfs/vdev_file.c, line 223
- sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_file.c, line 795
- sys/contrib/openzfs/module/zfs/blkptr.c, line 139
- sys/contrib/openzfs/module/zfs/dnode.c, 3 times
- sys/contrib/openzfs/module/zfs/dsl_dataset.c, 5 times
- sys/contrib/openzfs/module/zfs/dsl_dir.c, 5 times
- sys/contrib/openzfs/module/zfs/dsl_synctask.c, line 235
- sys/contrib/openzfs/module/zfs/metaslab.c, 4 times
- sys/contrib/openzfs/module/zfs/vdev_removal.c, 3 times
- sys/contrib/openzfs/module/zfs/zap.c, 2 times
- sys/contrib/openzfs/module/zfs/zcp.c, line 957
- sys/contrib/openzfs/module/zfs/zcp_global.c, line 58
- sys/contrib/openzfs/module/zfs/zcp_synctask.c, line 493
- sys/contrib/openzfs/module/zfs/zio.c, 3 times
- sys/contrib/xz-embedded/linux/lib/xz/xz_dec_test.c, line 113
- sys/ddb/db_script.c, line 201
- sys/ddb/db_textdump.c, 2 times
- sys/dev/al_eth/al_eth.c, line 2055
- sys/dev/altera/atse/if_atse.c, line 1381
- sys/dev/bfe/if_bfe.c, line 487
- sys/dev/cardbus/cardbus_device.c, 2 times
- sys/dev/cas/if_cas.c, line 196
- sys/dev/cfi/cfi_dev.c, line 286
- sys/dev/cxgb/cxgb_sge.c, line 1909
- sys/dev/cxgbe/common/t4_hw.c, 2 times
- sys/dev/cxgbe/t4_sched.c, line 538
- sys/dev/cxgbe/tom/t4_tls.c, line 515
- sys/dev/dc/if_dc.c, line 2390
- sys/dev/dme/if_dme.c, line 888
- sys/dev/drm2/drm_crtc.c, 3 times
- sys/dev/drm2/drm_mm.c, 2 times
- sys/dev/drm2/drm_sysctl.c, line 87
- sys/dev/efidev/efirt.c, line 83
- sys/dev/ena/ena.c, 2 times
- sys/dev/et/if_et.c, line 241
- sys/dev/exca/exca.c, 2 times
- sys/dev/firewire/if_fwe.c, line 185
- sys/dev/firewire/if_fwip.c, line 158
- sys/dev/fxp/if_fxp.c, line 453
- sys/dev/gem/if_gem.c, line 164
- sys/dev/hme/if_hme.c, line 199
- sys/dev/ice/ice_resmgr.c, 2 times
- sys/dev/ice/ice_strings.c, line 389
- sys/dev/if_ndis/if_ndis.c, 5 times
- sys/dev/iicbus/if_ic.c, line 170
- sys/dev/ixgbe/if_sriov.c, line 689
- sys/dev/ixl/i40e_adminq.h, line 141
- sys/dev/ixl/ixl_pf_iov.c, 2 times
- sys/dev/ixl/ixl_pf_qmgr.c, 4 times
- sys/dev/le/lance.c, line 118
- sys/dev/lge/if_lge.c, line 538
- sys/dev/md/md.c, 3 times
- sys/dev/mlx4/mlx4_core/mlx4_eq.c, line 1470
- sys/dev/mlx4/mlx4_core/mlx4_main.c, 3 times
- sys/dev/mlx4/mlx4_core/mlx4_port.c, 2 times
- sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c, line 974
- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c, line 295
- sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c, 5 times
- sys/dev/mlx5/mlx5_core/mlx5_rl.c, line 101
- sys/dev/mlx5/mlx5_core/mlx5_vport.c, 4 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, line 2229
- sys/dev/mpt/mpt_user.c, line 207
- sys/dev/msk/if_msk.c, line 1637
- sys/dev/mxge/if_mxge.c, 2 times
- sys/dev/my/if_my.c, line 883
- sys/dev/netfpga10g/nf10bmac/if_nf10bmac.c, line 805
- sys/dev/netmap/if_ptnet.c, 2 times
- sys/dev/netmap/if_vtnet_netmap.h, 2 times
- sys/dev/nfe/if_nfe.c, line 576
- sys/dev/nge/if_nge.c, line 909
- sys/dev/null/null.c, line 90
- sys/dev/pccard/pccard_device.c, 2 times
- sys/dev/pci/pci_iov.c, line 730
- sys/dev/pci/pci_pci.c, 3 times
- sys/dev/powermac_nvram/powermac_nvram.c, line 258
- sys/dev/ppbus/if_plip.c, line 257
- sys/dev/proto/proto_core.c, line 102
- sys/dev/re/if_re.c, line 1611
- sys/dev/rl/if_rl.c, line 789
- sys/dev/sfxge/common/ef10_filter.c, 4 times
- sys/dev/sfxge/common/ef10_image.c, 12 times
- sys/dev/sfxge/common/ef10_mac.c, 2 times
- sys/dev/sfxge/common/ef10_nvram.c, 6 times
- sys/dev/sfxge/common/ef10_tx.c, 4 times
- sys/dev/sfxge/common/ef10_vpd.c, line 162
- sys/dev/sfxge/common/efx_bootcfg.c, 10 times
- sys/dev/sfxge/common/efx_filter.c, line 1626
- sys/dev/sfxge/common/efx_lic.c, 2 times
- sys/dev/sfxge/common/efx_mcdi.c, 3 times
- sys/dev/sfxge/common/efx_nvram.c, 2 times
- sys/dev/sfxge/common/efx_tunnel.c, line 305
- sys/dev/sfxge/common/efx_tx.c, 2 times
- sys/dev/sfxge/common/efx_vpd.c, 2 times
- sys/dev/sfxge/common/siena_mac.c, 2 times
- sys/dev/sfxge/common/siena_nvram.c, line 664
- sys/dev/sfxge/common/siena_vpd.c, line 560
- sys/dev/sfxge/sfxge_tx.c, line 1667
- sys/dev/sge/if_sge.c, line 612
- sys/dev/sis/if_sis.c, line 1065
- sys/dev/sk/if_sk.c, line 1348
- sys/dev/smc/if_smc.c, line 321
- sys/dev/sound/pci/envy24.c, 2 times
- sys/dev/sound/pci/envy24ht.c, 2 times
- sys/dev/sound/pcm/feeder.c, line 244
- sys/dev/ste/if_ste.c, line 996
- sys/dev/ti/if_ti.c, line 2384
- sys/dev/uart/uart_bus.h, line 218
- sys/dev/usb/usb_pf.c, line 197
- sys/dev/vge/if_vge.c, 2 times
- sys/dev/virtio/console/virtio_console.c, 2 times
- sys/dev/virtio/network/if_vtnet.c, 2 times
- sys/dev/virtio/scsi/virtio_scsi.c, line 1417
- sys/dev/virtio/virtqueue.c, line 536
- sys/dev/vr/if_vr.c, line 665
- sys/dev/wi/if_wi.c, line 1964
- sys/dev/xen/gntdev/gntdev.c, line 154
- sys/dev/xen/grant_table/grant_table.c, line 577
- sys/dev/xl/if_xl.c, line 1200
- sys/fs/ext2fs/ext2_alloc.c, 9 times
- sys/fs/ext2fs/ext2_extattr.c, 9 times
- sys/fs/ext2fs/ext2_vnops.c, line 1887
- sys/fs/msdosfs/msdosfs_denode.c, line 504
- sys/fs/msdosfs/msdosfs_fat.c, 2 times
- sys/fs/msdosfs/msdosfs_vnops.c, 4 times
- sys/fs/tmpfs/tmpfs_subr.c, 3 times
- sys/fs/tmpfs/tmpfs_vfsops.c, line 412
- sys/gdb/gdb_main.c, line 350
- sys/gdb/gdb_packet.c, line 138
- sys/geom/geom_ctl.c, 2 times
- sys/geom/mirror/g_mirror.c, line 686
- sys/geom/part/g_part.c, 12 times
- sys/geom/part/g_part_apm.c, 2 times
- sys/geom/part/g_part_bsd.c, 2 times
- sys/geom/part/g_part_bsd64.c, 2 times
- sys/geom/part/g_part_ebr.c, 2 times
- sys/geom/part/g_part_gpt.c, 2 times
- sys/geom/part/g_part_ldm.c, line 1307
- sys/geom/part/g_part_mbr.c, 2 times
- sys/geom/part/g_part_vtoc8.c, 2 times
- sys/geom/virstor/g_virstor.c, line 954
- sys/i386/i386/k6_mem.c, line 152
- sys/i386/i386/minidump_machdep_base.c, line 350
- sys/kern/imgact_binmisc.c, line 454
- sys/kern/kern_dump.c, line 382
- sys/kern/kern_intr.c, line 690
- sys/kern/kern_ktrace.c, line 234
- sys/kern/kern_shutdown.c, line 1368
- sys/kern/kern_uuid.c, line 232
- sys/kern/link_elf.c, 2 times
- sys/kern/link_elf_obj.c, 3 times
- sys/kern/subr_intr.c, 2 times
- sys/kern/sysv_msg.c, 2 times
- sys/kern/sysv_sem.c, 4 times
- sys/kern/sysv_shm.c, 3 times
- sys/kern/uipc_mqueue.c, 3 times
- sys/kern/uipc_sem.c, 2 times
- sys/kern/uipc_shm.c, 2 times
- sys/kern/vfs_bio.c, 2 times
- sys/mips/atheros/ar531x/if_are.c, line 293
- sys/mips/atheros/if_arge.c, line 854
- sys/mips/mips/minidump_machdep.c, line 321
- sys/mips/nlm/dev/net/xlpge.c, line 1050
- sys/net/if_bridge.c, 3 times
- sys/net/if_clone.c, 2 times
- sys/net/if_disc.c, line 92
- sys/net/if_edsc.c, line 110
- sys/net/if_enc.c, line 169
- sys/net/if_epair.c, 4 times
- sys/net/if_lagg.c, 2 times
- sys/net/if_loop.c, line 130
- sys/net/if_stf.c, line 224
- sys/net/if_vlan.c, line 1053
- sys/net/if_vxlan.c, 4 times
- sys/net80211/ieee80211_ageq.c, line 133
- sys/net80211/ieee80211_mesh.c, 2 times
- sys/net80211/ieee80211_power.c, line 347
- sys/netgraph/ng_eiface.c, line 394
- sys/netgraph/ng_sppp.c, line 253
- sys/netinet/in_mcast.c, 3 times
- sys/netinet/netdump/netdump_client.c, line 262
- sys/netinet/tcp_ratelimit.c, 2 times
- sys/netinet6/in6_mcast.c, 3 times
- sys/netpfil/ipfw/ip_dummynet.c, line 1244
- sys/netpfil/ipfw/ip_fw2.c, line 3428
- sys/netpfil/ipfw/ip_fw_bpf.c, 2 times
- sys/netpfil/ipfw/ip_fw_dynamic.c, line 698
- sys/netpfil/ipfw/ip_fw_eaction.c, line 219
- sys/netpfil/ipfw/ip_fw_nat.c, line 1119
- sys/netpfil/ipfw/ip_fw_sockopt.c, line 747
- sys/netpfil/ipfw/ip_fw_table_value.c, 3 times
- sys/netpfil/ipfw/nat64/nat64clat_control.c, line 196
- sys/netpfil/ipfw/nat64/nat64lsn_control.c, line 200
- sys/netpfil/ipfw/nat64/nat64stl_control.c, line 151
- sys/netpfil/ipfw/nptv6/nptv6.c, line 707
- sys/netpfil/pf/if_pflog.c, line 125
- sys/netpfil/pf/if_pfsync.c, line 344
- sys/ofed/drivers/infiniband/core/ib_cache.c, line 357
- sys/ofed/drivers/infiniband/core/ib_cma.c, line 3133
- sys/ofed/drivers/infiniband/core/ib_ucm.c, 5 times
- sys/ofed/drivers/infiniband/core/ib_ucma.c, 10 times
- sys/ofed/drivers/infiniband/core/ib_user_mad.c, line 303
- sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c, 23 times
- sys/powerpc/mpc85xx/mpc85xx.c, line 197
- sys/powerpc/powernv/opal_nvram.c, line 263
- sys/powerpc/powerpc/mem.c, line 259
- sys/powerpc/powerpc/minidump_machdep.c, line 373
- sys/riscv/riscv/minidump_machdep.c, line 385
- sys/security/audit/audit_worker.c, 2 times
- sys/security/audit/bsm_errno.c, line 113
- sys/ufs/ffs/ffs_alloc.c, 17 times
- sys/ufs/ffs/ffs_snapshot.c, line 258
- sys/ufs/ffs/ffs_softdep.c, 2 times
- sys/ufs/ffs/ffs_subr.c, 2 times
- sys/ufs/ffs/ffs_vnops.c, 2 times
- sys/ufs/ufs/ufs_acl.c, 2 times
- sys/vm/vm_phys.c, line 1603
- sys/x86/x86/io_apic.c, line 459
- sys/x86/x86/msi.c, 3 times
- sys/x86/x86/x86_mem.c, line 539
- sys/x86/xen/xen_intr.c, line 422
- sys/xen/error.h, line 57
- sys/xen/interface/errno.h, line 54
- sys/xen/interface/io/xs_wire.h, line 81
- tests/sys/fs/fusefs/symlink.cc, 2 times
- tests/sys/posixshm/posixshm_test.c, line 1162
- tools/bus_space/bus.c, line 190
- tools/regression/posixsem/posixsem.c, 2 times
- tools/regression/ufs/uprintf/ufs_uprintf.c, 4 times
- usr.bin/mkimg/mkimg.c, line 394
- usr.sbin/bhyve/net_backends.c, line 863
- usr.sbin/bhyve/snapshot.c, line 1222
- usr.sbin/binmiscctl/binmiscctl.c, line 462
- usr.sbin/makefs/ffs/ffs_alloc.c, line 123
- usr.sbin/makefs/msdos/msdosfs_denode.c, line 361
- usr.sbin/makefs/msdos/msdosfs_fat.c, 2 times
- usr.sbin/makefs/msdos/msdosfs_vnops.c, 2 times
- usr.sbin/mfiutil/mfi_volume.c, line 406
- usr.sbin/mptutil/mpt_volume.c, line 83
- usr.sbin/syslogd/syslogd.c, line 1923
- usr.sbin/wpa/ndis_events/ndis_events.c, 2 times