/openbsd-src/sbin/sysctl/ |
H A D | sysctl.c | 373 int mib[CTL_MAXNAME]; in parse() local 1185 parse_baddynamic(int mib[],size_t len,char * string,void ** newvalp,size_t * newsizep,int flags,int nflag) parse_baddynamic() argument 1241 int mib[3], loc, i; debuginit() local 1274 int mib[4], maxtypenum, cnt, loc, size; vfsinit() local 1347 sysctl_vfsgen(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_vfsgen() argument 1383 sysctl_vfs(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_vfs() argument 1413 sysctl_fs(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_fs() argument 1436 sysctl_bios(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_bios() argument 1487 sysctl_swpenc(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_swpenc() argument 1803 sysctl_nchstats(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_nchstats() argument 1875 sysctl_tty(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_tty() argument 1900 sysctl_forkstat(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_forkstat() argument 1959 sysctl_malloc(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_malloc() argument 2069 sysctl_chipset(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_chipset() argument 2125 sysctl_inet(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_inet() argument 2261 sysctl_inet6(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_inet6() argument 2318 sysctl_unix(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_unix() argument 2357 sysctl_link(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_link() argument 2390 sysctl_bpf(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_bpf() argument 2410 sysctl_mpls(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_mpls() argument 2442 sysctl_pipex(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_pipex() argument 2476 sysctl_seminfo(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_seminfo() argument 2495 sysctl_shminfo(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_shminfo() argument 2514 sysctl_watchdog(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_watchdog() argument 2534 sysctl_tc(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_tc() argument 2554 sysctl_sensors(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_sensors() argument 2673 print_sensordev(char * string,int mib[],u_int mlen,struct sensordev * snsrdev) print_sensordev() argument 2876 sysctl_audio(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_audio() argument 2895 sysctl_video(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_video() argument 2914 sysctl_witness(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_witness() argument 2933 sysctl_battery(char * string,char ** bufpp,int mib[],int flags,int * typep) sysctl_battery() argument [all...] |
/openbsd-src/usr.sbin/kgmon/ |
H A D | kgmon.c | 181 int mib[4], state, openmode; in openfiles() local 246 int mib[4]; in getprof() local 274 int mib[4], oldstate; in setprof() local 308 int mib[4]; in dumpstate() local 423 int mib[2], profrate; in getprofhz() local 451 int mib[4]; in reset() local 493 int mib[2] = { CTL_HW, HW_NCPU }; in getncpu() local
|
/openbsd-src/usr.bin/netstat/ |
H A D | inet.c | 370 int mib[] = { CTL_NET, PF_INET, IPPROTO_TCP, TCPCTL_STATS }; in tcp_stats() local 530 int mib[] = { CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_STATS }; in udp_stats() local 576 int mib[] = { CTL_NET, PF_INET, IPPROTO_IP, IPCTL_STATS }; in ip_stats() local 639 int mib[] = { CTL_NET, PF_INET, IPPROTO_DIVERT, DIVERTCTL_STATS }; div_stats() local 715 int mib[] = { CTL_NET, PF_INET, IPPROTO_ICMP, ICMPCTL_STATS }; icmp_stats() local 776 int mib[] = { CTL_NET, PF_INET, IPPROTO_IGMP, IGMPCTL_STATS }; igmp_stats() local 957 int mib[] = { CTL_NET, PF_INET, IPPROTO_AH, AHCTL_STATS }; ah_stats() local 1004 int mib[] = { CTL_NET, PF_INET, IPPROTO_ETHERIP, ETHERIPCTL_STATS }; etherip_stats() local 1037 int mib[] = { CTL_NET, PF_INET, IPPROTO_IP, IPCTL_IPSEC_STATS }; ipsec_stats() local 1072 int mib[] = { CTL_NET, PF_INET, IPPROTO_ESP, ESPCTL_STATS }; esp_stats() local 1121 int mib[] = { CTL_NET, PF_INET, IPPROTO_IPIP, IPIPCTL_STATS }; ipip_stats() local 1155 int mib[] = { CTL_NET, PF_INET, IPPROTO_CARP, CARPCTL_STATS }; carp_stats() local 1197 int mib[] = { CTL_NET, PF_INET, IPPROTO_PFSYNC, PFSYNCCTL_STATS }; pfsync_stats() local 1240 int mib[] = { CTL_NET, PF_PFLOW, NET_PFLOW_STATS }; pflow_stats() local 1271 int mib[] = { CTL_NET, PF_INET, IPPROTO_IPCOMP, IPCOMPCTL_STATS }; ipcomp_stats() local [all...] |
H A D | inet6.c | 333 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_STATS }; in ip6_stats() local 756 int mib[] = { CTL_NET, PF_INET6, IPPROTO_ICMPV6, ICMPV6CTL_STATS }; in icmp6_stats() local 835 int mib[] = { CTL_NET, PF_INET6, IPPROTO_RAW, RIPV6CTL_STATS }; in rip6_stats() local 874 int mib[] = { CTL_NET, PF_INET6, IPPROTO_DIVERT, DIVERT6CTL_STATS }; in div6_stats() local
|
H A D | mroute.c | 71 int mib[] = { CTL_NET, PF_INET, IPPROTO_IP, IPCTL_MRTPROTO }; in mroutepr() local 163 int mib[] = { CTL_NET, PF_INET, IPPROTO_IP, IPCTL_MRTPROTO }; in mrt_stats() local
|
H A D | mroute6.c | 95 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_MRTPROTO }; in mroute6pr() local 194 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_MRTPROTO }; in mrt6_stats() local
|
/openbsd-src/gnu/llvm/lldb/source/Host/openbsd/ |
H A D | Host.cpp | 54 int mib[4] = {CTL_KERN, KERN_PROC_ARGS, pid, KERN_PROC_ARGV}; in GetOpenBSDProcessArgs() local 122 int mib[6] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, in GetOpenBSDProcessUserAndGroup() local 149 int mib[6] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0, sizeof(struct kinfo_proc), 0}; in FindProcessesImpl() local
|
/openbsd-src/usr.bin/vmstat/ |
H A D | vmstat.c | 324 int mib[2]; in dovmstat() local 439 int mib[2]; in dotimes() local 485 int mib[2]; in dosum() local 583 int mib[2]; in doforkst() local 654 int nintr, mib[4], i; in dointr() local 736 int i, j, len, size, first, mib[4]; in domem() local 969 int mib[4], npools, i; in dopool_sysctl() local
|
/openbsd-src/gnu/llvm/lldb/source/Host/freebsd/ |
H A D | Host.cpp | 55 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_ARGS, pid}; in GetFreeBSDProcessArgs() local 121 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid}; in GetFreeBSDProcessUserAndGroup() local 161 int mib[3] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL}; in FindProcessesImpl() local
|
/openbsd-src/usr.bin/systat/ |
H A D | pool.c | 305 int mib[] = { CTL_KERN, KERN_POOL, KERN_POOL_POOL, 0 }; in read_pool() local 768 int mib[] = { CTL_KERN, KERN_POOL, KERN_POOL_NPOOLS }; in pool_get_npools() local 776 int mib[] = { CTL_KERN, KERN_POOL, KERN_POOL_CACHE, pool }; in pool_get_cache() local 786 int mib[] = { CTL_KERN, KERN_POOL, KERN_POOL_CACHE_CPUS, pool }; in pool_get_cache_cpus() local 795 int mib[] = { CTL_KERN, KERN_POOL, KERN_POOL_NAME, pool }; in pool_get_name() local 803 int mib[] = { CTL_HW, HW_NCPUFOUND }; in hw_ncpusfound() local 809 sysctl_rdint(const int *mib, unsigned int nmib) in sysctl_rdint()
|
/openbsd-src/libexec/snmpd/snmpd_metrics/ |
H A D | timer.c | 58 int mib[3] = { CTL_KERN, KERN_CPTIME2, 0 }, n; in timer_cpu() local 83 int mib[] = { CTL_HW, HW_NCPU }, i; in timer_init() local
|
/openbsd-src/distrib/special/sysctl/ |
H A D | sysctl.c | 42 int mib[3]; member 123 int mib[4] = {CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_SOIIKEY}; in set_soii_key() local
|
/openbsd-src/regress/sys/netinet6/mcast6/ |
H A D | mc6route.c | 100 int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_MRTMIF }; in main() local 265 get_sysctl(const int *mib, u_int mcnt, char **buf) in get_sysctl()
|
/openbsd-src/regress/sys/netinet/mcast/ |
H A D | mcroute.c | 99 int mib[] = { CTL_NET, PF_INET, IPPROTO_IP, IPCTL_MRTVIF }; in main() local 262 get_sysctl(const int *mib, u_int mcnt, char **buf) in get_sysctl()
|
/openbsd-src/usr.bin/nfsstat/ |
H A D | nfsstat.c | 130 int mib[4]; in main() local 174 int mib[3]; in getnfsstats() local
|
/openbsd-src/usr.sbin/sensorsd/ |
H A D | sensorsd.c | 193 int mib[3], dev, sensor_cnt = 0; in create() local 222 int mib[5], numt; in create_sdlim() local 276 int mib[3]; in check() local 352 int mib[5]; in check_sdlim() local
|
/openbsd-src/usr.bin/top/ |
H A D | machine.c | 148 int mib[] = { CTL_KERN, KERN_FSCALE }; in getfscale() local 160 int mib[] = { CTL_HW, HW_NCPU }; in getncpu() local 174 int mib[] = { CTL_HW, HW_NCPUONLINE }; in getncpuonline() local 317 int mib[6] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0, in getprocs() local 358 int mib[4]; in get_proc_args() local
|
/openbsd-src/lib/libc/compat-43/ |
H A D | sethostid.c | 38 const int mib[2] = { CTL_KERN, KERN_HOSTID }; in sethostid() local
|
H A D | gethostid.c | 38 const int mib[2] = { CTL_KERN, KERN_HOSTID }; in gethostid() local
|
/openbsd-src/lib/libc/gen/ |
H A D | sethostname.c | 38 const int mib[2] = { CTL_KERN, KERN_HOSTNAME }; in sethostname() local
|
H A D | setdomainname.c | 38 const int mib[2] = { CTL_KERN, KERN_DOMAINNAME }; in setdomainname() local
|
H A D | getpagesize.c | 39 const int mib[2] = { CTL_HW, HW_PAGESIZE }; in getpagesize() local
|
H A D | gethostname.c | 38 const int mib[2] = { CTL_KERN, KERN_HOSTNAME }; in gethostname() local
|
H A D | getdomainname.c | 38 const int mib[2] = { CTL_KERN, KERN_DOMAINNAME }; in getdomainname() local
|
/openbsd-src/lib/libutil/ |
H A D | getrawpartition.c | 42 const int mib[2] = { CTL_KERN, KERN_RAWPARTITION }; in getrawpartition() local
|