Searched refs:sysctl (Results 1 - 25 of 1857) sorted by relevance

1234567891011>>

/freebsd-10-stable/tools/regression/redzone9/
H A Dtest.sh5 sysctl debug.redzone.malloc_underflow=1
6 sysctl debug.redzone.malloc_overflow=1
7 sysctl debug.redzone.realloc_smaller_underflow=1
8 sysctl debug.redzone.realloc_smaller_overflow=1
9 sysctl debug.redzone.realloc_bigger_underflow=1
10 sysctl debug.redzone.realloc_bigger_overflow=1
/freebsd-10-stable/sbin/sysctl/
H A DMakefile4 PROG= sysctl
6 MAN= sysctl.8
/freebsd-10-stable/share/examples/witness/
H A Dlockgraphs.sh10 sysctl debug.witness.graphs | awk '
/freebsd-10-stable/tools/tools/mtxstat/
H A Dmtxratio.sh2 sysctl debug.mutex.prof.stats | awk '$1 ~ /[0-9]+/ { if ($3 != 0) { hld_prc = $5 / $3 * 100; lck_prc = $6 / $3 * 100 } else { hld_prc = 0; lck_prc = 0 } print $1 " " $2 " " $3 " " $4 " " $5 " " hld_prc " " $6 " " lck_prc " " substr($0, index($0, $7)); next } { print }'
/freebsd-10-stable/tools/tools/sysdoc/
H A DMakefile3 sysctl.5:
6 MAN= sysctl.5
8 CLEANFILES= tunables.TODO markup.file sysctl.5 _names
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_sysctl.c42 #include <sys/sysctl.h>
79 LIN_SDT_PROBE_DEFINE2(sysctl, handle_string, entry, "struct l___sysctl_args *",
81 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, copyout_error, "int");
82 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, return, "int");
83 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, entry, "struct l___sysctl_args *",
85 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, copyin_error, "int");
86 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_length, "int", "int");
87 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
88 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
95 LIN_SDT_PROBE2(sysctl, handle_strin
[all...]
/freebsd-10-stable/tools/regression/tmpfs/
H A Dt_vnode_leak43 oldvnodes=$(sysctl kern.maxvnodes | awk '{ print $2; }')
44 sysctl -w kern.maxvnodes=2000 >/dev/null || die
53 sysctl -w kern.maxvnodes=${oldvnodes} >/dev/null || die
/freebsd-10-stable/etc/rc.d/
H A Dnfsd25 # Load the module now, so that the vfs.nfsrv sysctl
31 sysctl vfs.nfsrv.nfs_privport=1 > /dev/null
33 sysctl vfs.nfsrv.nfs_privport=0 > /dev/null
38 # Load the modules now, so that the vfs.nfsd sysctl
44 sysctl vfs.nfsd.nfs_privport=1 > /dev/null
46 sysctl vfs.nfsd.nfs_privport=0 > /dev/null
55 sysctl vfs.nfsd.server_max_nfsvers=4 > /dev/null
58 sysctl vfs.nfsd.server_max_nfsvers=3 > /dev/null
H A Dpowerd20 sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
H A Dsysctl6 # PROVIDE: sysctl
10 name="sysctl"
11 command="/sbin/sysctl"
29 for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do
/freebsd-10-stable/contrib/netbsd-tests/fs/
H A Dh_funcs.subr47 atf_require_prog sysctl
57 autoload=$(sysctl -n kern.module.autoload)
60 set -- $(sysctl -n vfs.generic.fstypes)
/freebsd-10-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_vnode_leak.sh41 sysctl -n kern.maxvnodes > oldvnodes
44 sysctl kern.maxvnodes | awk '{ print $3; }' >oldvnodes
48 atf_check -s eq:0 -o ignore -e empty sysctl -w kern.maxvnodes=2000
60 sysctl -w kern.maxvnodes=${oldvnodes}
/freebsd-10-stable/lib/libc/compat-43/
H A Dgethostid.c37 #include <sys/sysctl.h>
51 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dsethostid.c37 #include <sys/sysctl.h>
48 sysctl(mib, 2, NULL, NULL, &hostid, sizeof hostid);
/freebsd-10-stable/lib/libc/gen/
H A Dgetbootfile.c37 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dsetdomainname.c37 #include <sys/sysctl.h>
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dsethostname.c37 #include <sys/sysctl.h>
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dsysctlnametomib.c31 #include <sys/sysctl.h>
52 error = sysctl(oid, 2, mibp, sizep, name, strlen(name));
/freebsd-10-stable/usr.bin/pagesize/
H A Dpagesize.sh36 exec sysctl -n hw.pagesize
/freebsd-10-stable/usr.sbin/zzz/
H A Dzzz.sh19 if sysctl $ACPI_SUSPEND_STATE >/dev/null 2>&1; then
21 SUSPEND_STATE=`sysctl -n $ACPI_SUSPEND_STATE `
24 SUPPORTED_STATES=`sysctl -n $ACPI_SUPPORTED_STATES `
36 elif sysctl $APM_SUSPEND_DELAY >/dev/null 2>&1; then
/freebsd-10-stable/contrib/hyperv/tools/scripts/
H A Dhyperv_vfattach7 sysctl -n hw.hn.vf_transparent > /dev/null 2>&1
13 vf_transparent=`sysctl -n hw.hn.vf_transparent`
44 sysctl -n hw.hn.vflist > /dev/null 2>&1
50 vf_list=`sysctl -n hw.hn.vflist`
/freebsd-10-stable/lib/libgeom/
H A Dgeom_getxml.c33 #include <sys/sysctl.h>
49 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0)
55 if (sysctl(mib, sizep, p, &l, NULL, 0) != 0) {
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/arch/powerpc/
H A Dexec_prot_support.c37 #include <sys/sysctl.h>
/freebsd-10-stable/contrib/ntp/scripts/deprecated/
H A Dfreq_adj.in10 #chop($ncpu = `sysctl -n hw.ncpu`);
16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`);
76 $sysctl = "machdep.".$timer."_freq";
78 chop($mach_freq = `sysctl -n $sysctl`);
80 print "$sysctl is <$mach_freq>\n";
85 print "$sysctl $mach_freq -> $n_mach_freq\n";
87 print "i8254: ".`sysctl -w $sysctl=$n_mach_freq`;
/freebsd-10-stable/contrib/gdb/gdb/
H A Di386obsd-nat.c25 #include <sys/sysctl.h>
35 /* OpenBSD provides a vm.psstrings sysctl that we can use to locate
53 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)

Completed in 311 milliseconds

1234567891011>>