Searched refs:sysctl (Results 251 - 275 of 2117) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/tools/regression/priv/
H A Dpriv_sysctl_write.c43 #include <sys/sysctl.h>
/freebsd-12-stable/tools/regression/security/cap_test/
H A Dcap_test.c55 TEST_INIT(sysctl),
/freebsd-12-stable/lib/libkiconv/
H A Dkiconv_sysctl.c33 #include <sys/sysctl.h>
/freebsd-12-stable/lib/libkvm/tests/
H A Dkvm_read_test.c33 #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 Dkinfo_getvmobject.c32 #include <sys/sysctl.h>
/freebsd-12-stable/sys/arm/arm/
H A Ddump_machdep.c37 #include <sys/sysctl.h>
/freebsd-12-stable/crypto/openssh/
H A Dfreebsd-namespace.sh36 ncpu=$(sysctl -n hw.ncpu)
/freebsd-12-stable/sbin/kldconfig/
H A Dkldconfig.c35 #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 Dkernel.c6 #include <sys/sysctl.h>
/freebsd-12-stable/usr.bin/procstat/
H A Dprocstat_args.c34 #include <sys/sysctl.h>
H A Dprocstat_cred.c34 #include <sys/sysctl.h>
H A Dprocstat_penv.c33 #include <sys/sysctl.h>
/freebsd-12-stable/usr.sbin/autofs/autofs/
H A Dspecial_media121 pairs=$(sysctl kern.geom.confdot | sed -n 's/^.*hexagon,label="\([^\]*\)\\n\([^\]*\).*/\1 \2/p')
/freebsd-12-stable/usr.sbin/bsdinstall/partedit/
H A Dpartedit_x86.c32 #include <sys/sysctl.h>
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_pf.c35 #include <sys/sysctl.h>
/freebsd-12-stable/usr.sbin/pmc/
H A Dpmc.c33 #include <sys/sysctl.h>
/freebsd-12-stable/usr.sbin/setfib/
H A Dsetfib.c46 #include <sys/sysctl.h>
/freebsd-12-stable/tools/tools/crypto/
H A Dsafestats.c30 #include <sys/sysctl.h>
H A Dubsecstats.c30 #include <sys/sysctl.h>
/freebsd-12-stable/tools/tools/nanobsd/pcengines/
H A Dtest.sh36 sysctl net.link.tap.up_on_open=1
/freebsd-12-stable/release/picobsd/tinyware/ns/
H A Dns.c31 * 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 Dpowerd.c35 #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 Dgetentropy_osx.c29 #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 Ddevinfo.c57 * 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 Dthread.cpp22 # include <sys/sysctl.h>
87 sysctl(mib, 2, &n, &s, 0, 0);

Completed in 405 milliseconds

<<11121314151617181920>>