Searched refs:sysctl (Results 451 - 475 of 2117) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/usr.sbin/bluetooth/hccontrol/
H A Dhccontrol.c37 #include <sys/sysctl.h>
161 if (sysctl(mib, sizeof(mib)/sizeof(mib[0]),
163 err(6, "Could not sysctl()");
/freebsd-12-stable/usr.bin/limits/
H A Dlimits.c32 #include <sys/sysctl.h>
732 if (sysctl(mib, 4, path, &len, NULL, 0) != -1) {
740 if (sysctl(mib, 4, &kp, &len, NULL, 0) != -1)
759 error = sysctl(name, 5, rlp, &len, NULL, 0);
761 err(EXIT_FAILURE, "sysctl: kern.proc.rlimit: %d", pid);
763 errx(EXIT_FAILURE, "sysctl() returns wrong size");
777 error = sysctl(name, 5, NULL, 0, rlp, sizeof(*rlp));
779 err(EXIT_FAILURE, "sysctl: kern.proc.rlimit: %d", pid);
/freebsd-12-stable/usr.sbin/rtadvd/
H A Dif.c38 #include <sys/sysctl.h>
157 if (sysctl(mib, 6, NULL, &len, NULL, 0) < 0)
433 * the two sysctl calls. This should rarely happen.
435 * memory at the first sysctl, the possibility of failure on
436 * the second sysctl call is a bit higher.
439 if (sysctl(mib, nitems(mib), NULL, &len, NULL, 0) < 0) {
441 "<%s> sysctl: NET_RT_IFLIST size get failed",
449 if (sysctl(mib, nitems(mib), msg, &len, NULL, 0) < 0) {
453 "<%s> sysctl: NET_RT_IFLIST get failed",
648 if (sysctl(mi
[all...]
/freebsd-12-stable/lib/libjail/
H A Djail.c37 #include <sys/sysctl.h>
229 if (sysctl(mib1, mlen1 + 2, mib2, &mlen2, NULL, 0) < 0) {
235 "sysctl(0.2): %s", strerror(errno));
247 if (sysctl(mib1, mlen1 + 2, buf, &buflen, NULL, 0) < 0) {
249 "sysctl(0.1): %s", strerror(errno));
889 /* Find the sysctl that describes the parameter. */
894 if (sysctl(mib, 2, mib + 2, &miblen, desc.s, strlen(desc.s)) < 0) {
897 "sysctl(0.3.%s): %s", name, strerror(errno));
900 if (kldload_param(name) >= 0 && sysctl(mib, 2, mib + 2, &miblen,
920 if (sysctl(mi
[all...]
/freebsd-12-stable/usr.sbin/ifmcstat/
H A Difmcstat.c40 #include <sys/sysctl.h>
269 * or force KVM backend to be disabled, try the sysctl backend.
791 * Retrieve per-group source filter mode and lists via sysctl.
821 if (sysctl(mib, mibsize, NULL, &needed, NULL, 0) == -1) {
822 perror("sysctl net.inet.ip.mcast.filters");
829 if (sysctl(mib, mibsize, buf, &needed, NULL, 0) == -1) {
831 perror("sysctl");
841 perror("sysctl");
882 * Retrieve MLD per-group source filter mode and lists via sysctl.
885 * 32-bit pieces for marshaling to sysctl
[all...]
/freebsd-12-stable/usr.sbin/ndp/
H A Dndp.c83 #include <sys/sysctl.h>
593 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0)
594 err(1, "sysctl(PF_ROUTE estimate)");
598 if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0)
599 err(1, "sysctl(PF_ROUTE, NET_RT_FLAGS)");
1069 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), NULL, &l, NULL, 0) < 0) {
1070 err(1, "sysctl(ICMPV6CTL_ND6_DRLIST)");
1080 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), buf, &l, NULL, 0) < 0) {
1081 err(1, "sysctl(ICMPV6CTL_ND6_DRLIST)");
1125 if (sysctl(mi
[all...]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mmap.c65 #include <sys/sysctl.h>
180 ATF_REQUIRE(sysctl(mib, miblen, NULL, &len, NULL, 0) == 0);
183 ATF_REQUIRE(sysctl(mib, miblen, drives, &len, NULL, 0) == 0);
H A Dt_clock_gettime.c64 #include <sys/sysctl.h>
H A Dt_minherit.c36 #include <sys/sysctl.h>
/freebsd-12-stable/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c35 #include <sys/sysctl.h>
208 error = sysctl(mib, miblen, NULL, &len, NULL, 0);
219 error = sysctl(mib, miblen, buf, &len, NULL, 0);
/freebsd-12-stable/usr.bin/systat/
H A Difstat.c36 #include <sys/sysctl.h>
84 u_int if_row; /* Index into ifmib sysctl */
470 if (sysctl(name, 5, (void *)&data, (size_t *)&datalen, (void *)NULL,
472 IFSTAT_ERR(1, "sysctl error");
490 ret = sysctl(name, 6, (void *)data, (size_t *)&datalen, (void *)NULL,
493 IFSTAT_ERR(2, "sysctl error getting interface data");
/freebsd-12-stable/contrib/netbsd-tests/kernel/
H A Dt_ptrace.c36 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dh_execthr.c31 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/netbsd-tests/net/if_loop/
H A Dt_pr.c37 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/netbsd-tests/net/net/
H A Dt_ipv6_lifetime.sh100 if sysctl machdep.cpu_brand 2>/dev/null | grep QEMU >/dev/null 2>&1
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_stresscli.c5 #include <sys/sysctl.h>
91 err(1, "sysctl");
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/
H A Dt_modcmd.c32 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/netbsd-tests/sbin/resize_ffs/
H A Dcommon.sh12 if [ $(sysctl -n hw.byteorder) = "1234" ]; then
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Dnls.c39 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/bsnmp/snmp_mibII/
H A DmibII.h34 #include <sys/sysctl.h>
/freebsd-12-stable/sys/contrib/rdma/krping/
H A Dkrping_dev.c26 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cam/ctl/
H A Dctl_scsi_all.c43 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cam/nvme/
H A Dnvme_all.c40 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cam/scsi/
H A Dscsi_enc_internal.h39 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_sunddi.c37 #include <sys/sysctl.h>

Completed in 157 milliseconds

<<11121314151617181920>>