Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 231 files:
- bin/df/df.c, 2 times
- bin/ps/nlist.c, 3 times
- bin/ps/ps.c, line 1456
- cddl/compat/opensolaris/misc/zone.c, line 43
- cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sdt/tst.sdtargs.c, line 39
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_pragma.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, line 514
- contrib/atf/atf-c/detail/process_test.c, line 676
- contrib/bsnmp/snmp_mibII/mibII.c, 2 times
- contrib/bsnmp/snmp_mibII/mibII_ip.c, 7 times
- contrib/bsnmp/snmp_mibII/mibII_tcp.c, 4 times
- contrib/bsnmp/snmp_mibII/mibII_udp.c, 3 times
- contrib/capsicum-test/capsicum-test-main.cc, line 53
- contrib/jemalloc/src/pages.c, line 453
- contrib/kyua/utils/memory.cpp, line 125
- contrib/libxo/libxo/xo_syslog.c, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 245
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_netbsd.cpp, 2 times
- contrib/llvm-project/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp, line 928
- contrib/llvm-project/llvm/lib/Support/Host.cpp, line 1282
- contrib/netbsd-tests/kernel/t_kauth_pr_47598.c, 3 times
- contrib/netbsd-tests/kernel/t_ptrace.c, line 111
- contrib/netbsd-tests/kernel/t_sysctl.c, line 57
- contrib/netbsd-tests/lib/libc/arch/i386/exec_prot_support.c, line 55
- contrib/netbsd-tests/lib/libc/arch/powerpc/exec_prot_support.c, line 45
- contrib/netbsd-tests/lib/libc/gen/isqemu.h, 3 times
- contrib/netbsd-tests/lib/libc/gen/t_siginfo.c, line 469
- contrib/netbsd-tests/lib/libc/sys/t_clock_gettime.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_mlock.c, line 120
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mprotect.c, 4 times
- contrib/netbsd-tests/lib/libc/sys/t_msgget.c, line 205
- contrib/netbsd-tests/lib/libc/sys/t_wait.c, line 157
- contrib/netbsd-tests/modules/t_modctl.c, line 133
- contrib/netbsd-tests/rump/modautoload/t_modautoload.c, line 51
- contrib/netcat/netcat.c, line 271
- contrib/ntp/lib/isc/unix/net.c, 2 times
- contrib/ntp/lib/isc/unix/os.c, line 70
- contrib/ofed/infiniband-diags/src/ibstat.c, line 124
- contrib/ofed/infiniband-diags/src/ibsysstat.c, line 273
- contrib/ofed/libibumad/sysfs.c, line 66
- contrib/ofed/libibverbs/sysfs.c, line 93
- contrib/ofed/opensm/complib/cl_thread.c, line 126
- contrib/smbfs/lib/smb/kiconv.c, 2 times
- contrib/smbfs/lib/smb/subr.c, 3 times
- contrib/sqlite3/sqlite3.c, line 23800
- contrib/tnftp/src/main.c, 2 times
- crypto/openssh/readconf.c, line 1991
- crypto/openssl/crypto/ppccap.c, 2 times
- lib/geom/eli/geom_eli.c, 2 times
- lib/libbluetooth/hci.c, line 806
- lib/libc/gen/ctermid.c, line 61
- lib/libc/gen/devname.c, line 58
- lib/libc/gen/feature_present.c, line 57
- lib/libc/gen/getpagesizes.c, line 70
- lib/libc/gen/getttyent.c, 2 times
- lib/libc/gen/getvfsbyname.c, 2 times
- lib/libc/gen/setproctitle.c, line 122
- lib/libc/gen/sysconf.c, 3 times
- lib/libc/tests/sys/mlock_helper.c, 2 times
- lib/libc/tests/sys/sendfile_test.c, line 67
- lib/libcasper/services/cap_sysctl/cap_sysctl.c, line 513
- lib/libcasper/services/cap_sysctl/cap_sysctl.h, line 72
- lib/libcasper/services/cap_sysctl/tests/sysctl_test.c, 2 times
- lib/libdevinfo/devinfo.c, line 122
- lib/libdevstat/devstat.c, 5 times
- lib/libkiconv/kiconv_sysctl.c, 4 times
- lib/libkiconv/xlat16_sysctl.c, line 68
- lib/libkvm/kvm.c, 2 times
- lib/libkvm/kvm_cptime.c, line 73
- lib/libkvm/kvm_getswapinfo.c, line 260
- lib/libkvm/tests/kvm_read_test.c, line 86
- lib/libmemstat/memstat_malloc.c, 5 times
- lib/libmemstat/memstat_uma.c, 3 times
- lib/libpmc/libpmc_pmu_util.c, 2 times
- lib/libpmcstat/libpmcstat_image.c, line 202
- lib/libprocstat/zfs.c, line 64
- lib/librss/librss.c, 2 times
- lib/libthr/thread/thr_attr.c, line 602
- lib/libugidfw/ugidfw.c, 3 times
- lib/libutil/kinfo_getvmobject.c, 2 times
- lib/libvmmapi/vmmapi.c, 2 times
- libexec/atrun/atrun.c, line 510
- libexec/rpc.rstatd/rstat_proc.c, 2 times
- libexec/tftpd/tftp-options.c, 2 times
- sbin/adjkerntz/adjkerntz.c, 6 times
- sbin/conscontrol/conscontrol.c, 6 times
- sbin/ddb/ddb_capture.c, 5 times
- sbin/ddb/ddb_script.c, 4 times
- sbin/devd/devd.cc, 2 times
- sbin/devmatch/devmatch.c, 2 times
- sbin/dmesg/dmesg.c, 3 times
- sbin/dumpon/dumpon.c, 2 times
- sbin/fsck_ffs/fsutil.c, 3 times
- sbin/fsck_ffs/pass2.c, 7 times
- sbin/geom/core/geom.c, line 1318
- sbin/init/init.c, 4 times
- sbin/ipfw/dummynet.c, 4 times
- sbin/ipfw/ipfw2.c, 8 times
- sbin/ipfw/main.c, 2 times
- sbin/iscontrol/fsm.c, line 292
- sbin/iscontrol/iscontrol.c, 2 times
- sbin/natd/natd.c, line 2032
- sbin/nfsiod/nfsiod.c, 4 times
- sbin/pfctl/pfctl_radix.c, line 69
- sbin/reboot/reboot.c, line 278
- sbin/route/route.c, 2 times
- sys/contrib/openzfs/lib/libspl/os/freebsd/zone.c, line 43
- sys/contrib/openzfs/lib/libzfs/os/freebsd/libzfs_compat.c, line 330
- sys/contrib/openzfs/lib/libzutil/os/freebsd/zutil_compat.c, line 42
- sys/contrib/zstd/programs/util.c, 2 times
- sys/tests/runtest/runtest.c, line 90
- tests/freebsd_test_suite/macros.h, line 59
- tests/sys/aio/aio_kqueue_test.c, line 78
- tests/sys/aio/aio_test.c, line 796
- tests/sys/aio/lio_kqueue_test.c, line 77
- tests/sys/aio/lio_test.c, line 77
- tests/sys/aio/local.h, line 51
- tests/sys/audit/administrative.c, line 389
- tests/sys/fs/fusefs/forget.cc, 3 times
- tests/sys/fs/fusefs/read.cc, line 97
- tests/sys/fs/fusefs/utils.cc, 5 times
- tests/sys/kern/kern_descrip_test.c, 4 times
- tests/sys/kern/ptrace_test.c, 3 times
- tests/sys/kern/unix_passfd_test.c, line 412
- tests/sys/netinet/ip_reass_test.c, line 178
- tests/sys/posixshm/posixshm_test.c, 2 times
- tests/sys/vm/mmap_test.c, line 66
- tools/regression/netinet/arphold/arphold.c, 4 times
- tools/regression/netinet/tcpdrop/tcpdrop.c, line 66
- tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c, line 64
- tools/regression/posixsem/posixsem.c, 2 times
- tools/regression/priv/priv_acct.c, line 71
- tools/regression/priv/priv_msgbuf.c, 7 times
- tools/regression/priv/priv_sysctl_write.c, 4 times
- tools/regression/security/open_to_operation/open_to_operation.c, line 1077
- tools/regression/sockets/listen_backlog/listen_backlog.c, line 374
- tools/regression/sockets/so_setfib/so_setfib.c, line 183
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 71
- tools/regression/sockets/unix_gc/unix_gc.c, line 64
- tools/tools/ath/athdebug/athdebug.c, 2 times
- tools/tools/crypto/cryptocheck.c, 2 times
- tools/tools/crypto/cryptostats.c, 3 times
- tools/tools/crypto/cryptotest.c, 5 times
- tools/tools/crypto/hifnstats.c, line 47
- tools/tools/crypto/ipsecstats.c, 3 times
- tools/tools/crypto/safestats.c, line 47
- tools/tools/ipw/ipwstats.c, line 256
- tools/tools/iwi/iwistats.c, line 124
- tools/tools/mwl/mwldebug/mwldebug.c, 2 times
- tools/tools/ncpus/acpi.c, line 306
- tools/tools/net80211/wlanwds/wlanwds.c, line 198
- tools/tools/netrate/tcpp/tcpp_client.c, 3 times
- tools/tools/netrate/tcpp/tcpp_server.c, 3 times
- tools/tools/switch_tls/switch_tls.c, 3 times
- tools/tools/usbtest/usb_control_ep_test.c, 5 times
- tools/tools/usbtest/usbtest.c, 17 times
- usr.bin/ctlstat/ctlstat.c, 2 times
- usr.bin/gprof/kernel.c, 2 times
- usr.bin/ipcs/ipc.c, 2 times
- usr.bin/lsvfs/lsvfs.c, 2 times
- usr.bin/mkuzip/mkuzip.c, line 141
- usr.bin/netstat/bpf.c, 3 times
- usr.bin/netstat/inet.c, 3 times
- usr.bin/netstat/main.c, 2 times
- usr.bin/netstat/mbuf.c, 3 times
- usr.bin/netstat/mroute.c, 3 times
- usr.bin/netstat/mroute6.c, 2 times
- usr.bin/netstat/netisr.c, 8 times
- usr.bin/netstat/nhgrp.c, 2 times
- usr.bin/netstat/nhops.c, 2 times
- usr.bin/netstat/route.c, 2 times
- usr.bin/netstat/sctp.c, 2 times
- usr.bin/netstat/unix.c, 2 times
- usr.bin/rctl/rctl.c, line 385
- usr.bin/sockstat/sockstat.c, 5 times
- usr.bin/systat/fetch.c, line 68
- usr.bin/systat/iostat.c, line 129
- usr.bin/systat/main.c, 2 times
- usr.bin/systat/pigs.c, 2 times
- usr.bin/systat/sctp.c, 4 times
- usr.bin/systat/vmstat.c, 2 times
- usr.bin/systat/zarc.c, line 208
- usr.bin/tftp/main.c, 2 times
- usr.bin/top/machine.c, 8 times
- usr.bin/uname/uname.c, line 231
- usr.bin/vmstat/vmstat.c, line 407
- usr.bin/w/w.c, line 254
- usr.bin/whereis/whereis.c, 2 times
- usr.sbin/acpi/acpidump/acpi_user.c, line 181
- usr.sbin/apm/apm.c, line 390
- usr.sbin/arp/arp.c, line 345
- usr.sbin/bhyve/mevent_test.c, line 80
- usr.sbin/bhyve/net_backends.c, line 511
- usr.sbin/binmiscctl/binmiscctl.c, 2 times
- usr.sbin/bluetooth/bthidd/btuinput.c, line 449
- usr.sbin/bsdinstall/partedit/partedit_powerpc.c, 5 times
- usr.sbin/bsdinstall/partedit/partedit_x86.c, line 48
- usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c, line 1484
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c, 2 times
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c, line 245
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c, line 385
- usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c, line 2825
- usr.sbin/fwcontrol/fwcontrol.c, line 662
- usr.sbin/inetd/builtins.c, 2 times
- usr.sbin/iostat/iostat.c, line 1017
- usr.sbin/jail/jail.c, 2 times
- usr.sbin/kbdcontrol/kbdcontrol.c, line 163
- usr.sbin/kbdmap/kbdmap.c, line 163
- usr.sbin/mfiutil/mfi_cmd.c, line 221
- usr.sbin/mfiutil/mfi_config.c, 2 times
- usr.sbin/mountd/mountd.c, line 561
- usr.sbin/mpsutil/mps_cmd.c, line 732
- usr.sbin/mpsutil/mps_debug.c, 2 times
- usr.sbin/nfsd/nfsd.c, 2 times
- usr.sbin/pkg/config.c, line 154
- usr.sbin/pmccontrol/pmccontrol.c, line 237
- usr.sbin/pmcstat/pmcstat.c, 2 times
- usr.sbin/pnfsdscopymr/pnfsdscopymr.c, line 121
- usr.sbin/ppp/iface.c, line 420
- usr.sbin/pstat/pstat.c, 3 times
- usr.sbin/setfib/setfib.c, line 59
- usr.sbin/tcpdrop/tcpdrop.c, 3 times
- usr.sbin/tzsetup/tzsetup.c, line 917
- usr.sbin/uhsoctl/uhsoctl.c, 5 times
- usr.sbin/usbdump/usbdump.c, line 803
- usr.sbin/vidcontrol/vidcontrol.c, line 213
- usr.sbin/watchdogd/watchdogd.c, line 597
- usr.sbin/wlandebug/wlandebug.c, 2 times