/freebsd-12-stable/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 37 #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 D | limits.c | 32 #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 D | if.c | 38 #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 D | jail.c | 37 #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 D | ifmcstat.c | 40 #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 D | ndp.c | 83 #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 D | t_mmap.c | 65 #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 D | t_clock_gettime.c | 64 #include <sys/sysctl.h>
|
H A D | t_minherit.c | 36 #include <sys/sysctl.h>
|
/freebsd-12-stable/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 35 #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 D | ifstat.c | 36 #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 D | t_ptrace.c | 36 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/lib/librumpclient/ |
H A D | h_execthr.c | 31 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/net/if_loop/ |
H A D | t_pr.c | 37 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/net/net/ |
H A D | t_ipv6_lifetime.sh | 100 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 D | h_stresscli.c | 5 #include <sys/sysctl.h> 91 err(1, "sysctl");
|
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/ |
H A D | t_modcmd.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/sbin/resize_ffs/ |
H A D | common.sh | 12 if [ $(sysctl -n hw.byteorder) = "1234" ]; then
|
/freebsd-12-stable/contrib/smbfs/lib/smb/ |
H A D | nls.c | 39 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.h | 34 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/contrib/rdma/krping/ |
H A D | krping_dev.c | 26 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/cam/ctl/ |
H A D | ctl_scsi_all.c | 43 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/cam/nvme/ |
H A D | nvme_all.c | 40 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/cam/scsi/ |
H A D | scsi_enc_internal.h | 39 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_sunddi.c | 37 #include <sys/sysctl.h>
|