/freebsd-12-stable/tools/regression/priv/ |
H A D | priv_sysctl_write.c | 43 #include <sys/sysctl.h>
|
/freebsd-12-stable/tools/regression/security/cap_test/ |
H A D | cap_test.c | 55 TEST_INIT(sysctl),
|
/freebsd-12-stable/lib/libkiconv/ |
H A D | kiconv_sysctl.c | 33 #include <sys/sysctl.h>
|
/freebsd-12-stable/lib/libkvm/tests/ |
H A D | kvm_read_test.c | 33 #include <sys/sysctl.h> 87 ATF_REQUIRE_MSG(retcode == 0, "sysctl read failed : %d", retcode); 89 "failed: kvm_read of mp_maxcpus returned %d but sysctl maxcpus returned %d",
|
/freebsd-12-stable/lib/libutil/ |
H A D | kinfo_getvmobject.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/arm/arm/ |
H A D | dump_machdep.c | 37 #include <sys/sysctl.h>
|
/freebsd-12-stable/crypto/openssh/ |
H A D | freebsd-namespace.sh | 36 ncpu=$(sysctl -n hw.ncpu)
|
/freebsd-12-stable/sbin/kldconfig/ |
H A D | kldconfig.c | 35 #include <sys/sysctl.h> 45 /* the default sysctl name */ 55 /* the Management Information Base entries for the search path sysctl */ 58 /* the sysctl name, defaults to PATHCTL */ 60 /* the sysctl value - the current module search path */ 62 /* flag whether user actions require changing the sysctl value */ 73 /* sysctl-related functions */ 81 /* Get the MIB entry for our sysctl */ 109 if (sysctl(mib, miblen, NULL, &sz, NULL, 0) == -1) 110 err(1, "getting path: sysctl( [all...] |
/freebsd-12-stable/usr.bin/gprof/ |
H A D | kernel.c | 6 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.bin/procstat/ |
H A D | procstat_args.c | 34 #include <sys/sysctl.h>
|
H A D | procstat_cred.c | 34 #include <sys/sysctl.h>
|
H A D | procstat_penv.c | 33 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.sbin/autofs/autofs/ |
H A D | special_media | 121 pairs=$(sysctl kern.geom.confdot | sed -n 's/^.*hexagon,label="\([^\]*\)\\n\([^\]*\).*/\1 \2/p')
|
/freebsd-12-stable/usr.sbin/bsdinstall/partedit/ |
H A D | partedit_x86.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_pf.c | 35 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.sbin/pmc/ |
H A D | pmc.c | 33 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.sbin/setfib/ |
H A D | setfib.c | 46 #include <sys/sysctl.h>
|
/freebsd-12-stable/tools/tools/crypto/ |
H A D | safestats.c | 30 #include <sys/sysctl.h>
|
H A D | ubsecstats.c | 30 #include <sys/sysctl.h>
|
/freebsd-12-stable/tools/tools/nanobsd/pcengines/ |
H A D | test.sh | 36 sysctl net.link.tap.up_on_open=1
|
/freebsd-12-stable/release/picobsd/tinyware/ns/ |
H A D | ns.c | 31 * Small replacement for netstat. Uses only sysctl(3) to get the info. 36 #include <sys/sysctl.h> 272 if (sysctl(mib, 6, NULL, &rt_len, NULL, 0) == -1) { 273 perror("sysctl size"); 282 if (sysctl(mib, 6, rt_buf, &rt_len, NULL, 0) == -1) { 283 perror("sysctl get"); 296 if (sysctl(mib, 6, NULL, &if_len, NULL, 0) == -1) { 297 perror("sysctl size"); 306 if (sysctl(mib, 6, if_buf, &if_len, NULL, 0) == -1) { 307 perror("sysctl ge [all...] |
/freebsd-12-stable/usr.sbin/powerd/ |
H A D | powerd.c | 35 #include <sys/sysctl.h> 152 error = sysctl(cp_times_mib, 2, NULL, &cp_times_len, NULL, 0); 166 error = sysctl(cp_times_mib, 2, cp_times, &cp_times_len, NULL, 0); 201 if (sysctl(levels_mib, 4, NULL, &len, NULL, 0)) 205 if (sysctl(levels_mib, 4, freqstr, &len, NULL, 0)) { 259 if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) != 0) { 271 if (sysctl(freq_mib, 4, NULL, NULL, &freq, sizeof(freq))) { 310 warnx("using sysctl for AC line status"); 316 warnx("using sysctl for AC line status"); 342 warnx("lost devd connection, switching to sysctl"); [all...] |
/freebsd-12-stable/contrib/unbound/compat/ |
H A D | getentropy_osx.c | 29 #include <sys/sysctl.h> 109 * Entropy collection via /dev/urandom and sysctl have failed. 252 HX(sysctl(kmib, sizeof(kmib) / sizeof(kmib[0]), 256 HX(sysctl(hwmib, sizeof(hwmib) / sizeof(hwmib[0]), 261 HX(sysctl(tcpmib, sizeof(tcpmib) / sizeof(tcpmib[0]), 265 HX(sysctl(udpmib, sizeof(udpmib) / sizeof(udpmib[0]), 269 HX(sysctl(ipmib, sizeof(ipmib) / sizeof(ipmib[0]),
|
/freebsd-12-stable/lib/libdevinfo/ |
H A D | devinfo.c | 57 * sysctl, and must be passed in with every request. If the generation 68 #include <sys/sysctl.h> 183 * This is just the usual evil, undocumented sysctl juju. 189 error = sysctl(name2oid, 2, oid, &oidlen, name, strlen(name)); 191 warnx("can't find hw.bus.devices sysctl node"); 215 error = sysctl(oid, oidlen, &udev, &rlen, NULL, 0); 220 warn("sysctl hw.bus.devices.%d", dev_idx); 224 warnx("sysctl returned wrong data %zd bytes instead of %zd", 280 * This is just the usual evil, undocumented sysctl juju. 286 error = sysctl(name2oi [all...] |
/freebsd-12-stable/contrib/llvm-project/libcxx/src/ |
H A D | thread.cpp | 22 # include <sys/sysctl.h> 87 sysctl(mib, 2, &n, &s, 0, 0);
|