/third_party/ltp/testcases/network/stress/multicast/grp-operation/ |
D | mcast-lib.sh | 13 SYSFS_IGMP_MAX_MEMBERSHIPS=$(sysctl -b net.ipv4.igmp_max_memberships) 14 SYSFS_IGMP_MAX_MSF=$(sysctl -b net.ipv4.igmp_max_msf) 15 SYSFS_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.$(tst_iface).force_igmp_version) 16 SYSFS_ALL_FORCE_IGMP_VERSION=$(sysctl -b net.ipv4.conf.all.force_igmp_version) 21 ROD sysctl -q -w net.ipv4.igmp_max_memberships=$igmp_max_memberships 22 ROD sysctl -q -w net.ipv4.igmp_max_msf=10 23 ROD sysctl -q -w net.ipv4.conf.$(tst_iface).force_igmp_version=0 24 ROD sysctl -q -w net.ipv4.conf.all.force_igmp_version=0 31 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version) 32 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version) [all …]
|
/third_party/node/deps/uv/src/unix/ |
D | openbsd.c | 53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 82 if (sysctl(mib, ARRAY_SIZE(mib), argsbuf, &argsbuf_size, NULL, 0) == 0) { in uv_exepath() 118 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory() 130 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 155 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &size, NULL, 0) < 0) in uv_resident_set_memory() 169 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime() 192 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info() 197 if (sysctl(which, ARRAY_SIZE(which), &numcpus, &size, NULL, 0)) in uv_cpu_info() 209 if (sysctl(which, ARRAY_SIZE(which), &cpuspeed, &size, NULL, 0)) in uv_cpu_info() 215 if (sysctl(percpu, ARRAY_SIZE(percpu), &info, &size, NULL, 0)) in uv_cpu_info()
|
D | netbsd.c | 58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; in uv_loadavg() 84 if (sysctl(mib, 4, int_buf, &int_size, NULL, 0)) in uv_exepath() 105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory() 122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime() 248 if (sysctl(name, ARRAY_SIZE(name), p, &count, NULL, 0) == -1) in uv__random_sysctl()
|
D | freebsd.c | 73 if (sysctl(mib, ARRAY_SIZE(mib), abspath, &abspath_size, NULL, 0)) in uv_exepath() 107 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 124 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 145 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &kinfo_size, NULL, 0)) in uv_resident_set_memory()
|
/third_party/libuv/src/unix/ |
D | openbsd.c | 53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 82 if (sysctl(mib, ARRAY_SIZE(mib), argsbuf, &argsbuf_size, NULL, 0) == 0) { in uv_exepath() 118 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory() 130 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 155 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &size, NULL, 0) < 0) in uv_resident_set_memory() 169 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime() 192 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info() 197 if (sysctl(which, ARRAY_SIZE(which), &numcpus, &size, NULL, 0)) in uv_cpu_info() 209 if (sysctl(which, ARRAY_SIZE(which), &cpuspeed, &size, NULL, 0)) in uv_cpu_info() 215 if (sysctl(percpu, ARRAY_SIZE(percpu), &info, &size, NULL, 0)) in uv_cpu_info()
|
D | netbsd.c | 58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; in uv_loadavg() 84 if (sysctl(mib, 4, int_buf, &int_size, NULL, 0)) in uv_exepath() 105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory() 122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime() 248 if (sysctl(name, ARRAY_SIZE(name), p, &count, NULL, 0) == -1) in uv__random_sysctl()
|
D | freebsd.c | 73 if (sysctl(mib, ARRAY_SIZE(mib), abspath, &abspath_size, NULL, 0)) in uv_exepath() 107 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory() 124 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 145 if (sysctl(mib, ARRAY_SIZE(mib), &kinfo, &kinfo_size, NULL, 0)) in uv_resident_set_memory()
|
/third_party/ltp/testcases/network/stress/tcp/uni-basic/ |
D | tcp4-uni-basic01 | 149 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null 2>&1 152 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null 2>&1 155 sysctl -w net.ipv4.tcp_sack=1 >/dev/null 2>&1 264 sysctl -w net.ipv4.tcp_window_scaling=1 >/dev/null 270 sysctl -w net.ipv4.tcp_window_scaling=0 >/dev/null 2>&1 275 sysctl -w net.ipv4.tcp_dsack=1 >/dev/null 281 sysctl -w net.ipv4.tcp_dsack=0 >/dev/null 2>&1 286 sysctl -w net.ipv4.tcp_sack=1 >/dev/null 292 sysctl -w net.ipv4.tcp_sack=0 >/dev/null 2>&1
|
/third_party/libunwind/libunwind/src/ |
D | os-freebsd.c | 66 error = sysctl(mib, 3, NULL, &len, NULL, 0); in get_pid_by_tid() 74 error = sysctl(mib, 3, buf, &len, NULL, 0); in get_pid_by_tid() 106 error = sysctl(mib, 4, NULL, &len, NULL, 0); in tdep_get_elf_image() 111 error = sysctl(mib, 4, NULL, &len, NULL, 0); in tdep_get_elf_image() 122 error = sysctl(mib, 4, buf, &len, NULL, 0); in tdep_get_elf_image() 161 error = sysctl(mib, 4, path, &len, NULL, 0); in tdep_get_exe_image_path()
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
D | ima_violations.sh | 22 elif tst_check_cmds sysctl; then 23 PRINTK_RATE_LIMIT=`sysctl -n kernel.printk_ratelimit` 24 sysctl -wq kernel.printk_ratelimit=0 34 sysctl -wq kernel.printk_ratelimit=$PRINTK_RATE_LIMIT
|
/third_party/ltp/testcases/commands/sysctl/ |
D | sysctl02.sh | 49 sysctl -w -q $sys_name=$test_value 2>/dev/null 65 ROD sysctl -w -q $sys_name=0 76 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
|
D | sysctl01.sh | 27 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1 35 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
|
/third_party/ltp/testcases/network/multicast/mc_cmds/ |
D | mc_cmds.sh | 39 val=$(sysctl -n $knob) 41 ROD sysctl -q ${knob}=0 90 [ "$knob_changed" ] && sysctl -q ${knob}=1
|
/third_party/rust/crates/nix/test/common/ |
D | mod.rs | 40 use ::sysctl::{CtlValue, Sysctl}; 43 let ctl = ::sysctl::Ctl::new("vfs.usermount").unwrap(); 68 use ::sysctl::{CtlValue, Sysctl}; 70 let ctl = ::sysctl::Ctl::new("security.jail.jailed").unwrap();
|
/third_party/ltp/testcases/network/mpls/ |
D | mpls01.sh | 29 ROD sysctl -q net.mpls.platform_labels=0xfffff 38 ROD sysctl -q net.mpls.platform_labels=0xffffe 53 ROD sysctl -q net.mpls.platform_labels=$((end + 1))
|
/third_party/skia/third_party/externals/microhttpd/m4/ |
D | ax_count_cpus.m4 | 38 AS_IF([test -x /usr/sbin/sysctl],[ 39 sysctl_a=`/usr/sbin/sysctl -a 2>/dev/null| grep -c hw.cpu` 41 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
|
/third_party/skia/third_party/externals/swiftshader/tests/kokoro/macos/ |
D | continuous.sh | 35 cmake --build . -- -j$(sysctl -n hw.logicalcpu) 49 cmake --build . --target ReactorUnitTests -- -j$(sysctl -n hw.logicalcpu)
|
/third_party/ltp/testcases/network/busy_poll/ |
D | busy_poll01.sh | 10 sysctl -q -w net.core.busy_read=$busy_read_old 12 sysctl -q -w net.core.busy_poll=$busy_poll_old
|
/third_party/ltp/testcases/network/stress/route/ |
D | route-redirect.sh | 35 sysctl -w net.ipv${TST_IPVER}.conf.${lhost_ifname}.accept_redirects=1 > /dev/null 36 [ ! "$TST_IPV6" ] && sysctl -w net.ipv4.conf.${lhost_ifname}.secure_redirects=0 > /dev/null
|
/third_party/mesa3d/src/util/ |
D | os_misc.c | 252 return (sysctl(mib, 2, size, &len, NULL, 0) == 0); in os_get_total_physical_memory() 311 if (sysctl(mib, 2, &mem_available, &len, NULL, 0) == -1) in os_get_available_system_memory() 356 return (sysctl(mib, 2, size, &len, NULL, 0) == 0); in os_get_page_size()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
D | p2p-action-udhcp.sh | 58 sysctl net.ipv4.ip_forward=1 65 sysctl net.ipv4.ip_forward=0
|
/third_party/libwebsockets/READMEs/ |
D | README.tcp_fastopen.md | 19 # sysctl -w net.ipv4.tcp_fastopen=3 25 sysctl to 1
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
D | p2p-action-udhcp.sh | 58 sysctl net.ipv4.ip_forward=1 65 sysctl net.ipv4.ip_forward=0
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 116 if (sysctl(mib, ARRAY_SIZE(mib), cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 123 if (sysctl(mib, ARRAY_SIZE(mib), sum_cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 137 if (sysctl(mib, ARRAY_SIZE(mib), cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 143 if (sysctl(mib, ARRAY_SIZE(mib), cp_time, &len, NULL, 0) == -1) in get_cpu_stats()
|
/third_party/node/deps/v8/src/base/ |
D | sys-info.cc | 44 if (sysctl(mib, arraysize(mib), &ncpu, &len, nullptr, 0) != 0) { in NumberOfProcessors() 70 if (sysctl(mib, arraysize(mib), &memsize, &len, nullptr, 0) != 0) { in AmountOfPhysicalMemory()
|