HomeSort by relevance Sort by last modified time
    Searched refs:sysctl (Results 1 - 25 of 372) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/linux-kselftest/tools/testing/selftests/sysctl/
Makefile 1 # Makefile for sysctl selftests.
7 TEST_PROGS := sysctl.sh
  /cts/tests/tests/net/src/android/net/cts/
MultinetworkSysctlTest.java 30 * Tests for multinetwork sysctl functionality.
50 * e110861 net: add a sysctl to reflect the fwmark on replies
58 for (String sysctl : GLOBAL_SYSCTLS) {
59 int value = getIntValue(sysctl);
60 assertEquals(sysctl, 1, value);
68 String sysctl = new File(interfaceDir, AUTOCONF_SYSCTL).getAbsolutePath(); local
69 int value = getIntValue(sysctl);
70 assertLess(sysctl, value, 0);
SysctlBaseTest.java 30 * Tests for multinetwork sysctl functionality.
34 // Expected mode, UID, and GID of sysctl files.
46 protected void assertLess(String sysctl, int a, int b) {
47 assertTrue("value of " + sysctl + ": expected < " + b + " but was: " + a, a < b);
50 protected void assertAtLeast(String sysctl, int a, int b) {
51 assertTrue("value of " + sysctl + ": expected >= " + b + " but was: " + a, a >= b);
63 * Checks permissions and retrieves the sysctl's value. Retrieval of value should always use
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_kmod.sh 8 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null
9 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null
23 JE=`sysctl -n net.core.bpf_jit_enable`
24 JH=`sysctl -n net.core.bpf_jit_harden`
29 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null
30 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
  /external/ltp/testcases/network/stress/multicast/grp-operation/
mcast-lib.sh 37 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships)
38 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf)
39 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version)
40 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version)
45 ROD sysctl -qw net.ipv4.igmp_max_memberships=$igmp_max_memberships
46 ROD sysctl -qw net.ipv4.igmp_max_msf=10
47 ROD sysctl -qw net.ipv4.conf.$(tst_iface).force_igmp_version=0
48 ROD sysctl -qw net.ipv4.conf.all.force_igmp_version=0
56 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version)
57 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version
    [all...]
  /external/fec/
cpu_mode_ppc.c 7 #include <sys/sysctl.h>
29 int error = sysctl(selectors, 2, &hasVectorUnit, &length, NULL, 0);
  /external/autotest/client/site_tests/security_ptraceRestrictions/
security_ptraceRestrictions.py 57 sysctl = "/proc/sys/kernel/yama/ptrace_scope"
58 self.check(os.path.exists(sysctl), "%s exists" % (sysctl), fatal=True)
59 self.check(open(sysctl).read() == '1\n', "%s enabled" % (sysctl),
  /external/ltp/testcases/open_posix_testsuite/include/
ncpu.h 27 # include <sys/sysctl.h>
48 sysctl(mib, 2, &ncpu, &len, NULL, 0);
  /system/chre/
run_sim.sh 9 JOB_COUNT=`sysctl -n hw.ncpu`
  /external/autotest/client/site_tests/security_ModuleLocking/
security_ModuleLocking.py 180 # Check that the sysctl is either missing or set to 1.
181 sysctl = "/proc/sys/kernel/chromiumos/module_locking"
182 if os.path.exists(sysctl):
183 self.check(open(sysctl).read() == '1\n', "%s enabled" % (sysctl))
198 # If the sysctl exists, verify that it will disable the restriction.
199 if os.path.exists(sysctl):
201 open(sysctl, "w").write("0\n")
202 self.check(open(sysctl).read() == '0\n', "%s disabled" % (sysctl))
    [all...]
  /external/ltp/testcases/network/busy_poll/
busy_poll01.sh 31 sysctl -q -w net.core.busy_read=$busy_read_old
32 sysctl -q -w net.core.busy_poll=$busy_poll_old
34 tst_rhost_run -c "sysctl -q -w net.core.busy_read=$rbusy_read_old"
35 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
41 ROD_SILENT sysctl -q -w net.core.busy_read=$value
42 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
44 tst_rhost_run -s -c "sysctl -q -w net.core.busy_read=$value"
45 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
busy_poll02.sh 31 sysctl -q -w net.core.busy_poll=$busy_poll_old
32 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
38 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
39 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
busy_poll03.sh 31 sysctl -q -w net.core.busy_poll=$busy_poll_old
32 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
38 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
39 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
busy_poll_lib.sh 26 tst_check_cmds pkill sysctl ethtool
  /external/tensorflow/tensorflow/tools/ci_build/builds/
cmake.sh 24 N_JOBS=$(sysctl -n hw.ncpu)
  /external/tensorflow/tensorflow/tools/ci_build/osx/cpu/
run_py3_cc_core.sh 21 N_JOBS=$(sysctl -n hw.ncpu)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
sysctl.h 44 #include <linux/sysctl.h>
67 extern int sysctl (int *__name, int __nlen, void *__oldval,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
sysctl.h 44 #include <linux/sysctl.h>
67 extern int sysctl (int *__name, int __nlen, void *__oldval,
  /prebuilts/go/darwin-x86/src/
race.bash 19 if sysctl machdep.cpu.extfeatures | grep -qv EM64T; then
  /prebuilts/go/linux-x86/src/
race.bash 19 if sysctl machdep.cpu.extfeatures | grep -qv EM64T; then
  /external/autotest/client/site_tests/kernel_FirmwareRequest/
kernel_FirmwareRequest.py 24 sysctl = "/proc/sys/kernel/chromiumos/module_locking"
27 if os.path.exists(sysctl):
28 open(sysctl, "w").write(value)
30 raise error.TestNAError("module locking sysctl not available; may not be able to load test FW")
  /external/ltp/testcases/kernel/syscalls/sysctl/
sysctl04.c 25 * Testcase to check that sysctl(2) sets errno to ENOTDIR
28 * 1. Call sysctl(2) with sc_nlen set to 0, and expect ENOTDIR to be set.
29 * 2. Call sysctl(2) with sc_nlen greater than CTL_MAXNAME, and expect
53 #include <linux/sysctl.h>
62 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, function
110 TEST(sysctl(name, 0, osname, &osnamelth, 0, 0));
164 "This test needs a kernel that has sysctl syscall.");
  /external/ltp/testcases/network/multicast/mc_cmds/
mc_cmds 39 val=$(sysctl -n $knob)
41 ROD sysctl -q ${knob}=0
90 [ "$knob_changed" ] && sysctl -q ${knob}=1
  /external/libunwind/src/
os-freebsd.c 28 #include <sys/sysctl.h>
66 error = sysctl(mib, 3, NULL, &len, NULL, 0);
74 error = sysctl(mib, 3, buf, &len, NULL, 0);
107 error = sysctl(mib, 4, NULL, &len, NULL, 0);
113 error = sysctl(mib, 4, NULL, &len, NULL, 0);
125 error = sysctl(mib, 4, buf, &len, NULL, 0);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_procmaps_freebsd.cc 20 #include <sys/sysctl.h>
36 int Err = sysctl(Mib, 4, NULL, &Size, NULL, 0);
43 Err = sysctl(Mib, 4, VmMap, &Size, NULL, 0);

Completed in 715 milliseconds

1 2 3 4 5 6 7 8 91011>>