Defined in 5 files as a macro:
Defined in 1 files as a function:
Referenced in 252 files:
- cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c, line 521
- contrib/blacklist/bin/conf.c, line 156
- contrib/blacklist/port/_strtoi.h, line 78
- contrib/capsicum-test/capability-fd.cc, line 1186
- contrib/diff/lib/c-stack.c, 2 times
- contrib/gdb/gdb/nto-procfs.c, line 140
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 570
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 5 times
- contrib/libarchive/libarchive/test/test_acl_platform_posix1e.c, 2 times
- contrib/libarchive/tar/test/test_option_acls.c, 3 times
- contrib/llvm-project/libcxx/include/errno.h, line 211
- contrib/llvm-project/lldb/source/Host/common/File.cpp, 9 times
- contrib/netbsd-tests/include/t_errno.c, line 571
- contrib/netbsd-tests/lib/libc/stdlib/t_strtoi.c, 7 times
- contrib/netbsd-tests/lib/librumphijack/h_client.c, line 136
- contrib/ntp/lib/isc/unix/stdio.c, 2 times
- contrib/ofed/libibverbs/verbs.c, line 696
- contrib/ofed/libmlx4/verbs.c, 4 times
- contrib/ofed/libmlx5/verbs.c, 2 times
- contrib/ofed/librdmacm/rsocket.c, 14 times
- contrib/openbsm/libbsm/bsm_errno.c, line 177
- contrib/sqlite3/sqlite3.c, line 37189
- contrib/xz/src/xz/file_io.c, line 616
- lib/libbe/be.c, 2 times
- lib/libc/net/sctp_sys_calls.c, line 1182
- lib/libc/stdio/fopencookie.c, line 141
- lib/librss/librss.c, line 289
- lib/libsysdecode/errno.c, line 103
- lib/libthr/thread/thr_attr.c, 4 times
- lib/libthr/thread/thr_join.c, line 109
- lib/libthr/thread/thr_switch_np.c, 2 times
- sbin/ipfw/tables.c, line 1158
- stand/efi/libefi/errno.c, line 71
- stand/libsa/zfs/nvlist.c, line 683
- stand/libsa/zfs/zfs.c, 8 times
- stand/libsa/zfs/zfsimpl.c, 4 times
- sys/amd64/amd64/pmap.c, line 10950
- sys/amd64/amd64/vm_machdep.c, line 415
- sys/arm/allwinner/a10/a10_intc.c, line 273
- sys/arm/allwinner/aw_gpio.c, 2 times
- sys/arm/allwinner/aw_nmi.c, 3 times
- sys/arm/arm/gic.c, line 785
- sys/arm/arm/pl190.c, line 161
- sys/arm/broadcom/bcm2835/bcm2835_gpio.c, 2 times
- sys/arm/broadcom/bcm2835/bcm2835_intr.c, line 265
- sys/arm/broadcom/bcm2835/bcm2836.c, line 456
- sys/arm/freescale/imx/imx_gpio.c, 3 times
- sys/arm/freescale/imx/tzic.c, line 166
- sys/arm/mv/mpic.c, line 350
- sys/arm/mv/mv_ap806_gicp.c, line 214
- sys/arm/mv/mv_ap806_sei.c, 2 times
- sys/arm/mv/mv_cp110_icu.c, line 227
- sys/arm/mv/mv_pci.c, 3 times
- sys/arm/mv/mvebu_gpio.c, 3 times
- sys/arm/nvidia/drm2/tegra_hdmi.c, line 523
- sys/arm/nvidia/tegra_gpio.c, 3 times
- sys/arm/nvidia/tegra_pcie.c, line 670
- sys/arm/ti/aintc.c, line 176
- sys/arm/ti/ti_gpio.c, 2 times
- sys/arm/versatile/versatile_sic.c, line 135
- sys/arm64/arm64/gic_v3.c, line 676
- sys/arm64/arm64/sys_machdep.c, line 44
- sys/cam/cam_xpt.c, line 579
- sys/cam/scsi/scsi_target.c, line 1093
- sys/cddl/contrib/opensolaris/uts/common/ctf/ctf_mod.c, 3 times
- sys/compat/cloudabi/cloudabi_errno.c, line 98
- sys/compat/cloudabi/cloudabi_mem.c, 2 times
- sys/compat/linux/linux_ioctl.c, line 3636
- sys/compat/linuxkpi/common/include/linux/mm.h, 2 times
- sys/compat/linuxkpi/common/src/linux_compat.c, line 682
- sys/compat/ndis/kern_ndis.c, 2 times
- sys/compat/x86bios/x86bios.c, line 853
- sys/contrib/openzfs/cmd/mount_zfs/mount_zfs.c, line 368
- sys/contrib/openzfs/cmd/zdb/zdb.c, line 7506
- sys/contrib/openzfs/cmd/zfs/zfs_main.c, 2 times
- sys/contrib/openzfs/cmd/ztest/ztest.c, 4 times
- sys/contrib/openzfs/lib/libefi/rdwr_efi.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c, line 547
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, 7 times
- sys/contrib/openzfs/lib/libzfs/libzfs_diff.c, 3 times
- sys/contrib/openzfs/lib/libzfs/libzfs_mount.c, line 517
- sys/contrib/openzfs/lib/libzfs/libzfs_pool.c, 8 times
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, line 4826
- sys/contrib/openzfs/lib/libzfs/libzfs_util.c, 3 times
- sys/contrib/openzfs/lib/libzfsbootenv/lzbe_pair.c, line 336
- sys/contrib/openzfs/lib/libzpool/util.c, line 170
- sys/contrib/openzfs/module/nvpair/nvpair.c, 7 times
- sys/contrib/openzfs/module/os/freebsd/spl/acl_common.c, 28 times
- sys/contrib/openzfs/module/os/freebsd/zfs/crypto_os.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/kmod_core.c, line 153
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_file.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/vdev_geom.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c, 3 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c, line 1654
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zio_crypt.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/vdev_disk.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/vdev_file.c, line 277
- sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c, 3 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vfsops.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_vnops.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_znode.c, 2 times
- sys/contrib/openzfs/module/zfs/arc.c, line 9893
- sys/contrib/openzfs/module/zfs/dbuf.c, line 3432
- sys/contrib/openzfs/module/zfs/ddt_zap.c, line 49
- sys/contrib/openzfs/module/zfs/dmu_objset.c, 3 times
- sys/contrib/openzfs/module/zfs/dmu_recv.c, 9 times
- sys/contrib/openzfs/module/zfs/dnode.c, line 1801
- sys/contrib/openzfs/module/zfs/dsl_bookmark.c, 2 times
- sys/contrib/openzfs/module/zfs/dsl_crypt.c, 8 times
- sys/contrib/openzfs/module/zfs/dsl_dataset.c, 7 times
- sys/contrib/openzfs/module/zfs/dsl_deleg.c, line 264
- sys/contrib/openzfs/module/zfs/dsl_destroy.c, line 68
- sys/contrib/openzfs/module/zfs/dsl_dir.c, line 649
- sys/contrib/openzfs/module/zfs/dsl_prop.c, line 896
- sys/contrib/openzfs/module/zfs/dsl_scan.c, line 1045
- sys/contrib/openzfs/module/zfs/dsl_userhold.c, line 89
- sys/contrib/openzfs/module/zfs/spa.c, 27 times
- sys/contrib/openzfs/module/zfs/spa_checkpoint.c, line 459
- sys/contrib/openzfs/module/zfs/vdev.c, 11 times
- sys/contrib/openzfs/module/zfs/vdev_missing.c, line 73
- sys/contrib/openzfs/module/zfs/vdev_rebuild.c, 2 times
- sys/contrib/openzfs/module/zfs/vdev_removal.c, 3 times
- sys/contrib/openzfs/module/zfs/zap_micro.c, 12 times
- sys/contrib/openzfs/module/zfs/zcp_global.c, line 68
- sys/contrib/openzfs/module/zfs/zcp_synctask.c, line 263
- sys/contrib/openzfs/module/zfs/zfeature.c, 8 times
- sys/contrib/openzfs/module/zfs/zfs_ioctl.c, 20 times
- sys/contrib/openzfs/module/zfs/zfs_quota.c, 9 times
- sys/contrib/openzfs/module/zfs/zfs_replay.c, 4 times
- sys/contrib/openzfs/module/zfs/zio.c, line 3957
- sys/contrib/openzfs/module/zfs/zvol.c, 3 times
- sys/dev/axgbe/xgbe-phy-v2.c, 6 times
- sys/dev/bnxt/bnxt_hwrm.c, line 592
- sys/dev/bnxt/if_bnxt.c, 2 times
- sys/dev/cxgbe/t4_filter.c, 4 times
- sys/dev/cxgbe/t4_main.c, 8 times
- sys/dev/cxgbe/t4_vf.c, 2 times
- sys/dev/cxgbe/tom/t4_connect.c, 3 times
- sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c, line 300
- sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c, 3 times
- sys/dev/evdev/cdev.c, 4 times
- sys/dev/gpio/gpiobus.c, line 802
- sys/dev/gpio/gpiopps.c, line 224
- sys/dev/gpio/pl061.c, 2 times
- sys/dev/gxemul/ether/if_gx.c, 2 times
- sys/dev/ice/ice_lib.c, line 3195
- sys/dev/ice/if_ice_iflib.c, 2 times
- sys/dev/if_ndis/if_ndis.c, 6 times
- sys/dev/iwn/if_iwn.c, 16 times
- sys/dev/mlx5/mlx5_core/mlx5_vsc.c, line 125
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, line 1450
- sys/dev/mrsas/mrsas_linux.c, line 120
- sys/dev/pci/vga_pci.c, 2 times
- sys/dev/qat/qat_ae.c, 12 times
- sys/dev/qat/qat_hw15.c, 2 times
- sys/dev/sfxge/common/ef10_ev.c, line 1248
- sys/dev/sfxge/common/ef10_filter.c, 2 times
- sys/dev/sfxge/common/ef10_image.c, line 169
- sys/dev/sfxge/common/ef10_intr.c, line 128
- sys/dev/sfxge/common/ef10_mac.c, line 141
- sys/dev/sfxge/common/ef10_mcdi.c, line 336
- sys/dev/sfxge/common/ef10_nic.c, 5 times
- sys/dev/sfxge/common/ef10_nvram.c, 2 times
- sys/dev/sfxge/common/ef10_phy.c, line 575
- sys/dev/sfxge/common/ef10_rx.c, 8 times
- sys/dev/sfxge/common/ef10_tx.c, line 729
- sys/dev/sfxge/common/ef10_vpd.c, line 410
- sys/dev/sfxge/common/efx_bootcfg.c, line 140
- sys/dev/sfxge/common/efx_ev.c, 2 times
- sys/dev/sfxge/common/efx_filter.c, 8 times
- sys/dev/sfxge/common/efx_intr.c, 2 times
- sys/dev/sfxge/common/efx_lic.c, 3 times
- sys/dev/sfxge/common/efx_mcdi.c, 7 times
- sys/dev/sfxge/common/efx_mon.c, line 107
- sys/dev/sfxge/common/efx_nic.c, 4 times
- sys/dev/sfxge/common/efx_nvram.c, line 121
- sys/dev/sfxge/common/efx_phy.c, 7 times
- sys/dev/sfxge/common/efx_port.c, line 153
- sys/dev/sfxge/common/efx_rx.c, 4 times
- sys/dev/sfxge/common/efx_tunnel.c, 4 times
- sys/dev/sfxge/common/efx_tx.c, 5 times
- sys/dev/sfxge/common/efx_vpd.c, 2 times
- sys/dev/sfxge/common/hunt_nic.c, 3 times
- sys/dev/sfxge/common/mcdi_mon.c, line 192
- sys/dev/sfxge/common/medford2_nic.c, line 111
- sys/dev/sfxge/common/medford_nic.c, line 107
- sys/dev/sfxge/common/siena_mac.c, line 496
- sys/dev/sfxge/common/siena_mcdi.c, line 241
- sys/dev/sfxge/common/siena_nic.c, line 170
- sys/dev/sfxge/common/siena_nvram.c, 3 times
- sys/dev/sfxge/common/siena_phy.c, line 440
- sys/dev/sfxge/common/siena_vpd.c, line 515
- sys/dev/sfxge/sfxge_mcdi.c, line 248
- sys/dev/sound/driver.c, line 47
- sys/dev/sound/macio/i2s.c, line 550
- sys/dev/sound/pcm/dsp.c, 5 times
- sys/dev/sound/pcm/feeder_chain.c, 8 times
- sys/dev/sound/pcm/feeder_rate.c, line 1042
- sys/dev/sound/pcm/sound.c, 6 times
- sys/dev/usb/wlan/if_rsu.c, line 366
- sys/dev/virtio/block/virtio_blk.c, 2 times
- sys/dev/virtio/network/if_vtnet.c, 2 times
- sys/dev/virtio/network/virtio_net.h, line 437
- sys/dev/virtio/pci/virtio_pci.c, 3 times
- sys/dev/vmware/vmxnet3/if_vmx.c, 2 times
- sys/dev/vt/vt_core.c, line 2422
- sys/fs/ext2fs/ext2_acl.c, 3 times
- sys/fs/ext2fs/ext2_extattr.c, 10 times
- sys/fs/nfsclient/nfs_clvfsops.c, line 1925
- sys/fs/udf/udf_vfsops.c, line 216
- sys/kern/kern_time.c, line 536
- sys/kern/uipc_ktls.c, 5 times
- sys/kern/uipc_shm.c, 2 times
- sys/mips/atheros/ar531x/apb.c, line 711
- sys/mips/broadcom/bcm_mips.c, line 428
- sys/mips/cavium/if_octm.c, line 375
- sys/mips/cavium/octe/octe.c, line 361
- sys/mips/cavium/octeon_ebt3000_cf.c, line 238
- sys/mips/cavium/octeon_rtc.c, 2 times
- sys/mips/ingenic/jz4780_gpio.c, 3 times
- sys/mips/mediatek/mtk_gpio_v1.c, 2 times
- sys/mips/mediatek/mtk_gpio_v2.c, line 507
- sys/mips/mediatek/mtk_intr_gic.c, 2 times
- sys/mips/mediatek/mtk_intr_v1.c, 2 times
- sys/mips/mediatek/mtk_intr_v2.c, 2 times
- sys/mips/mips/mips_pic.c, line 353
- sys/net/if_vxlan.c, 4 times
- sys/net/iflib.c, 2 times
- sys/net/route/nhop_ctl.c, line 248
- sys/net/route/route_ctl.c, line 1085
- sys/net/rtsock.c, line 2188
- sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c, 6 times
- sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c, line 1609
- sys/netinet/sctp_usrreq.c, 8 times
- sys/netinet/tcp_ratelimit.c, line 1085
- sys/netinet/toecore.c, 4 times
- sys/netpfil/ipfw/ip_fw_sockopt.c, 2 times
- sys/netpfil/ipfw/ip_fw_table.c, 4 times
- sys/riscv/riscv/plic.c, line 216
- sys/riscv/riscv/sys_machdep.c, line 48
- sys/security/audit/audit_syscalls.c, line 103
- sys/security/audit/bsm_errno.c, line 181
- sys/vm/vm_mmap.c, 2 times
- tests/sys/fs/fusefs/xattr.cc, 4 times
- tools/build/utimensat.c, line 105
- usr.sbin/bhyve/pci_virtio_block.c, line 395
- usr.sbin/bhyveload/bhyveload.c, line 672
- usr.sbin/cxgbetool/cxgbetool.c, line 525
- usr.sbin/diskinfo/diskinfo.c, line 707
- usr.sbin/mountd/mountd.c, line 2384