Searched refs:sysctl (Results 201 - 225 of 2117) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/binutils/libiberty/
H A Dphysmem.c52 # 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 Dgetifmaddrs.c34 #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 Dmiscellaneous.c29 #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 Dt_opencrypto.sh28 # 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 Damd64fbsd-nat.c31 #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 Dhyperv_vfup26 vf=`sysctl -n dev.hn.$hn_unit.vf`
/freebsd-12-stable/sys/dev/wtap/
H A Dif_wtapvar.h42 #include <sys/sysctl.h>
57 #include <sys/sysctl.h>
/freebsd-12-stable/tests/sys/cddl/zfs/tests/link_count/
H A Dlink_count_001.ksh63 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 Dfrag6_05.sh50 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 Dci-qemu-test.sh45 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 DMakefile.base7 CRUNCH_PROGS_sbin+= dmesg sysctl init reboot
/freebsd-12-stable/libexec/rc/rc.d/
H A Dipfw135 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 Dupdate8 dev=`sysctl -n machdep.guessed_bootdev`
/freebsd-12-stable/release/picobsd/tinyware/vm/
H A Dvm.c31 #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 Dk_helper2.c35 #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 Dk_uvm.c35 #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 Dt_modautoload.c7 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_sigcli.c4 #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 Dt_p2kifs.c32 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/ofed/libibverbs/
H A Dsysfs.c42 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Dfile.c36 #include <sys/sysctl.h>
H A Dprint.c35 #include <sys/sysctl.h>
/freebsd-12-stable/contrib/ipfilter/
H A Dmlfk_rule.c18 #include <sys/sysctl.h>
/freebsd-12-stable/sys/crypto/ccp/
H A Dccp_lsb.c35 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/
H A Dkstat.h32 #include <sys/sysctl.h>

Completed in 426 milliseconds

1234567891011>>