/netbsd-current/lib/libc/gen/ |
H A D | asysctl.c | 36 #include <sys/sysctl.h> 53 if (sysctl(oids, (u_int)oidlen, data, len, NULL, 0) == 0) {
|
/netbsd-current/sbin/route/ |
H A D | prog_ops.h | 33 #include <sys/sysctl.h> 101 #define prog_sysctl sysctl
|
/netbsd-current/distrib/utils/embedded/files/ |
H A D | resize_gpt | 19 ROOT_DEVICE=$(sysctl -n kern.root_device)
|
/netbsd-current/external/bsd/tmux/dist/ |
H A D | osdep-darwin.c | 20 #include <sys/sysctl.h> 63 if (sysctl(mib, 4, &kp, &size, NULL, 0) == -1)
|
H A D | osdep-dragonfly.c | 21 #include <sys/sysctl.h> 86 if (sysctl(mib, nitems(mib), NULL, &len, NULL, 0) == -1) 94 if (sysctl(mib, nitems(mib), buf, &len, NULL, 0) == -1) {
|
/netbsd-current/tests/net/mpls/ |
H A D | t_ldp_regen.sh | 66 export RUMPHIJACK=path=/rump,socket=all,sysctl=yes 75 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0 89 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 90 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1 107 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1 108 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0 122 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
|
/netbsd-current/distrib/utils/embedded/conf/ |
H A D | rpi.conf | 36 if /sbin/sysctl -q machdep.cpu.frequency.max; then 37 cpufreq_max=\$(/sbin/sysctl -n machdep.cpu.frequency.max) 38 cpufreq_cur=\$(/sbin/sysctl -n machdep.cpu.frequency.current) 40 /sbin/sysctl -w machdep.cpu.frequency.target=\$cpufreq_max
|
H A D | armv7.conf | 96 if /sbin/sysctl -q machdep.cpu.frequency.max; then 97 cpufreq_max=\$(/sbin/sysctl -n machdep.cpu.frequency.max) 98 cpufreq_cur=\$(/sbin/sysctl -n machdep.cpu.frequency.current) 100 /sbin/sysctl -w machdep.cpu.frequency.target=\$cpufreq_max
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | i386-obsd-nat.c | 25 #include <sys/sysctl.h> 102 /* OpenBSD provides a vm.psstrings sysctl that we can use to locate 120 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | i386-obsd-nat.c | 25 #include <sys/sysctl.h> 102 /* OpenBSD provides a vm.psstrings sysctl that we can use to locate 120 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
|
/netbsd-current/tests/net/net/ |
H A D | t_ping_opts.sh | 86 rump.sysctl net.inet.ip.forwarding 94 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.forwarding=1 233 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 235 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 237 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 238 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwsrcrt=1 323 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 325 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 327 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.allowsrcrt=1 328 atf_check -s exit:0 rump.sysctl [all...] |
H A D | t_forwarding.sh | 153 rump.sysctl net.inet6.ip6.forwarding 155 rump.sysctl net.inet.ip.forwarding 237 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.forwarding=1 243 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet6.ip6.forwarding=1 249 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.directed-broadcast=1 255 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.icmp.bmcastecho=1 261 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.forwarding=0 267 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet6.ip6.forwarding=0 273 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.directed-broadcast=0 279 atf_check -s exit:0 -o ignore rump.sysctl [all...] |
/netbsd-current/usr.bin/ipcrm/ |
H A D | ipcrm.c | 47 #include <sys/sysctl.h> 121 if (sysctl(mib, 4, NULL, &len, NULL, 0) == -1) 122 err(1, "sysctl(KERN_SYSVIPC_MSG_INFO)"); 126 if (sysctl(mib, 4, msgsi, &len, NULL, 0) == -1) { 128 err(1, "sysctl(KERN_SYSVIPC_MSG_INFO)"); 154 if (sysctl(mib, 4, NULL, &len, NULL, 0) == -1) 155 err(1, "sysctl(KERN_SYSVIPC_SHM_INFO)"); 159 if (sysctl(mib, 4, shmsi, &len, NULL, 0) == -1) { 161 err(1, "sysctl(KERN_SYSVIPC_SHM_INFO)"); 188 if (sysctl(mi [all...] |
/netbsd-current/external/mit/libuv/dist/src/unix/ |
H A D | netbsd.c | 37 #include <sys/sysctl.h> 58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; 84 if (sysctl(mib, 4, int_buf, &int_size, NULL, 0)) 105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) 122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) 170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) 248 if (sysctl(name, ARRAY_SIZE(name), p, &count, NULL, 0) == -1)
|
/netbsd-current/usr.bin/whereis/ |
H A D | whereis.c | 47 #include <sys/sysctl.h> 103 if (sysctl(mib, 2, NULL, &len, NULL, 0) == -1) 104 err(1, "sysctl: user.cs_path"); 106 errx(1, "sysctl: user.cs_path (zero length)"); 109 if (sysctl(mib, 2, std, &len, NULL, 0) == -1) 110 err(1, "sysctl: user.cs_path");
|
/netbsd-current/external/bsd/ipf/dist/ipsend/ |
H A D | 44arp.c | 9 #include <sys/sysctl.h> 93 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) 95 perror("route-sysctl-estimate"); 103 if (sysctl(mib, 6, buf, &needed, NULL, 0) == -1)
|
/netbsd-current/usr.bin/vmstat/ |
H A D | drvstats.c | 37 #include <sys/sysctl.h> 55 /* sysctl hw.drivestats buffer. */ 188 if (sysctl(mib, 3, drives, &size, NULL, 0) < 0) 189 err(1, "sysctl hw.iostats failed"); 234 if (sysctl(mib, 3, &cur.tk_nin, &size, NULL, 0) < 0) 239 if (sysctl(mib, 3, &cur.tk_nout, &size, NULL, 0) < 0) 246 if (sysctl(mib, 2, cur.cp_time, &size, NULL, 0) < 0) 266 if (sysctl(mib, 3, &cur.tk_nin, &size, NULL, 0) < 0) 271 if (sysctl(mib, 3, &cur.tk_nout, &size, NULL, 0) < 0) 289 if (sysctl(mi [all...] |
/netbsd-current/tests/kernel/ |
H A D | t_magic_symlinks.sh | 34 enabled=$(sysctl vfs.generic.magiclinks | awk '{print $3}') 37 sysctl -w vfs.generic.magiclinks=1 >/dev/null 2>&1 50 sysctl -w vfs.generic.magiclinks=$enabled >/dev/null 2>&1
|
/netbsd-current/tests/net/ipsec/ |
H A D | t_ipsec_tunnel.sh | 85 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.dad_count=0 91 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.dad_count=0 94 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=1 99 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.dad_count=0 102 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=1 107 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.dad_count=0 185 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.dad_count=0 191 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.dad_count=0 194 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=1 199 atf_check -s exit:0 rump.sysctl [all...] |
/netbsd-current/usr.sbin/sysinst/arch/atari/ |
H A D | md.c | 41 #include <sys/sysctl.h> 144 /* check machine type via sysctl to select appropriate bootloaders */ 146 sysctl(mib, 2, NULL, &len, NULL, 0); 148 sysctl(mib, 2, cpu_model, &len, NULL, 0);
|
/netbsd-current/etc/rc.d/ |
H A D | perusertmp | 33 /sbin/sysctl -qw vfs.generic.magiclinks=1
|
/netbsd-current/external/gpl2/lvm2/dist/lib/netbsd/ |
H A D | dev.c | 10 #include <sys/sysctl.h>
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | open_limit.c | 40 #include <sys/sysctl.h>
|
/netbsd-current/regress/sys/arch/m68k/060sp/ |
H A D | Makefile | 26 @/sbin/sysctl hw.model | grep -v -q 68060 || \
|
/netbsd-current/usr.sbin/ndp/ |
H A D | prog_ops.h | 70 #define prog_sysctl sysctl
|