Searched refs:sysctl (Results 101 - 125 of 1325) sorted by relevance

1234567891011>>

/netbsd-current/lib/libc/gen/
H A Dasysctl.c36 #include <sys/sysctl.h>
53 if (sysctl(oids, (u_int)oidlen, data, len, NULL, 0) == 0) {
/netbsd-current/sbin/route/
H A Dprog_ops.h33 #include <sys/sysctl.h>
101 #define prog_sysctl sysctl
/netbsd-current/distrib/utils/embedded/files/
H A Dresize_gpt19 ROOT_DEVICE=$(sysctl -n kern.root_device)
/netbsd-current/external/bsd/tmux/dist/
H A Dosdep-darwin.c20 #include <sys/sysctl.h>
63 if (sysctl(mib, 4, &kp, &size, NULL, 0) == -1)
H A Dosdep-dragonfly.c21 #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 Dt_ldp_regen.sh66 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 Drpi.conf36 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 Darmv7.conf96 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 Di386-obsd-nat.c25 #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 Di386-obsd-nat.c25 #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 Dt_ping_opts.sh86 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 Dt_forwarding.sh153 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 Dipcrm.c47 #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 Dnetbsd.c37 #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 Dwhereis.c47 #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 D44arp.c9 #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 Ddrvstats.c37 #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 Dt_magic_symlinks.sh34 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 Dt_ipsec_tunnel.sh85 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 Dmd.c41 #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 Dperusertmp33 /sbin/sysctl -qw vfs.generic.magiclinks=1
/netbsd-current/external/gpl2/lvm2/dist/lib/netbsd/
H A Ddev.c10 #include <sys/sysctl.h>
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dopen_limit.c40 #include <sys/sysctl.h>
/netbsd-current/regress/sys/arch/m68k/060sp/
H A DMakefile26 @/sbin/sysctl hw.model | grep -v -q 68060 || \
/netbsd-current/usr.sbin/ndp/
H A Dprog_ops.h70 #define prog_sysctl sysctl

Completed in 168 milliseconds

1234567891011>>