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

1234567891011>>

/freebsd-9.3-release/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-9.3-release/sbin/sysctl/
H A DMakefile4 PROG= sysctl
6 MAN= sysctl.8
/freebsd-9.3-release/share/examples/witness/
H A Dlockgraphs.sh10 sysctl debug.witness.graphs | awk '
/freebsd-9.3-release/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-9.3-release/tools/tools/sysdoc/
H A DMakefile3 sysctl.5:
6 MAN= sysctl.5
8 CLEANFILES= tunables.TODO markup.file sysctl.5 _names
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_sysctl.c42 #include <sys/sysctl.h>
78 LIN_SDT_PROBE_DEFINE2(sysctl, handle_string, entry, "struct l___sysctl_args *",
80 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, copyout_error, "int");
81 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, return, "int");
82 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, entry, "struct l___sysctl_args *",
84 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, copyin_error, "int");
85 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_length, "int", "int");
86 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
87 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
94 LIN_SDT_PROBE2(sysctl, handle_strin
[all...]
/freebsd-9.3-release/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
50 sysctl vfs.nfsd.server_max_nfsvers=4 > /dev/null
54 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"
18 # Read in a file containing sysctl settings and set things accordingly.
37 if ! sysctl "${var}" >/dev/null 2>&1; then
43 warn "sysctl ${mib} does not exist."
54 parse_file /etc/sysctl.conf $1
55 parse_file /etc/sysctl.conf.local $1
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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));
H A Dgetdomainname.c37 #include <sys/sysctl.h>
52 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dgethostname.c37 #include <sys/sysctl.h>
51 if (sysctl(mib, 2, name, &namelen, NULL, 0) == -1) {
H A Dsysctlbyname.c15 #include <sys/sysctl.h>
29 error = sysctl(real_oid, oidlen, oldp, oldlenp, newp, newlen);
/freebsd-9.3-release/usr.bin/pagesize/
H A Dpagesize.sh36 exec sysctl -n hw.pagesize
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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)
/freebsd-9.3-release/tools/regression/sockets/so_setfib/
H A Dso_setfib.t37 FIBS=`sysctl -n net.fibs`
38 INET=`sysctl -n kern.features.inet`
39 INET6=`sysctl -n kern.features.inet6`

Completed in 110 milliseconds

1234567891011>>