Defined in 2 files as a macro:
Defined in 1 files as a function:
Referenced in 200 files:
- bin/pkill/pkill.c, line 649
- bin/ps/ps.c, line 544
- bin/sh/jobs.c, line 718
- cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c, line 77
- cddl/contrib/opensolaris/cmd/zdb/zdb.c, line 2322
- cddl/contrib/opensolaris/cmd/ztest/ztest.c, line 5038
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, line 942
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c, 3 times
- cddl/contrib/opensolaris/lib/libdtrace/sparc/dt_isadep.c, line 117
- cddl/contrib/opensolaris/lib/libuutil/common/uu_misc.c, line 175
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c, 4 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c, line 404
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_iter.c, line 87
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c, line 1995
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, line 2038
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c, line 512
- cddl/contrib/opensolaris/lib/pyzfs/common/ioctl.c, line 256
- contrib/amd/amd/ops_cachefs.c, line 219
- contrib/amd/amd/restart.c, line 227
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/blacklist/port/popenve.c, line 251
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc, line 557
- contrib/file/src/cdf.c, line 848
- contrib/file/src/readcdf.c, 2 times
- contrib/gcclibs/libiberty/strerror.c, 2 times
- contrib/gdb/gdb/infttrace.c, 3 times
- contrib/gdb/gdb/procfs.c, line 5195
- contrib/ipfilter/ip_dstlist.c, 5 times
- contrib/ipfilter/mli_ipl.c, 2 times
- contrib/libc++/include/errno.h, line 352
- contrib/llvm/lib/Support/LockFileManager.cpp, line 117
- contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 98
- contrib/netbsd-tests/include/t_errno.c, line 697
- contrib/netbsd-tests/lib/libc/sys/t_getsid.c, line 71
- contrib/netbsd-tests/lib/libc/sys/t_kill.c, 3 times
- contrib/netbsd-tests/lib/libpthread/t_detach.c, line 88
- contrib/netbsd-tests/lib/libpthread/t_join.c, line 128
- contrib/netbsd-tests/lib/libpthread/t_name.c, line 95
- contrib/netbsd-tests/rump/rumpkern/h_client/h_forkcli.c, line 132
- contrib/netbsd-tests/rump/rumpkern/t_lwproc.c, 2 times
- contrib/openbsm/libbsm/bsm_errno.c, line 84
- contrib/openbsm/test/bsm/generate.c, line 1000
- contrib/pf/authpf/authpf.c, line 873
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/unbound/libunbound/libunbound.c, line 294
- contrib/wpa/src/l2_packet/l2_packet_freebsd.c, line 219
- contrib/wpa/src/wps/wps_upnp.c, line 879
- crypto/openssh/openbsd-compat/bsd-misc.c, line 249
- crypto/openssh/sshd.c, line 2421
- lib/libc/compat-43/killpg.c, line 49
- lib/libc/gen/pututxline.c, line 154
- lib/libc/resolv/res_send.c, line 316
- lib/libc/stdlib/hsearch_r.c, line 101
- lib/libpmcstat/libpmcstat_process.c, line 354
- lib/libproc/proc_util.c, line 101
- lib/libprocstat/libprocstat.c, 8 times
- lib/libsysdecode/errno.c, line 117
- lib/libthr/thread/thr_join.c, line 94
- lib/libthr/thread/thr_list.c, 2 times
- lib/libutil/uucplock.c, line 99
- libexec/bootpd/rtmsg.c, line 225
- libexec/rtld-elf/rtld.c, 9 times
- release/picobsd/tinyware/oinit/oinit.c, line 784
- sbin/camcontrol/modeedit.c, 2 times
- sbin/gbde/gbde.c, line 368
- sbin/hastd/hooks.c, line 306
- sbin/init/init.c, 2 times
- sbin/ipfw/nat64lsn.c, 5 times
- sbin/ipfw/nat64stl.c, 3 times
- sbin/ipfw/nptv6.c, 3 times
- sbin/ipfw/tables.c, 5 times
- sbin/pfctl/pfctl.c, line 260
- sbin/pfctl/pfctl_radix.c, line 580
- sbin/reboot/reboot.c, 2 times
- sbin/route/route.c, 2 times
- sbin/routed/table.c, 2 times
- stand/common/load_elf_obj.c, line 459
- stand/common/reloc_elf.c, 2 times
- sys/cam/scsi/scsi_target.c, line 703
- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c, line 718
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c, line 1139
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c, line 709
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c, line 415
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c, 9 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_bookmark.c, 4 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c, 3 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_removal.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c, line 33
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, 7 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, line 271
- sys/cddl/dev/dtrace/dtrace_ioctl.c, 2 times
- sys/compat/cloudabi/cloudabi_errno.c, line 110
- sys/compat/linprocfs/linprocfs.c, line 1096
- sys/compat/linux/linux_futex.c, 2 times
- sys/compat/linux/linux_misc.c, 7 times
- sys/compat/linux/linux_signal.c, 4 times
- sys/compat/linux/linux_time.c, line 449
- sys/contrib/ipfilter/netinet/fil.c, 18 times
- sys/contrib/ipfilter/netinet/ip_auth.c, 4 times
- sys/contrib/ipfilter/netinet/ip_dns_pxy.c, line 128
- sys/contrib/ipfilter/netinet/ip_dstlist.c, 5 times
- sys/contrib/ipfilter/netinet/ip_htable.c, 5 times
- sys/contrib/ipfilter/netinet/ip_lookup.c, line 726
- sys/contrib/ipfilter/netinet/ip_nat.c, 9 times
- sys/contrib/ipfilter/netinet/ip_nat6.c, 2 times
- sys/contrib/ipfilter/netinet/ip_pool.c, 5 times
- sys/contrib/ipfilter/netinet/ip_proxy.c, line 628
- sys/contrib/ipfilter/netinet/ip_state.c, 6 times
- sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c, line 745
- sys/dev/acpica/acpi_cpu.c, line 611
- sys/dev/hwpmc/hwpmc_mod.c, 9 times
- sys/dev/iscsi/iscsi.c, 7 times
- sys/dev/ixl/i40e_adminq.h, line 128
- sys/dev/ixl/i40e_nvm.c, 4 times
- sys/dev/ixl/ixl_pf_iov.c, line 1705
- sys/dev/ofw/ofw_bus_subr.c, 2 times
- sys/fs/autofs/autofs.c, 2 times
- sys/fs/devfs/devfs_rule.c, 3 times
- sys/fs/procfs/procfs_map.c, line 118
- sys/geom/bde/g_bde.c, line 213
- sys/geom/bde/g_bde_lock.c, line 403
- sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_core.c, 4 times
- sys/i386/linux/linux_ptrace.c, 2 times
- sys/kern/kern_cpuset.c, 6 times
- sys/kern/kern_descrip.c, 3 times
- sys/kern/kern_event.c, line 424
- sys/kern/kern_intr.c, 2 times
- sys/kern/kern_jail.c, line 2827
- sys/kern/kern_ktrace.c, 3 times
- sys/kern/kern_linker.c, line 543
- sys/kern/kern_proc.c, 5 times
- sys/kern/kern_procctl.c, 5 times
- sys/kern/kern_prot.c, 7 times
- sys/kern/kern_rctl.c, 3 times
- sys/kern/kern_resource.c, 4 times
- sys/kern/kern_sig.c, 7 times
- sys/kern/kern_thr.c, 7 times
- sys/kern/kern_umtx.c, line 3915
- sys/kern/link_elf.c, 2 times
- sys/kern/link_elf_obj.c, line 1326
- sys/kern/p1003_1b.c, 5 times
- sys/kern/subr_intr.c, 6 times
- sys/kern/sys_procdesc.c, line 161
- sys/kern/sys_process.c, 3 times
- sys/net/route.c, 8 times
- sys/net/rtsock.c, 8 times
- sys/netgraph/ng_ipfw.c, line 300
- sys/netgraph/ng_tty.c, line 265
- sys/netinet/cc/cc.c, line 110
- sys/netinet/tcp_subr.c, line 3063
- sys/netinet6/in6_src.c, line 1162
- sys/netinet6/ip6_mroute.c, line 501
- sys/netipsec/key.c, 10 times
- sys/netpfil/ipfw/ip_fw_eaction.c, line 163
- sys/netpfil/ipfw/ip_fw_nat.c, 3 times
- sys/netpfil/ipfw/ip_fw_sockopt.c, line 4440
- sys/netpfil/ipfw/ip_fw_table.c, 13 times
- sys/netpfil/ipfw/nat64/nat64lsn_control.c, 4 times
- sys/netpfil/ipfw/nat64/nat64stl_control.c, 3 times
- sys/netpfil/ipfw/nptv6/nptv6.c, 3 times
- sys/netpfil/pf/pf_ioctl.c, 4 times
- sys/netpfil/pf/pf_table.c, 8 times
- sys/nfs/nfs_lock.c, line 369
- sys/security/audit/audit_syscalls.c, 6 times
- sys/security/audit/bsm_errno.c, line 88
- sys/security/mac/mac_framework.c, 3 times
- sys/security/mac/mac_syscalls.c, line 103
- sys/security/mac_biba/mac_biba.c, 4 times
- sys/security/mac_lomac/mac_lomac.c, 4 times
- sys/security/mac_mls/mac_mls.c, 4 times
- sys/security/mac_partition/mac_partition.c, 4 times
- sys/security/mac_seeotheruids/mac_seeotheruids.c, line 130
- sys/xen/error.h, line 39
- sys/xen/interface/errno.h, line 34
- tests/sys/kern/ptrace_test.c, line 154
- tests/sys/kern/reaper.c, line 580
- tools/regression/priv/priv_sched_rtprio.c, 6 times
- tools/regression/security/proc_to_proc/scenario.c, line 158
- tools/test/ptrace/scescx.c, line 166
- usr.bin/sockstat/sockstat.c, 2 times
- usr.bin/tip/tip/uucplock.c, line 94
- usr.sbin/arp/arp.c, line 788
- usr.sbin/bhyve/bhyverun.c, line 634
- usr.sbin/bhyve/mem.c, line 192
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c, line 539
- usr.sbin/jail/command.c, line 767
- usr.sbin/kldxref/ef_obj.c, line 181
- usr.sbin/lpr/lpc/cmds.c, line 342
- usr.sbin/ndp/ndp.c, line 887
- usr.sbin/newsyslog/newsyslog.c, line 1986
- usr.sbin/ppp/arp.c, line 138
- usr.sbin/ppp/exec.c, line 328
- usr.sbin/ppp/route.c, 2 times
- usr.sbin/rarpd/rarpd.c, line 753
- usr.sbin/route6d/route6d.c, 2 times
- usr.sbin/rpc.lockd/kern.c, line 559