Defined in 3 files as a macro:
Referenced in 349 files:
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_program.c, line 175
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, 4 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c, line 345
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 283
- contrib/ee/ee.c, line 2254
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/remote-fileio.c, line 228
- contrib/ipfilter/ip_dstlist.c, 8 times
- contrib/ipfilter/ip_fil.c, line 573
- contrib/ipfilter/tools/ipfstat.c, line 2208
- contrib/jemalloc/src/ctl.c, 15 times
- contrib/jemalloc/src/prof.c, 2 times
- contrib/libc++/include/errno.h, line 268
- contrib/libpcap/pcap-bpf.c, line 960
- contrib/llvm/tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp, line 427
- contrib/netbsd-tests/fs/vfs/t_io.c, line 236
- contrib/netbsd-tests/fs/vfs/t_vnops.c, 2 times
- contrib/netbsd-tests/include/t_errno.c, line 215
- contrib/netbsd-tests/lib/libc/gen/exect/t_exect.c, line 79
- contrib/netbsd-tests/lib/libc/gen/execve/t_execve.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_getcwd.c, line 63
- contrib/netbsd-tests/lib/libc/sys/t_access.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_chroot.c, line 127
- contrib/netbsd-tests/lib/libc/sys/t_getcontext.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_getgroups.c, line 56
- contrib/netbsd-tests/lib/libc/sys/t_getitimer.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_getlogin.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_getrusage.c, line 94
- contrib/netbsd-tests/lib/libc/sys/t_gettimeofday.c, line 52
- contrib/netbsd-tests/lib/libc/sys/t_link.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mincore.c, line 134
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c, line 74
- contrib/netbsd-tests/lib/libc/sys/t_mkfifo.c, line 131
- contrib/netbsd-tests/lib/libc/sys/t_mknod.c, line 75
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c, line 91
- contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c, line 173
- contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c, line 194
- contrib/netbsd-tests/lib/libc/sys/t_msync.c, line 185
- contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c, line 132
- contrib/netbsd-tests/lib/libc/sys/t_poll.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_revoke.c, line 114
- contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c, line 171
- contrib/netbsd-tests/lib/libc/sys/t_socketpair.c, line 130
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_truncate.c, line 156
- contrib/netbsd-tests/lib/libc/sys/t_write.c, line 83
- contrib/netbsd-tests/rump/rumpkern/t_copy.c, 4 times
- contrib/ntp/include/timepps-SCO.h, 5 times
- contrib/ntp/include/timepps-Solaris.h, 5 times
- contrib/ntp/include/timepps-SunOS.h, 5 times
- contrib/ntp/libntp/ntp_intres.c, 2 times
- contrib/ntp/libntp/work_thread.c, line 806
- contrib/ntp/ntpd/ntp_loopfilter.c, line 253
- contrib/ofed/libibverbs/verbs.c, line 671
- contrib/openbsm/libbsm/bsm_errno.c, line 95
- contrib/openbsm/test/bsm/generate.c, line 1011
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/ldap.c, 2 times
- contrib/sendmail/libsm/mbdb.c, line 507
- crypto/heimdal/lib/kafs/afssys.c, line 197
- crypto/openssh/atomicio.c, line 148
- crypto/openssh/sftp-server.c, line 199
- lib/libc/net/sctp_sys_calls.c, 3 times
- lib/libc/stdlib/getenv.c, 3 times
- lib/libcasper/services/cap_grp/cap_grp.c, line 698
- lib/libcasper/services/cap_pwd/cap_pwd.c, line 692
- lib/libsysdecode/errno.c, line 85
- lib/libthr/thread/thr_barrier.c, line 116
- lib/libthr/thread/thr_cond.c, line 104
- lib/libthr/thread/thr_mutex.c, line 395
- lib/libthr/thread/thr_pspinlock.c, line 68
- lib/libthr/thread/thr_rwlock.c, line 103
- lib/libthread_db/thread_db.c, 2 times
- lib/libvmmapi/vmmapi.c, line 1229
- lib/libvmmapi/vmmapi_freebsd.c, line 105
- sbin/routed/if.c, line 697
- sbin/routed/table.c, line 1070
- stand/userboot/test/test.c, 2 times
- sys/amd64/amd64/genassym.c, 2 times
- sys/amd64/amd64/mem.c, 3 times
- sys/amd64/amd64/support.S, 4 times
- sys/amd64/ia32/ia32_syscall.c, 4 times
- sys/amd64/linux/linux_support.s, line 39
- sys/amd64/linux32/linux32_support.s, line 39
- sys/amd64/linux32/linux32_sysvec.c, 2 times
- sys/amd64/vmm/vmm.c, 4 times
- sys/amd64/vmm/vmm_dev.c, 2 times
- sys/amd64/vmm/vmm_instruction_emul.c, 3 times
- sys/arm/annapurna/alpine/alpine_machdep_mp.c, 9 times
- sys/arm/annapurna/alpine/common.c, 4 times
- sys/arm/arm/bcopyinout.S, 5 times
- sys/arm/arm/bcopyinout_xscale.S, 6 times
- sys/arm/arm/copystr.S, line 209
- sys/arm/arm/machdep.c, 3 times
- sys/arm/arm/mem.c, 2 times
- sys/arm/arm/trap-v4.c, 2 times
- sys/arm/arm/trap-v6.c, line 628
- sys/arm/include/cpu-v6.h, 4 times
- sys/arm64/arm64/copyinout.S, line 47
- sys/arm64/arm64/machdep.c, 2 times
- sys/arm64/arm64/mem.c, 2 times
- sys/cam/cam_xpt.c, 5 times
- sys/cam/scsi/scsi_cd.c, line 1551
- sys/cam/scsi/scsi_pass.c, 3 times
- sys/cam/scsi/scsi_sa.c, line 1440
- sys/cam/scsi/scsi_target.c, line 593
- sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c, 38 times
- sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c, line 940
- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c, 29 times
- sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c, 4 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_errlog.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c, line 903
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c, line 44
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, 13 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, 5 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c, 9 times
- sys/cddl/dev/dtrace/dtrace_ioctl.c, 12 times
- sys/compat/cloudabi/cloudabi_errno.c, line 60
- sys/compat/cloudabi/cloudabi_futex.c, 3 times
- sys/compat/freebsd32/freebsd32_misc.c, 3 times
- sys/compat/linux/linux_futex.c, 8 times
- sys/compat/linux/linux_ioctl.c, line 2973
- sys/compat/linux/linux_misc.c, 3 times
- sys/compat/linux/linux_socket.c, line 842
- sys/compat/linuxkpi/common/src/linux_compat.c, 2 times
- sys/compat/linuxkpi/common/src/linux_page.c, line 205
- sys/compat/svr4/imgact_svr4.c, line 106
- sys/compat/svr4/svr4_misc.c, line 355
- sys/contrib/ena-com/ena_plat.h, line 184
- sys/contrib/ipfilter/netinet/fil.c, 33 times
- sys/contrib/ipfilter/netinet/ip_auth.c, 2 times
- sys/contrib/ipfilter/netinet/ip_dstlist.c, 8 times
- sys/contrib/ipfilter/netinet/ip_frag.c, 2 times
- sys/contrib/ipfilter/netinet/ip_htable.c, 7 times
- sys/contrib/ipfilter/netinet/ip_lookup.c, 8 times
- sys/contrib/ipfilter/netinet/ip_nat.c, 12 times
- sys/contrib/ipfilter/netinet/ip_pool.c, 5 times
- sys/contrib/ipfilter/netinet/ip_scan.c, line 615
- sys/contrib/ipfilter/netinet/ip_state.c, 15 times
- sys/contrib/ipfilter/netinet/ip_sync.c, 2 times
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c, 6 times
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_debugfs.c, 2 times
- sys/contrib/xz-embedded/linux/lib/xz/xz_dec_test.c, line 126
- sys/dev/aac/aac.c, line 3544
- sys/dev/aacraid/aacraid.c, line 3405
- sys/dev/an/if_an.c, 5 times
- sys/dev/ath/ath_dfs/null/dfs_null.c, line 278
- sys/dev/ath/if_ath_btcoex.c, line 474
- sys/dev/ath/if_ath_lna_div.c, line 204
- sys/dev/ath/if_ath_spectral.c, line 283
- sys/dev/cfi/cfi_dev.c, line 104
- sys/dev/cfi/cfi_disk.c, line 303
- sys/dev/cpuctl/cpuctl.c, 3 times
- sys/dev/cxgb/cxgb_main.c, 4 times
- sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c, 6 times
- sys/dev/cxgbe/iw_cxgbe/provider.c, line 268
- sys/dev/cxgbe/t4_main.c, 3 times
- sys/dev/cxgbe/t4_vf.c, 2 times
- sys/dev/cxgbe/tom/t4_cpl_io.c, line 1948
- sys/dev/cxgbe/tom/t4_ddp.c, line 1373
- sys/dev/dpt/dpt_scsi.c, 7 times
- sys/dev/drm/drm_bufs.c, 6 times
- sys/dev/drm/drm_context.c, line 228
- sys/dev/drm/drm_drv.c, line 575
- sys/dev/drm/drm_ioctl.c, 2 times
- sys/dev/drm/i915_dma.c, 7 times
- sys/dev/drm/i915_irq.c, line 379
- sys/dev/drm/i915_mem.c, 8 times
- sys/dev/drm/mach64_dma.c, 4 times
- sys/dev/drm/mach64_drv.h, 7 times
- sys/dev/drm/mach64_state.c, 3 times
- sys/dev/drm/mga_dma.c, 4 times
- sys/dev/drm/mga_state.c, line 1072
- sys/dev/drm/r128_cce.c, 2 times
- sys/dev/drm/r128_state.c, 14 times
- sys/dev/drm/r300_cmdbuf.c, line 80
- sys/dev/drm/r600_cp.c, 2 times
- sys/dev/drm/radeon_cp.c, 2 times
- sys/dev/drm/radeon_cs.c, 3 times
- sys/dev/drm/radeon_irq.c, line 343
- sys/dev/drm/radeon_mem.c, 6 times
- sys/dev/drm/radeon_state.c, 10 times
- sys/dev/drm/savage_bci.c, 2 times
- sys/dev/drm/savage_state.c, 3 times
- sys/dev/drm/via_dma.c, 9 times
- sys/dev/drm/via_video.c, line 82
- sys/dev/drm2/drm_buffer.c, 2 times
- sys/dev/drm2/drm_bufs.c, 6 times
- sys/dev/drm2/drm_context.c, line 332
- sys/dev/drm2/drm_crtc.c, 30 times
- sys/dev/drm2/drm_drv.c, line 309
- sys/dev/drm2/drm_ioctl.c, line 61
- sys/dev/drm2/drm_os_freebsd.h, 4 times
- sys/dev/drm2/drm_pci.c, line 235
- sys/dev/drm2/i915/i915_dma.c, 5 times
- sys/dev/drm2/i915/i915_gem.c, 14 times
- sys/dev/drm2/i915/i915_gem_execbuffer.c, 12 times
- sys/dev/drm2/radeon/r300_cmdbuf.c, line 80
- sys/dev/drm2/radeon/r600_cp.c, 2 times
- sys/dev/drm2/radeon/radeon_cp.c, 2 times
- sys/dev/drm2/radeon/radeon_cs.c, 8 times
- sys/dev/drm2/radeon/radeon_irq.c, line 308
- sys/dev/drm2/radeon/radeon_kms.c, 3 times
- sys/dev/drm2/radeon/radeon_mem.c, 6 times
- sys/dev/drm2/radeon/radeon_state.c, 9 times
- sys/dev/drm2/radeon/radeon_ttm.c, line 636
- sys/dev/drm2/ttm/ttm_bo_vm.c, line 431
- sys/dev/ena/ena.c, 2 times
- sys/dev/flash/mx25l.c, line 616
- sys/dev/hpt27xx/hpt27xx_osm_bsd.c, 3 times
- sys/dev/hptiop/hptiop.c, 8 times
- sys/dev/hptmv/hptproc.c, line 328
- sys/dev/hptnr/hptnr_osm_bsd.c, 3 times
- sys/dev/hptrr/hptrr_osm_bsd.c, 3 times
- sys/dev/ioat/ioat.c, line 646
- sys/dev/ixl/i40e_adminq.h, line 136
- sys/dev/ixl/i40e_nvm.c, 3 times
- sys/dev/ixl/ixl_pf_iov.c, 2 times
- sys/dev/lmc/if_lmc.c, 6 times
- sys/dev/mlx4/mlx4_core/mlx4_alloc.c, line 559
- sys/dev/mlx4/mlx4_core/mlx4_cmd.c, 2 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c, line 857
- sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c, 3 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c, 2 times
- sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c, line 736
- sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c, 2 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c, 2 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, line 1453
- sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c, 4 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c, 4 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_srq.c, 2 times
- sys/dev/mmc/mmcsd.c, line 1038
- sys/dev/mpr/mpr.c, line 815
- sys/dev/mpr/mpr_user.c, 2 times
- sys/dev/mps/mps.c, line 803
- sys/dev/mps/mps_user.c, 2 times
- sys/dev/mthca/mthca_cmd.c, 2 times
- sys/dev/mthca/mthca_provider.c, 9 times
- sys/dev/mxge/if_mxge.c, line 1426
- sys/dev/nand/nand_geom.c, 2 times
- sys/dev/nand/nandsim.c, 2 times
- sys/dev/nvme/nvme_ctrlr.c, line 963
- sys/dev/nxge/if_nxge.c, line 1372
- sys/dev/oce/oce_if.c, 4 times
- sys/dev/ocs_fc/ocs_ioctl.c, 13 times
- sys/dev/ocs_fc/ocs_mgmt.c, 7 times
- sys/dev/pms/freebsd/driver/common/lxencrypt.c, 2 times
- sys/dev/safe/safe.c, line 1995
- sys/dev/scd/scd.c, 2 times
- sys/dev/sdhci/sdhci.c, line 677
- sys/dev/sfxge/common/ef10_nvram.c, 12 times
- sys/dev/sfxge/common/efx_lic.c, line 1279
- sys/dev/sfxge/common/efx_rx.c, 5 times
- sys/dev/sfxge/common/efx_sram.c, line 138
- sys/dev/sfxge/common/efx_vpd.c, 10 times
- sys/dev/sfxge/common/siena_sram.c, 2 times
- sys/dev/sfxge/common/siena_vpd.c, line 263
- sys/dev/twe/twe.c, line 641
- sys/dev/tx/if_tx.c, 3 times
- sys/dev/ubsec/ubsec.c, 2 times
- sys/dev/urtwn/if_urtwn.c, line 1725
- sys/dev/usb/usb_generic.c, line 929
- sys/dev/xen/evtchn/evtchn_dev.c, line 301
- sys/dev/xen/pcifront/pcifront.c, line 265
- sys/fs/cuse/cuse.c, 5 times
- sys/geom/geom_slice.c, line 207
- sys/geom/geom_subr.c, 2 times
- sys/i386/i386/genassym.c, 2 times
- sys/i386/i386/mem.c, 4 times
- sys/i386/i386/support.s, 4 times
- sys/i386/i386/trap.c, 2 times
- sys/i386/ibcs2/ibcs2_misc.c, 2 times
- sys/i386/linux/imgact_linux.c, line 105
- sys/i386/linux/linux_machdep.c, line 768
- sys/i386/linux/linux_support.s, line 41
- sys/i386/linux/linux_sysvec.c, 2 times
- sys/kern/imgact_aout.c, line 236
- sys/kern/imgact_elf.c, 4 times
- sys/kern/kern_exec.c, 3 times
- sys/kern/kern_physio.c, line 175
- sys/kern/kern_sig.c, 2 times
- sys/kern/kern_thr.c, 3 times
- sys/kern/kern_time.c, line 621
- sys/kern/kern_umtx.c, 79 times
- sys/kern/subr_uio.c, line 326
- sys/kern/sys_generic.c, line 987
- sys/kern/sys_pipe.c, line 856
- sys/kern/sys_process.c, line 287
- sys/kern/uipc_mqueue.c, line 1700
- sys/kern/uipc_socket.c, 2 times
- sys/kern/uipc_syscalls.c, line 1408
- sys/kern/vfs_acl.c, line 169
- sys/kern/vfs_aio.c, line 1296
- sys/kern/vfs_vnops.c, 4 times
- sys/mips/mips/freebsd32_machdep.c, line 260
- sys/mips/mips/mem.c, 2 times
- sys/mips/mips/pm_machdep.c, 2 times
- sys/mips/mips/support.S, line 280
- sys/net/bpf_zerocopy.c, line 226
- sys/net/if_spppsubr.c, 2 times
- sys/net80211/ieee80211_ioctl.c, 2 times
- sys/netinet/sctp_asconf.c, 2 times
- sys/netinet/sctp_cc_functions.c, 3 times
- sys/netinet/sctp_output.c, 9 times
- sys/netinet/sctp_peeloff.c, 4 times
- sys/netinet/sctp_usrreq.c, 4 times
- sys/netinet/sctputil.c, 2 times
- sys/netsmb/smb_subr.c, line 236
- sys/ofed/drivers/infiniband/core/ib_mad.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_ucm.c, 24 times
- sys/ofed/drivers/infiniband/core/ib_ucma.c, 34 times
- sys/ofed/drivers/infiniband/core/ib_umem_odp.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_user_mad.c, 16 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c, 66 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_main.c, 4 times
- sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c, line 1157
- sys/ofed/include/rdma/ib_verbs.h, 2 times
- sys/powerpc/aim/mmu_oea.c, line 2554
- sys/powerpc/aim/mmu_oea64.c, line 2582
- sys/powerpc/booke/pmap.c, line 2677
- sys/powerpc/powerpc/copyinout.c, 7 times
- sys/powerpc/powerpc/exec_machdep.c, 2 times
- sys/powerpc/powerpc/mem.c, 4 times
- sys/powerpc/powerpc/platform.c, line 179
- sys/riscv/riscv/copyinout.S, line 48
- sys/riscv/riscv/machdep.c, 2 times
- sys/riscv/riscv/mem.c, 2 times
- sys/security/audit/bsm_errno.c, line 97
- sys/sparc64/sparc64/machdep.c, line 726
- sys/sparc64/sparc64/mem.c, 3 times
- sys/sparc64/sparc64/support.S, line 381
- sys/sparc64/sparc64/sys_machdep.c, line 109
- sys/ufs/ffs/ffs_rawread.c, 2 times
- sys/vm/vm_glue.c, line 210
- sys/vm/vm_mmap.c, 3 times
- sys/xen/error.h, line 49
- sys/xen/interface/errno.h, line 47
- tests/sys/kern/kern_copyin.c, 7 times
- tests/sys/kern/pdeathsig.c, line 77
- tests/sys/posixshm/posixshm_test.c, 2 times
- tools/regression/capsicum/syscalls/cap_getmode.c, 4 times
- tools/regression/posixsem/posixsem.c, 2 times
- tools/regression/sockets/accept_fd_leak/accept_fd_leak.c, line 195
- usr.sbin/bhyve/acpi.c, line 859
- usr.sbin/bhyve/task_switch.c, line 696
- usr.sbin/bhyveload/bhyveload.c, 2 times
- usr.sbin/kldxref/ef.c, 4 times
- usr.sbin/kldxref/ef_obj.c, 5 times