Defined in 3 files as a macro:
Defined in 1 files as a function:
Referenced in 337 files:
- contrib/apr/network_io/unix/sockaddr.c, line 1244
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/remote-fileio.c, line 234
- contrib/gdb/gdb/ser-go32.c, 2 times
- contrib/libpcap/pcap-bpf.c, line 2762
- contrib/libpcap/pcap-linux.c, 6 times
- contrib/llvm-project/libcxx/include/errno.h, line 373
- contrib/ncurses/ncurses/tinfo/lib_print.c, line 58
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_vnops.c, 2 times
- contrib/netbsd-tests/include/t_errno.c, line 418
- contrib/netbsd-tests/include/t_paths.c, line 148
- contrib/netbsd-tests/lib/libc/ttyio/t_ptm.c, 2 times
- contrib/netbsd-tests/modules/t_builtin.c, 2 times
- contrib/ofed/libibmad/rpc.c, line 407
- contrib/ofed/libibumad/umad.c, 7 times
- contrib/ofed/libibverbs/neigh.c, 2 times
- contrib/ofed/librdmacm/cma.c, 4 times
- contrib/openbsm/libbsm/bsm_errno.c, line 100
- contrib/openbsm/test/bsm/generate.c, line 1016
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/fclose.c, line 100
- contrib/sendmail/libsm/fread.c, line 55
- contrib/sendmail/libsm/fwrite.c, line 52
- contrib/sendmail/libsm/syslogio.c, 2 times
- contrib/sendmail/src/conf.c, line 3506
- crypto/openssl/crypto/ui/ui_openssl.c, 2 times
- lib/libc/nameser/ns_parse.c, 4 times
- lib/libc/resolv/res_debug.c, line 174
- lib/libsysdecode/errno.c, line 88
- sbin/dumpon/dumpon.c, line 588
- sbin/pfctl/pfctl.c, 2 times
- sbin/sconfig/sconfig.c, line 1030
- stand/common/bcache.c, line 221
- stand/common/md.c, line 119
- stand/efi/libefi/errno.c, 2 times
- stand/kshim/bsd_kernel.c, line 988
- stand/libsa/strerror.c, line 51
- sys/amd64/vmm/vmm_dev.c, line 1215
- sys/arm/arm/nexus.c, line 306
- sys/arm/freescale/imx/imx51_ipuv3.c, line 746
- sys/arm/nvidia/as3722_regulators.c, line 582
- sys/arm/nvidia/drm2/tegra_dc.c, line 335
- sys/arm/nvidia/drm2/tegra_host1x.c, line 295
- sys/arm/ti/ti_scm_syscon.c, line 206
- sys/arm64/arm64/gic_v3.c, line 1174
- sys/cam/cam_xpt.c, line 376
- sys/cam/ctl/ctl.c, line 3201
- sys/cam/ctl/ctl_backend_block.c, 2 times
- sys/cam/scsi/scsi_all.c, 2 times
- sys/cam/scsi/scsi_cd.c, 4 times
- sys/cam/scsi/scsi_ch.c, 6 times
- sys/cam/scsi/scsi_enc_ses.c, 8 times
- sys/cam/scsi/scsi_pass.c, 2 times
- sys/cam/scsi/scsi_sa.c, 2 times
- sys/cam/scsi/scsi_sg.c, 2 times
- sys/compat/cloudabi/cloudabi_errno.c, line 83
- sys/compat/lindebugfs/lindebugfs.c, 2 times
- sys/compat/linux/linux_ioctl.c, 2 times
- sys/compat/linuxkpi/common/include/linux/device.h, line 342
- sys/compat/linuxkpi/common/include/linux/pci.h, 3 times
- sys/compat/linuxkpi/common/include/linux/sysfs.h, line 92
- sys/compat/ndis/kern_ndis.c, 3 times
- sys/compat/ndis/kern_windrv.c, line 492
- sys/contrib/ena-com/ena_plat.h, line 185
- sys/contrib/ipfilter/netinet/ip_fil_freebsd.c, line 1383
- sys/contrib/ncsw/inc/error_ext.h, line 119
- sys/contrib/openzfs/cmd/zed/zed.c, line 292
- sys/contrib/openzfs/cmd/ztest/ztest.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_pool.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, line 4760
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, 2 times
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_device_path_os.c, line 124
- sys/contrib/openzfs/lib/libzutil/os/linux/zutil_import_os.c, 4 times
- sys/contrib/openzfs/module/os/freebsd/spl/spl_vfs.c, line 145
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_file.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_label_os.c, line 51
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ioctl_os.c, line 132
- sys/contrib/openzfs/module/os/linux/zfs/vdev_file.c, 2 times
- sys/contrib/openzfs/module/zfs/dmu_recv.c, 4 times
- sys/contrib/openzfs/module/zfs/spa.c, 5 times
- sys/contrib/openzfs/module/zfs/vdev.c, 4 times
- sys/contrib/openzfs/module/zfs/zcp_global.c, line 49
- sys/contrib/openzfs/module/zfs/zfs_ioctl.c, line 5635
- sys/crypto/ccp/ccp_hardware.c, 2 times
- sys/dev/acpi_support/acpi_asus_wmi.c, line 617
- sys/dev/acpi_support/acpi_ibm.c, line 381
- sys/dev/acpica/acpi.c, line 2992
- sys/dev/acpica/acpi_thermal.c, line 779
- sys/dev/acpica/acpi_video.c, 4 times
- sys/dev/adlink/adlink.c, line 409
- sys/dev/agp/agp_i810.c, line 1289
- sys/dev/agp/agp_nvidia.c, 4 times
- sys/dev/aic7xxx/ahc_isa.c, line 239
- sys/dev/altera/avgen/altera_avgen.c, 6 times
- sys/dev/an/if_an.c, line 1903
- sys/dev/ath/if_ath.c, 2 times
- sys/dev/atkbdc/psm.c, line 2594
- sys/dev/axgbe/xgbe-phy-v2.c, line 3464
- sys/dev/bce/if_bce.c, 7 times
- sys/dev/bhnd/bcma/bcma.c, 6 times
- sys/dev/bhnd/bcma/bcma_subr.c, 2 times
- sys/dev/bhnd/bhnd.c, 4 times
- sys/dev/bhnd/bhnd_subr.c, 2 times
- sys/dev/bhnd/bhndb/bhndb.c, line 2129
- sys/dev/bhnd/bhndb/bhndb_pci.c, 5 times
- sys/dev/bhnd/cores/chipc/chipc.c, line 691
- sys/dev/bhnd/cores/chipc/chipc_gpio.c, 2 times
- sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl.c, 3 times
- sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctl_subr.c, 5 times
- sys/dev/bhnd/cores/pmu/bhnd_pmu.c, 5 times
- sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c, 17 times
- sys/dev/bhnd/nvram/bhnd_nvram_ioptr.c, 2 times
- sys/dev/bhnd/nvram/bhnd_nvram_iores.c, 3 times
- sys/dev/bhnd/siba/siba.c, 14 times
- sys/dev/bhnd/siba/siba_erom.c, 2 times
- sys/dev/bhnd/siba/siba_subr.c, line 720
- sys/dev/bwi/bwimac.c, 3 times
- sys/dev/bwn/if_bwn.c, 4 times
- sys/dev/bwn/if_bwn_phy_g.c, line 639
- sys/dev/bxe/bxe.c, 2 times
- sys/dev/cadence/if_cgem.c, line 1754
- sys/dev/cfi/cfi_core.c, 2 times
- sys/dev/cpuctl/cpuctl.c, 3 times
- sys/dev/cxgb/cxgb_main.c, 2 times
- sys/dev/cxgbe/t4_main.c, 2 times
- sys/dev/drm2/drmP.h, 18 times
- sys/dev/drm2/drm_agpsupport.c, line 104
- sys/dev/drm2/drm_fb_helper.c, line 944
- sys/dev/drm2/drm_fops.c, 3 times
- sys/dev/drm2/drm_gem.c, 4 times
- sys/dev/drm2/ttm/ttm_page_alloc.h, line 90
- sys/dev/drm2/ttm/ttm_page_alloc_dma.c, line 573
- sys/dev/ena/ena_datapath.c, line 133
- sys/dev/evdev/cdev.c, 7 times
- sys/dev/extres/clk/clk.c, 5 times
- sys/dev/extres/hwreset/hwreset.c, line 138
- sys/dev/extres/phy/phy.c, 3 times
- sys/dev/extres/regulator/regulator.c, 4 times
- sys/dev/extres/regulator/regulator_fixed.c, 2 times
- sys/dev/extres/syscon/syscon.c, line 292
- sys/dev/fb/fb.c, 5 times
- sys/dev/fb/fbd.c, line 177
- sys/dev/fb/splash.c, 2 times
- sys/dev/fb/splash_bmp.c, 2 times
- sys/dev/fb/splash_pcx.c, 2 times
- sys/dev/fb/splash_txt.c, line 94
- sys/dev/fb/vesa.c, 7 times
- sys/dev/fb/vga.c, 31 times
- sys/dev/fdt/simple_mfd.c, line 138
- sys/dev/gpio/ofw_gpiobus.c, 2 times
- sys/dev/hyperv/input/hv_kbdc.c, 3 times
- sys/dev/hyperv/pcib/vmbus_pcib.c, line 478
- sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c, line 1073
- sys/dev/ice/ice_lib.c, 7 times
- sys/dev/ice/ice_strings.c, line 362
- sys/dev/ice/if_ice_iflib.c, line 1727
- sys/dev/if_ndis/if_ndis.c, line 2257
- sys/dev/ioat/ioat.c, 3 times
- sys/dev/ioat/ioat_test.c, line 440
- sys/dev/iscsi_initiator/isc_cam.c, line 161
- sys/dev/iscsi_initiator/iscsi.c, line 136
- sys/dev/isp/isp_freebsd.c, line 500
- sys/dev/ixgbe/if_ix.c, 5 times
- sys/dev/ixl/if_iavf.c, line 1345
- sys/dev/ixl/if_ixl.c, line 1619
- sys/dev/ixl/ixl_iw.c, 3 times
- sys/dev/ixl/ixl_pf_main.c, line 346
- sys/dev/kbd/kbd.c, 6 times
- sys/dev/kbd/kbdreg.h, line 269
- sys/dev/liquidio/lio_ioctl.c, 2 times
- sys/dev/liquidio/lio_main.c, line 1490
- sys/dev/mlx4/mlx4_core/mlx4_fw.c, line 1664
- sys/dev/mlx4/mlx4_core/mlx4_main.c, 10 times
- sys/dev/mlx4/mlx4_core/mlx4_pd.c, line 283
- sys/dev/mlx4/mlx4_core/mlx4_reset.c, 6 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c, 2 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c, line 447
- sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c, 5 times
- sys/dev/mlx5/mlx5_core/mlx5_main.c, line 266
- sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c, line 1336
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, line 3540
- sys/dev/mlx5/mlx5_fpga/mlx5fpga_sdk.c, 3 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, line 460
- sys/dev/mmc/host/dwmmc.c, 5 times
- sys/dev/mpt/mpt_cam.c, line 209
- sys/dev/mpt/mpt_raid.c, line 270
- sys/dev/mrsas/mrsas.c, 3 times
- sys/dev/mthca/mthca_main.c, 9 times
- sys/dev/mthca/mthca_reset.c, 14 times
- sys/dev/netmap/netmap_pipe.c, line 749
- sys/dev/nvdimm/nvdimm.c, 2 times
- sys/dev/ofw/ofw_fdt.c, line 421
- sys/dev/pbio/pbio.c, 7 times
- sys/dev/pccbb/pccbb.c, line 1034
- sys/dev/pci/pci.c, 5 times
- sys/dev/pci/pci_pci.c, 3 times
- sys/dev/pci/pci_user.c, 5 times
- sys/dev/ppbus/lpt.c, line 978
- sys/dev/ppbus/ppb_1284.c, 7 times
- sys/dev/ppbus/ppi.c, 2 times
- sys/dev/proto/proto_bus_isa.c, line 80
- sys/dev/pst/pst-raid.c, 2 times
- sys/dev/pwm/ofw_pwm.c, line 59
- sys/dev/qlnx/qlnxr/qlnxr_os.c, line 699
- sys/dev/qlnx/qlnxr/qlnxr_verbs.c, line 143
- sys/dev/sfxge/common/ef10_ev.c, line 1253
- sys/dev/sfxge/common/efx_ev.c, line 1159
- sys/dev/sfxge/common/efx_mcdi.c, 2 times
- sys/dev/sfxge/common/mcdi_mon.c, line 197
- sys/dev/sfxge/sfxge_mcdi.c, line 243
- sys/dev/sk/if_sk.c, line 1462
- sys/dev/smbus/smbconf.c, line 73
- sys/dev/sound/clone.c, 3 times
- sys/dev/sound/pci/es137x.c, line 1543
- sys/dev/sound/pcm/ac97.c, 3 times
- sys/dev/sound/pcm/channel.c, 3 times
- sys/dev/sound/pcm/dsp.c, 11 times
- sys/dev/sound/pcm/feeder_chain.c, 3 times
- sys/dev/sound/pcm/feeder_eq.c, 2 times
- sys/dev/sound/pcm/sound.c, 7 times
- sys/dev/sound/pcm/vchan.c, 2 times
- sys/dev/sound/usb/uaudio.c, line 5909
- sys/dev/sume/if_sume.c, line 635
- sys/dev/syscons/blank/blank_saver.c, line 56
- sys/dev/syscons/dragon/dragon_saver.c, line 219
- sys/dev/syscons/fade/fade_saver.c, line 87
- sys/dev/syscons/fire/fire_saver.c, 2 times
- sys/dev/syscons/green/green_saver.c, line 57
- sys/dev/syscons/logo/logo_saver.c, line 149
- sys/dev/syscons/plasma/plasma_saver.c, line 195
- sys/dev/syscons/rain/rain_saver.c, line 152
- sys/dev/syscons/scvesactl.c, 4 times
- sys/dev/syscons/scvidctl.c, 23 times
- sys/dev/syscons/syscons.c, 10 times
- sys/dev/syscons/sysmouse.c, line 206
- sys/dev/syscons/warp/warp_saver.c, line 138
- sys/dev/tcp_log/tcp_log_dev.c, 2 times
- sys/dev/terasic/mtl/terasic_mtl_pixel.c, 6 times
- sys/dev/terasic/mtl/terasic_mtl_reg.c, 6 times
- sys/dev/terasic/mtl/terasic_mtl_syscons.c, 21 times
- sys/dev/terasic/mtl/terasic_mtl_text.c, 6 times
- sys/dev/ti/if_ti.c, 5 times
- sys/dev/uart/uart_tty.c, line 267
- sys/dev/usb/serial/ulpt.c, line 484
- sys/dev/usb/serial/uslcom.c, 3 times
- sys/dev/veriexec/verified_exec.c, line 250
- sys/dev/virtio/pci/virtio_pci.c, line 1069
- sys/dev/virtio/virtqueue.c, line 164
- sys/dev/vmware/vmci/vmci.c, line 763
- sys/dev/vt/colors/vt_termcolors.c, line 175
- sys/dev/vt/hw/fb/vt_fb.c, 2 times
- sys/dev/vt/vt_core.c, 7 times
- sys/dev/wi/if_wi.c, line 1766
- sys/dev/xen/blkback/blkback.c, 2 times
- sys/dev/xen/console/xen_console.c, line 289
- sys/dev/xen/grant_table/grant_table.c, line 663
- sys/fs/cuse/cuse.c, line 418
- sys/fs/fdescfs/fdesc_vnops.c, line 397
- sys/fs/fuse/fuse_device.c, 5 times
- sys/fs/nfsclient/nfs_clstate.c, 2 times
- sys/fs/udf/udf_vnops.c, 3 times
- sys/fs/unionfs/union_vnops.c, 4 times
- sys/geom/geom_ccd.c, line 281
- sys/geom/geom_disk.c, line 186
- sys/geom/nop/g_nop.c, line 160
- sys/geom/part/g_part.c, 6 times
- sys/geom/part/g_part_bsd.c, line 184
- sys/geom/part/g_part_ebr.c, line 601
- sys/geom/part/g_part_gpt.c, line 1122
- sys/geom/part/g_part_mbr.c, 2 times
- sys/geom/raid/tr_raid5.c, 2 times
- sys/geom/vinum/geom_vinum_drive.c, line 135
- sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c, line 6639
- sys/i386/i386/geode.c, line 364
- sys/i386/i386/vm86.c, line 847
- sys/kern/kern_conf.c, 2 times
- sys/kern/kern_cons.c, line 702
- sys/kern/kern_descrip.c, 3 times
- sys/kern/kern_intr.c, line 404
- sys/kern/tty.c, 4 times
- sys/kern/vfs_init.c, line 162
- sys/kern/vfs_mount.c, 2 times
- sys/kern/vfs_mountroot.c, line 1039
- sys/kern/vfs_syscalls.c, 3 times
- sys/kern/vfs_vnops.c, line 3276
- sys/mips/broadcom/bcm_nvram_cfe.c, 5 times
- sys/mips/broadcom/uart_cpu_chipc.c, line 101
- sys/mips/cavium/octeon_machdep.c, line 422
- sys/net/altq/altq_cbq.c, line 232
- sys/net/altq/altq_codel.c, line 100
- sys/net/altq/altq_fairq.c, line 158
- sys/net/altq/altq_hfsc.c, line 166
- sys/net/altq/altq_priq.c, line 103
- sys/net/debugnet.c, line 713
- sys/net/if.c, 3 times
- sys/net/iflib.c, line 4803
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, line 2888
- sys/netgraph/ng_ppp.c, line 549
- sys/netinet/tcp_ratelimit.c, 3 times
- sys/netinet/toecore.c, line 330
- sys/netpfil/pf/pf_ioctl.c, 22 times
- sys/netsmb/smb_dev.c, line 332
- sys/netsmb/smb_subr.c, line 296
- sys/ofed/drivers/infiniband/core/ib_addr.c, line 207
- sys/ofed/drivers/infiniband/core/ib_agent.c, line 215
- sys/ofed/drivers/infiniband/core/ib_cm.c, 4 times
- sys/ofed/drivers/infiniband/core/ib_cma.c, 9 times
- sys/ofed/drivers/infiniband/core/ib_mad.c, 3 times
- sys/ofed/drivers/infiniband/core/ib_multicast.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_sa_query.c, 7 times
- sys/ofed/drivers/infiniband/core/ib_user_mad.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_main.c, 8 times
- sys/ofed/drivers/infiniband/core/ib_verbs.c, line 534
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c, 2 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c, line 291
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c, 2 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_vlan.c, line 194
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c, line 105
- sys/opencrypto/crypto.c, line 1629
- sys/powerpc/mpc85xx/pci_mpc85xx.c, 3 times
- sys/powerpc/powernv/opal_pci.c, 3 times
- sys/security/audit/audit_trigger.c, line 144
- sys/security/audit/bsm_errno.c, line 104
- sys/sys/file.h, 2 times
- sys/vm/swap_pager.c, line 2919
- sys/vm/vm_mmap.c, line 1436
- sys/x86/cpufreq/hwpstate_intel.c, line 260
- sys/x86/cpufreq/powernow.c, 6 times
- sys/x86/x86/msi.c, line 240
- sys/x86/xen/xen_intr.c, line 884
- sys/xen/error.h, line 53
- sys/xen/interface/errno.h, line 50
- tests/sys/netmap/ctrl-api-test.c, line 57
- tools/bus_space/busdma.c, line 135
- usr.bin/wall/ttymsg.c, line 155
- usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c, line 1654
- usr.sbin/i2c/i2c.c, line 213