/freebsd-12-stable/contrib/binutils/libiberty/ |
H A D | physmem.c | 52 # include <sys/sysctl.h> 141 if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 247 if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0
|
/freebsd-12-stable/lib/libc/net/ |
H A D | getifmaddrs.c | 34 #include <sys/sysctl.h> 79 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) 83 if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0) {
|
/freebsd-12-stable/tests/sys/audit/ |
H A D | miscellaneous.c | 29 #include <sys/sysctl.h> 170 "sysctl(3) call"); 184 snprintf(miscreg, sizeof(miscreg), "sysctl.*%d.*return,success", pid); 187 ATF_REQUIRE_EQ(0, sysctl(mib, 2, &maxproc, &proclen, NULL, 0)); 201 "sysctl(3) call"); 207 snprintf(miscreg, sizeof(miscreg), "sysctl.*%d.*return,failure", pid); 211 ATF_REQUIRE_EQ(-1, sysctl(NULL, 0, NULL, NULL, NULL, 0));
|
/freebsd-12-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | t_opencrypto.sh | 28 # Start a rumpserver, load required modules, and set requires sysctl vars 37 rump.sysctl -w kern.cryptodevallowsoft=-1 && \ 48 atf_set require.progs rump_server rump.sysctl rump.halt
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | amd64fbsd-nat.c | 31 #include <sys/sysctl.h> 167 system header files and sysctl(3) to get at the relevant 220 /* FreeBSD provides a kern.proc.sigtramp sysctl that we can use to 233 if (sysctl (mib, sizeof(mib) / sizeof(mib[0]), &kst, &len, NULL, 0) == 0)
|
/freebsd-12-stable/contrib/hyperv/tools/scripts/ |
H A D | hyperv_vfup | 26 vf=`sysctl -n dev.hn.$hn_unit.vf`
|
/freebsd-12-stable/sys/dev/wtap/ |
H A D | if_wtapvar.h | 42 #include <sys/sysctl.h> 57 #include <sys/sysctl.h>
|
/freebsd-12-stable/tests/sys/cddl/zfs/tests/link_count/ |
H A D | link_count_001.ksh | 63 NCPUS=`sysctl -n kern.smp.cpus` 64 #NCPUS=`sysctl -a | awk -F '"' '/cpu count="[0-9+]"/ {print $2; exit}'`
|
/freebsd-12-stable/tests/sys/netinet6/frag6/ |
H A D | frag6_05.sh | 50 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets` 55 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 62 # Check that the sysctl is set to what we expect. 64 sn=`sysctl -n net.inet6.ip6.maxfrags` 243 nf=`jexec ${jname} sysctl -n net.inet6.ip6.frag6_nfragpackets` 248 nf=`sysctl -n net.inet6.ip6.frag6_nfrags` 255 # Check that the sysctl is set to what we expect. 257 sn=`sysctl -n net.inet6.ip6.maxfrags` 424 # Save current sysctl value. 425 ov=`sysctl [all...] |
/freebsd-12-stable/tools/boot/ |
H A D | ci-qemu-test.sh | 45 bin/sh sbin/init sbin/shutdown sbin/sysctl; do 68 /sbin/sysctl vm.stats.vm.v_wire_count
|
/freebsd-12-stable/tools/bsdbox/ |
H A D | Makefile.base | 7 CRUNCH_PROGS_sbin+= dmesg sysctl init reboot
|
/freebsd-12-stable/libexec/rc/rc.d/ |
H A D | ipfw | 135 status=$(sysctl -i -n net.inet.ip.fw.enable) 138 status6=$(sysctl -i -n net.inet6.ip6.fw.enable)
|
/freebsd-12-stable/release/picobsd/mfs_tree/stand/ |
H A D | update | 8 dev=`sysctl -n machdep.guessed_bootdev`
|
/freebsd-12-stable/release/picobsd/tinyware/vm/ |
H A D | vm.c | 31 #include <sys/sysctl.h> 83 fprintf(stderr, "vm -i stats not available via sysctl\n"); 93 sysctl(mib,2,&v,&len,NULL,0);
|
/freebsd-12-stable/contrib/netbsd-tests/modules/k_helper2/ |
H A D | k_helper2.c | 35 #include <sys/sysctl.h> 46 * bools, once sysctl(8) supports CTLTYPE_BOOL nodes. */ 54 SYSCTL_SETUP(sysctl_k_helper2_setup, "sysctl k_helper subtree setup")
|
/freebsd-12-stable/contrib/netbsd-tests/modules/k_uvm/ |
H A D | k_uvm.c | 35 #include <sys/sysctl.h> 49 SYSCTL_SETUP(sysctl_k_uvm_setup, "sysctl k_uvm subtree setup")
|
/freebsd-12-stable/contrib/netbsd-tests/rump/modautoload/ |
H A D | t_modautoload.c | 7 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_sigcli.c | 4 #include <sys/sysctl.h> 28 err(1, "sighand sysctl"); 50 err(1, "sysctl"); 66 err(1, "sysctl");
|
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_p2kifs.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/ofed/libibverbs/ |
H A D | sysfs.c | 42 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/smbfs/lib/smb/ |
H A D | file.c | 36 #include <sys/sysctl.h>
|
H A D | print.c | 35 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/ipfilter/ |
H A D | mlfk_rule.c | 18 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/crypto/ccp/ |
H A D | ccp_lsb.c | 35 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kstat.h | 32 #include <sys/sysctl.h>
|