HomeSort by relevance Sort by last modified time
    Searched refs:sysctl (Results 1 - 25 of 264) 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
  /external/ltp/testcases/network/stress/multicast/grp-operation/
mcast-lib.sh 32 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships)
33 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf)
34 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version)
35 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version)
40 ROD sysctl -q -w net.ipv4.igmp_max_memberships=$igmp_max_memberships
41 ROD sysctl -q -w net.ipv4.igmp_max_msf=10
42 ROD sysctl -q -w net.ipv4.conf.$(tst_iface).force_igmp_version=0
43 ROD sysctl -q -w net.ipv4.conf.all.force_igmp_version=0
51 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version)
52 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version
    [all...]
  /external/linux-kselftest/tools/testing/selftests/net/
ip_defrag.sh 14 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1
15 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1
16 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1
17 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1
  /external/fec/
cpu_mode_ppc.c 7 #include <sys/sysctl.h>
29 int error = sysctl(selectors, 2, &hasVectorUnit, &length, NULL, 0);
  /external/linux-kselftest/tools/testing/selftests/bpf/
test_kmod.sh 17 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null
18 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null
44 JE=`sysctl -n net.core.bpf_jit_enable`
45 JH=`sysctl -n net.core.bpf_jit_harden`
50 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null
51 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
  /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/commands/sysctl/
sysctl01.sh 24 # '5ccba44ba118("sched/sysctl: Check user input value of sysctl_sched_time_avg")'
28 TST_NEEDS_CMDS="sysctl"
43 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1
51 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
  /external/ltp/testcases/open_posix_testsuite/include/
ncpu.h 27 # include <sys/sysctl.h>
48 sysctl(mib, 2, &ncpu, &len, NULL, 0);
  /external/syzkaller/tools/
create-image.sh 23 echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf
24 echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf
25 echo "net.core.bpf_jit_enable = 1" | sudo tee -a $DIR/etc/sysctl.conf
26 echo "net.core.bpf_jit_kallsyms = 1" | sudo tee -a $DIR/etc/sysctl.conf
27 echo "net.core.bpf_jit_harden = 0" | sudo tee -a $DIR/etc/sysctl.conf
28 echo "kernel.softlockup_all_cpu_backtrace = 1" | sudo tee -a $DIR/etc/sysctl.conf
29 echo "kernel.kptr_restrict = 0" | sudo tee -a $DIR/etc/sysctl.conf
30 echo "kernel.watchdog_thresh = 60" | sudo tee -a $DIR/etc/sysctl.conf
31 echo "net.ipv4.ping_group_range = 0 65535" | sudo tee -a $DIR/etc/sysctl.conf
  /external/ltp/testcases/network/busy_poll/
busy_poll01.sh 12 sysctl -q -w net.core.busy_read=$busy_read_old
14 sysctl -q -w net.core.busy_poll=$busy_poll_old
16 tst_rhost_run -c "sysctl -q -w net.core.busy_read=$rbusy_read_old"
18 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
24 ROD_SILENT sysctl -q -w net.core.busy_read=$value
25 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
27 tst_rhost_run -s -c "sysctl -q -w net.core.busy_read=$value"
28 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
busy_poll02.sh 12 sysctl -q -w net.core.busy_poll=$busy_poll_old
14 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
20 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
21 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
busy_poll03.sh 14 sysctl -q -w net.core.busy_poll=$busy_poll_old
16 tst_rhost_run -c "sysctl -q -w net.core.busy_poll=$rbusy_poll_old"
22 ROD_SILENT sysctl -q -w net.core.busy_poll=$value
23 tst_rhost_run -s -c "sysctl -q -w net.core.busy_poll=$value"
  /external/tensorflow/tensorflow/tools/ci_build/builds/
cmake.sh 24 N_JOBS=$(sysctl -n hw.ncpu)
  /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/network/multicast/mc_cmds/
mc_cmds 40 val=$(sysctl -n $knob)
42 ROD sysctl -q ${knob}=0
91 [ "$knob_changed" ] && sysctl -q ${knob}=1
  /cts/hostsidetests/net/src/com/android/cts/net/
ProcNetTest.java 95 protected void assertLess(String sysctl, int a, int b) {
96 assertTrue("value of " + sysctl + ": expected < " + b + " but was: " + a, a < b);
99 protected void assertAtLeast(String sysctl, int a, int b) {
100 assertTrue("value of " + sysctl + ": expected >= " + b + " but was: " + a, a >= b);
126 for (String sysctl : GLOBAL_SYSCTLS) {
127 int value = readIntFromPath(sysctl);
128 assertEquals(sysctl, 1, value);
  /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);
  /external/ltp/testcases/network/mpls/
mpls01.sh 13 TST_NEEDS_CMDS="sysctl modprobe"
30 ROD sysctl -q net.mpls.platform_labels=0xfffff
39 ROD sysctl -q net.mpls.platform_labels=0xffffe
54 ROD sysctl -q net.mpls.platform_labels=$((end + 1))
  /external/catch2/include/internal/
catch_debugger.cpp 21 # include <sys/sysctl.h>
38 // Initialize the flags so that, if sysctl fails for some bizarre
43 // Initialize mib, which tells sysctl the info we want, in this case
51 // Call sysctl.
54 if( sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, nullptr, 0) != 0 ) {
55 Catch::cerr() << "\n** Call to sysctl failed - unable to determine if debugger is active **\n" << std::endl;
  /external/ltp/testcases/network/stress/multicast/packet-flood/
mcast4-pktfld01 156 # Make sure the sysctl values
157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null
159 tst_resm TBROK "Failed to set the sysctl value regarding multicast"
163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
mcast4-pktfld02 159 # Make sure the sysctl values
160 sysctl -w net.ipv4.igmp_max_memberships=$MCASTNUM_NORMAL >/dev/null
162 tst_resm TBROK "Failed to set the sysctl value regarding multicast"
166 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null
167 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
168 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
  /external/ltp/testcases/network/stress/multicast/query-flood/
mcast4-queryfld01 153 # Make sure the sysctl values
154 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null
156 tst_resm TBROK "Failed to set the sysctl value regarding multicast"
160 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null
161 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
162 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
mcast4-queryfld02 156 # Make sure the sysctl values
157 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null
159 tst_resm TBROK "Failed to set the sysctl value regarding multicast"
163 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null
164 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
165 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null
mcast4-queryfld03 162 # Make sure the sysctl values
163 sysctl -w net.ipv4.igmp_max_memberships=20 >/dev/null
165 tst_resm TBROK "Failed to set the sysctl value regarding multicast"
169 sysctl -w net.ipv4.igmp_max_msf=10 >/dev/null
170 sysctl -w net.ipv4.conf.${lhost_ifname}.force_igmp_version=0 >/dev/null
171 sysctl -w net.ipv4.conf.all.force_igmp_version=0 >/dev/null

Completed in 1312 milliseconds

1 2 3 4 5 6 7 8 91011