Defined in 2 files as a prototype:
Defined in 2 files as a member:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 182 files:
- contrib/binutils/libiberty/physmem.c, 2 times
- contrib/bmake/main.c, line 1026
- contrib/bsnmp/snmp_mibII/mibII.c, 7 times
- contrib/bsnmp/snmpd/action.c, line 77
- contrib/capsicum-test/sysctl.cc, line 13
- contrib/gdb/gdb/amd64fbsd-nat.c, line 229
- contrib/gdb/gdb/i386fbsd-nat.c, line 100
- contrib/gdb/gdb/i386obsd-nat.c, line 53
- contrib/ipfilter/ipsend/44arp.c, 2 times
- contrib/ipfilter/ipsend/sock.c, line 149
- contrib/jemalloc/src/pages.c, line 449
- contrib/libevent/arc4random.c, 3 times
- contrib/libexecinfo/backtrace.c, line 69
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 788
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 239
- contrib/llvm-project/libcxx/src/thread.cpp, line 87
- contrib/llvm-project/lldb/source/Host/freebsd/Host.cpp, 5 times
- contrib/llvm-project/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp, 2 times
- contrib/llvm-project/lldb/source/Host/netbsd/HostInfoNetBSD.cpp, 2 times
- contrib/llvm-project/lldb/source/Host/netbsd/HostNetBSD.cpp, line 61
- contrib/llvm-project/lldb/source/Host/openbsd/Host.cpp, 4 times
- contrib/llvm-project/lldb/source/Host/openbsd/HostInfoOpenBSD.cpp, line 38
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp, line 124
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp, line 884
- contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp, 2 times
- contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp, line 3434
- contrib/llvm-project/llvm/lib/Support/Host.cpp, line 1287
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 6 times
- contrib/netbsd-tests/kernel/t_ptrace_wait.c, line 769
- contrib/netbsd-tests/kernel/t_ptrace_wait.h, line 349
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, 2 times
- contrib/ntp/lib/isc/unix/ifiter_sysctl.c, 2 times
- contrib/ntp/lib/isc/unix/net.c, 2 times
- contrib/ntp/sntp/libevent/arc4random.c, 3 times
- contrib/ofed/libibumad/sysfs.c, 2 times
- contrib/openbsm/libbsm/bsm_wrappers.c, line 253
- contrib/sendmail/src/conf.c, line 5315
- contrib/traceroute/traceroute.c, line 579
- contrib/unbound/compat/getentropy_freebsd.c, line 44
- contrib/unbound/compat/getentropy_osx.c, 5 times
- contrib/wpa/src/drivers/driver_bsd.c, line 645
- contrib/wpa/src/l2_packet/l2_packet_freebsd.c, 2 times
- contrib/wpa/src/wps/wps_upnp.c, 2 times
- contrib/xz/src/common/tuklib_cpucores.c, 2 times
- contrib/xz/src/common/tuklib_physmem.c, 2 times
- crypto/heimdal/lib/roken/getdtablesize.c, line 83
- crypto/openssh/servconf.c, line 822
- crypto/openssl/crypto/rand/rand_unix.c, line 274
- lib/libc/compat-43/gethostid.c, line 53
- lib/libc/compat-43/sethostid.c, line 50
- lib/libc/gen/__getosreldate.c, line 66
- lib/libc/gen/__xuname.c, 5 times
- lib/libc/gen/elf_utils.c, line 86
- lib/libc/gen/getbootfile.c, line 51
- lib/libc/gen/getdomainname.c, line 50
- lib/libc/gen/gethostname.c, line 49
- lib/libc/gen/getloadavg.c, line 60
- lib/libc/gen/getosreldate.c, line 58
- lib/libc/gen/getpagesize.c, line 71
- lib/libc/gen/setdomainname.c, line 48
- lib/libc/gen/sethostname.c, line 48
- lib/libc/gen/setmode.c, line 360
- lib/libc/gen/setproctitle.c, 2 times
- lib/libc/gen/sysconf.c, 2 times
- lib/libc/gen/sysctlnametomib.c, line 54
- lib/libc/gmon/gmon.c, line 141
- lib/libc/net/getaddrinfo.c, 2 times
- lib/libc/net/getifaddrs.c, 2 times
- lib/libc/net/getifmaddrs.c, 2 times
- lib/libc/net/name6.c, 2 times
- lib/libc/powerpc/gen/syncicache.c, line 71
- lib/libc/powerpc64/gen/syncicache.c, line 71
- lib/libc/stdlib/random.c, line 266
- lib/libcasper/services/cap_sysctl/cap_sysctl.c, line 516
- lib/libcasper/services/cap_sysctl/cap_sysctl.h, line 70
- lib/libdevinfo/devinfo.c, 5 times
- lib/libgeom/geom_getxml.c, 2 times
- lib/libifconfig/libifconfig.c, 2 times
- lib/libjail/jail.c, 9 times
- lib/libkvm/kvm_getswapinfo.c, line 188
- lib/libkvm/kvm_proc.c, 3 times
- lib/libnv/tests/nvlist_send_recv_test.c, line 392
- lib/libopenbsd/getdtablecount.c, line 54
- lib/libopenbsd/sys/sysctl.h, line 32
- lib/libprocstat/libprocstat.c, 13 times
- lib/libthr/thread/thr_init.c, line 468
- lib/libthr/thread/thr_stack.c, line 158
- lib/libugidfw/ugidfw.c, 4 times
- lib/libutil/kinfo_getallproc.c, 2 times
- lib/libutil/kinfo_getfile.c, 2 times
- lib/libutil/kinfo_getproc.c, 2 times
- lib/libutil/kinfo_getvmmap.c, 2 times
- libexec/rpc.rstatd/rstat_proc.c, 4 times
- libexec/rtld-elf/rtld-libc/rtld_libc.c, line 119
- libexec/rtld-elf/rtld.c, 4 times
- sbin/dumpon/dumpon.c, 3 times
- sbin/fsck_ffs/dir.c, line 414
- sbin/fsck_ffs/inode.c, line 596
- sbin/fsck_ffs/pass1.c, 2 times
- sbin/fsck_ffs/pass5.c, 7 times
- sbin/init/init.c, 2 times
- sbin/ipfw/nat.c, 2 times
- sbin/kldconfig/kldconfig.c, 3 times
- sbin/kldload/kldload.c, 2 times
- sbin/natd/natd.c, 2 times
- sbin/newfs_msdos/mkfs_msdos.c, line 858
- sbin/ping/ping.c, line 719
- sbin/route/route.c, 4 times
- sbin/routed/if.c, 2 times
- sbin/routed/main.c, line 263
- sbin/routed/table.c, 2 times
- sbin/swapon/swapon.c, line 901
- sbin/sysctl/sysctl.c, 8 times
- stand/libsa/powerpc/syncicache.c, line 69
- sys/compat/linux/linux_sysctl.c, 24 times
- sys/contrib/openzfs/lib/libspl/os/freebsd/getexecname.c, line 53
- sys/dev/drm2/drm_sysctl.c, 7 times
- sys/kern/kern_mib.c, line 65
- sys/kern/kern_sysctl.c, 2 times
- tests/sys/audit/miscellaneous.c, 2 times
- tests/sys/kern/kern_copyin.c, line 70
- tests/sys/kern/ptrace_test.c, line 154
- tests/sys/kern/unix_passfd_test.c, line 116
- tools/build/cross-build/include/linux/sys/sysctl.h, line 41
- tools/regression/security/cap_test/cap_test.c, line 55
- tools/regression/security/cap_test/cap_test_sysctl.c, line 64
- tools/test/ptrace/scescx.c, line 164
- tools/tools/ifinfo/ifinfo.c, 6 times
- tools/tools/netmap/pkt-gen.c, line 575
- tools/tools/npe/npestats/npestats.c, line 149
- usr.bin/gcore/elfcore.c, 5 times
- usr.bin/gcore/gcore.c, line 116
- usr.bin/ipcs/ipc.c, 7 times
- usr.bin/killall/killall.c, 2 times
- usr.bin/limits/limits.c, 4 times
- usr.bin/netstat/bpf.c, line 71
- usr.bin/netstat/nhgrp.c, 2 times
- usr.bin/netstat/nhops.c, 2 times
- usr.bin/netstat/route.c, 2 times
- usr.bin/posixshmcontrol/posixshmcontrol.c, 2 times
- usr.bin/procstat/procstat_sigs.c, line 219
- usr.bin/sockstat/sockstat.c, 2 times
- usr.bin/systat/fetch.c, 2 times
- usr.bin/systat/icmp.c, 4 times
- usr.bin/systat/icmp6.c, 4 times
- usr.bin/systat/ifstat.c, 2 times
- usr.bin/systat/ip.c, 8 times
- usr.bin/systat/ip6.c, 4 times
- usr.bin/systat/tcp.c, 4 times
- usr.bin/systat/vmstat.c, line 791
- usr.bin/time/time.c, line 238
- usr.bin/top/machine.c, line 583
- usr.bin/truss/setup.c, line 243
- usr.bin/truss/syscalls.c, line 1605
- usr.bin/uname/uname.c, line 218
- usr.sbin/arp/arp.c, 2 times
- usr.sbin/bluetooth/hccontrol/hccontrol.c, line 161
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_network_tbl.c, 2 times
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c, 2 times
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c, 5 times
- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c, line 253
- usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c, 3 times
- usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c, line 542
- usr.sbin/ifmcstat/ifmcstat.c, 6 times
- usr.sbin/ip6addrctl/ip6addrctl.c, 2 times
- usr.sbin/kgmon/kgmon.c, 12 times
- usr.sbin/ndp/ndp.c, 6 times
- usr.sbin/pmc/cmd_pmc_stat.c, line 83
- usr.sbin/powerd/powerd.c, 8 times
- usr.sbin/ppp/arp.c, 2 times
- usr.sbin/ppp/iface.c, 2 times
- usr.sbin/ppp/route.c, 8 times
- usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c, 8 times
- usr.sbin/pstat/pstat.c, 3 times
- usr.sbin/route6d/route6d.c, 4 times
- usr.sbin/rtadvd/if.c, 4 times
- usr.sbin/rtsold/cap_sendmsg.c, 2 times
- usr.sbin/rtsold/if.c, 2 times
- usr.sbin/rwhod/rwhod.c, 3 times
- usr.sbin/traceroute6/traceroute6.c, line 390
- usr.sbin/wpa/ndis_events/ndis_events.c, 2 times
- usr.sbin/wpa/wpa_supplicant/Packet32.c, 2 times