/linux/Documentation/translations/zh_CN/devicetree/ |
H A D | of_unittest.rst | 81 child1 -> sibling2 -> sibling3 -> sibling4 -> null 83 | | | null 85 | | child31 -> sibling32 -> null 87 | | null null 89 | child21 -> sibling22 -> sibling23 -> null 91 | null null null 93 child11 -> sibling12 -> sibling13 -> sibling14 -> null 95 | | | null 97 null null child131 -> null 99 null [all …]
|
/linux/arch/arm64/tools/ |
H A D | gen-sysreg.awk | 139 reg = null 140 res0 = null 141 res1 = null 142 unkn = null 184 if (res0 != null) 186 if (res1 != null) 188 if (unkn != null) 190 if (res0 != null || res1 != null || unkn != null) 193 reg = null 194 op0 = null [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_concat_range.sh | 490 ip netns exec B "$@" >/dev/null 2>&1 507 command -v "${tool}" >/dev/null && return 0 515 B ping -c1 -W1 "${dst_addr4}" >/dev/null 2>&1 521 if command -v ping6 >/dev/null; then 524 2>/dev/null 530 2>/dev/null 538 if command -v sendip >/dev/null; then 552 elif command -v socat -v >/dev/null; then 562 ip addr add "${dst_addr4}" dev veth_a 2>/dev/null 572 ip addr add "${dst_addr4}" dev veth_a 2>/dev/null [all …]
|
H A D | nft_nat_zones.sh | 34 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null) 35 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null) 36 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null) 37 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null) 38 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null) 39 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null) 45 sysctl -q net.ipv4.neigh.default.gc_thresh1="$v4gc1" 2>/dev/null 46 sysctl -q net.ipv4.neigh.default.gc_thresh2="$v4gc2" 2>/dev/null 47 sysctl -q net.ipv4.neigh.default.gc_thresh3="$v4gc3" 2>/dev/null 48 sysctl -q net.ipv6.neigh.default.gc_thresh1="$v6gc1" 2>/dev/null [all …]
|
H A D | nft_tproxy_tcp.sh | 34 ip netns pids "$ns1" | xargs kill 2>/dev/null 35 ip netns pids "$ns2" | xargs kill 2>/dev/null 36 ip netns pids "$ns3" | xargs kill 2>/dev/null 37 ip netns pids "$nsrouter" | xargs kill 2>/dev/null 48 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th… 86 ip netns exec "$nsrouter" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 87 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 88 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 89 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth2.forwarding=1 > /dev/null 92 if ! ip netns exec "$ns1" ping -c 1 -q 10.0.2.99 > /dev/null; then [all …]
|
H A D | nft_tproxy_udp.sh | 34 ip netns pids "$ns1" | xargs kill 2>/dev/null 35 ip netns pids "$ns2" | xargs kill 2>/dev/null 36 ip netns pids "$ns3" | xargs kill 2>/dev/null 37 ip netns pids "$nsrouter" | xargs kill 2>/dev/null 48 if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; th… 86 ip netns exec "$nsrouter" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null 87 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth0.forwarding=1 > /dev/null 88 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth1.forwarding=1 > /dev/null 89 ip netns exec "$nsrouter" sysctl net.ipv4.conf.veth2.forwarding=1 > /dev/null 92 if ! ip netns exec "$ns1" ping -c 1 -q 10.0.2.99 > /dev/null; then [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | lock_contention.sh | 47 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1 61 if ! perf lock con -b true > /dev/null 2>&1 ; then 67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 78 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \ 97 if ! perf lock con -b true > /dev/null 2>&1 ; then 102 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 120 if ! perf lock con -b true > /dev/null 2>&1 ; then 125 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 137 if ! perf lock con -b true > /dev/null 2>&1 ; then 143 perf lock con -a -b -g -E 1 -q -- perf bench sched messaging > /dev/null [all...] |
H A D | record_bpf_filter.sh | 26 -o /dev/null --quiet true 2>&1 45 -o "${perfdata}" true 2> /dev/null 71 -o /dev/null true 2>&1 | grep -q PERF_SAMPLE_CPU 79 -o /dev/null true 2>/dev/null 93 -o /dev/null true 2>/dev/null 101 -o /dev/null true 2>&1 | grep -q PERF_SAMPLE_CPU 109 -o /dev/null true 2>&1 | grep -q PERF_SAMPLE_CODE_PAGE_SIZE 124 -o "${perfdata}" true 2> /dev/null 154 -a --all-cgroups --synth=cgroup -o "${perfdata}" true 2> /dev/null 162 -o /dev/null true 2>&1 | grep -q PERF_SAMPLE_CGROUP
|
H A D | record.sh | 51 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null 56 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 76 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null 108 -c 1000 --per-thread ${testprog} 2> /dev/null \ 109 | perf script -F ip,sym,iregs -i - 2> /dev/null \ 121 if ! perf record -aB --synth=no -o "${perfdata}" ${testprog} 2> /dev/null 133 -o "${perfdata}" ${testprog} 2> /dev/null 150 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null 163 -o "${perfdata}" ${testprog} 2> /dev/null [all...] |
/linux/tools/testing/selftests/filesystems/fat/ |
H A D | run_fat_tests.sh | 29 chattr +C "${IMG_PATH}" >/dev/null 2>&1 || true 32 mkfs.vfat "${IMG_PATH}" >/dev/null 2>&1 47 echo old | sudo tee "${old_path}" >/dev/null 2>&1 48 echo new | sudo tee "${new_path}" >/dev/null 2>&1 49 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 51 grep new "${old_path}" >/dev/null 2>&1 52 grep old "${new_path}" >/dev/null 2>&1 63 echo old | sudo tee "${old_path}" >/dev/null 2>&1 64 echo new | sudo tee "${new_path}" >/dev/null 2>&1 65 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-hist.tc | 15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 16 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 18 grep child events/sched/sched_process_fork/hist > /dev/null || \ 26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 27 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \ 35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 37 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 45 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 46 … call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/null || \ 54 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done [all …]
|
H A D | trigger-hist-mod.tc | 15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 17 grep "common_pid: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 25 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 28 grep "parent_pid: $HEX" events/sched/sched_process_fork/hist > /dev/null || \ 36 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 37 grep "id: \(unknown_\|sys_\)" events/raw_syscalls/sys_exit/hist > /dev/null || \ 46 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 47 grep 'bytes_req: ~ 2^[0-9]*' events/kmem/kmalloc/hist > /dev/null || \
|
H A D | trigger-multihist.tc | 16 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 17 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 19 grep child events/sched/sched_process_fork/hist > /dev/null || \ 22 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 30 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 31 grep test_hist events/sched/sched_process_fork/hist > /dev/null || \ 37 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 38 grep test_hist events/sched/sched_process_exit/hist > /dev/null || \
|
/linux/Documentation/devicetree/ |
H A D | of_unittest.rst | 106 child1 -> sibling2 -> sibling3 -> sibling4 -> null 108 | | | null 110 | | child31 -> sibling32 -> null 112 | | null null 114 | child21 -> sibling22 -> sibling23 -> null 116 | null null null 118 child11 -> sibling12 -> sibling13 -> sibling14 -> null 120 | | | null 122 null null child131 -> null 124 null [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_metadata.sh | 17 rm -rf $BPF_DIR 2> /dev/null 48 if ! bpftool version > /dev/null 2>&1; then 64 echo "$METADATA_PLAIN" | grep 'a = "foo"' > /dev/null 65 echo "$METADATA_PLAIN" | grep 'b = 1' > /dev/null 67 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null 69 bpftool map | grep 'metadata.rodata' > /dev/null 76 echo "$METADATA_PLAIN" | grep 'a = "bar"' > /dev/null 77 echo "$METADATA_PLAIN" | grep 'b = 2' > /dev/null 79 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null 81 bpftool map | grep 'metadata.rodata' > /dev/null
|
H A D | test_xdp_redirect.sh | 39 ip link del veth1 2> /dev/null 40 ip link del veth2 2> /dev/null 41 ip netns del ${NS1} 2> /dev/null 42 ip netns del ${NS2} 2> /dev/null 51 ip link set dev veth1 $xdpmode off &> /dev/null 57 ip -n ${NS1} link set veth11 $xdpmode obj xdp_dummy.bpf.o sec xdp &> /dev/null 58 ip -n ${NS2} link set veth22 $xdpmode obj xdp_dummy.bpf.o sec xdp &> /dev/null 59 ip link set dev veth1 $xdpmode obj test_xdp_redirect.bpf.o sec redirect_to_222 &> /dev/null 60 ip link set dev veth2 $xdpmode obj test_xdp_redirect.bpf.o sec redirect_to_111 &> /dev/null 62 if ip netns exec ${NS1} ping -c 1 10.1.1.22 &> /dev/null && [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | arp_ndisc_evict_nocarrier.sh | 28 sysctl -w net.ipv6.conf.veth1.ndisc_evict_nocarrier=1 >/dev/null 2>&1 29 sysctl -w net.ipv6.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1 43 ip netns exec ${me} sysctl -w $1 >/dev/null 2>&1 46 ip netns exec ${me} ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1 48 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1 70 sysctl -w "$1" >/dev/null 2>&1 73 ping -c1 -I veth0 $V4_ADDR1 -q >/dev/null 2>&1 75 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1 91 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1 92 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1 [all …]
|
H A D | ip_defrag.sh | 17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1 18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1 19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1 21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1 22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1 23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1 25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null… 26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null… 27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1 30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
|
H A D | sctp_vrf.sh | 23 ip net exec $CLIENT_NS1 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 24 ip net exec $CLIENT_NS2 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 65 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null 74 grep LISTEN | grep "$IFACE" 2>&1 >/dev/null; do 84 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null 86 $SERVER_PORT $IFACE 2>&1 >/dev/null & 90 $SERVER_IP $SERVER_PORT $CLIENT_IP $CLIENT_PORT 2>&1 >/dev/null 99 ip netns exec $SERVER_NS pkill sctp_hello 2>&1 >/dev/null 101 $SERVER_PORT $IFACE1 2>&1 >/dev/null & [all …]
|
/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 96 if ! which perl 2> /dev/null > /dev/null; then 100 if ! which getconf 2> /dev/null > /dev/null; then 104 if ! which diff 2> /dev/null > /dev/null; then 194 echo "$TEST_STR" | diff -q -w -u - $1 > /dev/null 264 dd if="${TEST_FILE}" of="${TARGET}" bs=4096 2>/dev/null 274 dd if="${TEST_FILE}" of="${TARGET}" bs=1 seek=1 skip=1 2>/dev/null 284 dd if="${TEST_FILE}" of="${TARGET}" bs=20 seek=2 2>/dev/null 295 dd of="${TARGET}" bs=50 2>/dev/null 311 echo -n "$TEST_STR" > $TARGET 2> /dev/null 366 dd of="${TARGET}" 2>/dev/null [all …]
|
/linux/tools/testing/selftests/firmware/ |
H A D | fw_fallback.sh | 54 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null & 83 echo -n "$name" >"$DIR"/trigger_custom_fallback 2>/dev/null & 116 echo -n "$name" >"$DIR"/trigger_custom_fallback 2>/dev/null & 146 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null 164 echo -n "nope-$NAME" >"$DIR"/trigger_request 2>/dev/null & 187 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 204 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 213 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 221 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 244 if ! diff -q "$RANDOM_FILE_PATH" /dev/test_firmware >/dev/null ; then [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null 147 $IP nexthop flush &> /dev/null 182 $IP nexthop flush &> /dev/null 194 $IP nexthop add id 10 group 1/2 &> /dev/null 202 $IP nexthop flush &> /dev/null 247 $IP nexthop flush &> /dev/null 259 $IP nexthop add id 10 group 1/2 type resilient buckets 4 &> /dev/null 267 $IP nexthop flush &> /dev/null 289 $IP nexthop flush &> /dev/null 303 $IP nexthop replace id 10 group 1/2/3 &> /dev/null [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_vlan_mcast.sh | 109 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and .vid == 10)" &>/dev/null 118 ip address del dev $h2.10 $TEST_GROUP/32 2>&1 1>/dev/null 122 .vid == 10)" &>/dev/null 132 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 138 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_snooping == 1) " &>/dev/null 225 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 229 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_querier == 0) " &>/dev/null 255 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 259 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_igmp_version == 2) " &>/dev/null 265 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_mld_version == 1) " &>/dev/null [all …]
|
/linux/tools/testing/selftests/net/rds/ |
H A D | run.sh | 34 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 47 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 70 if ! grep -x "CONFIG_GCOV_PROFILE_RDS=y" "$kconfig" > /dev/null 2>&1; then 74 if ! grep -x "CONFIG_GCOV_KERNEL=y" "$kconfig" > /dev/null 2>&1; then 78 if grep -x "CONFIG_GCOV_PROFILE_ALL=y" "$kconfig" > /dev/null 2>&1; then 95 if ! grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then 102 if grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then 127 if ! which strace > /dev/null 2>&1; then 131 if ! which tcpdump > /dev/null 2>&1; then 136 if ! which python3 > /dev/null 2>&1; then
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | q_in_q_veto.sh | 57 protocol $netdev_proto id 100 2>/dev/null 61 protocol $netdev_proto id 100 2>&1 >/dev/null \ 75 protocol 802.1ad id 100 2>/dev/null 79 protocol 802.1ad id 100 2>&1 >/dev/null \ 98 protocol 802.1ad id 100 2>/dev/null 102 protocol 802.1ad id 100 2>&1 >/dev/null \ 120 protocol 802.1ad id 100 2>/dev/null 124 protocol 802.1ad id 100 2>&1 >/dev/null \ 165 ip link add name $swp1.100 link $swp1 type vlan id 100 2>/dev/null 168 ip link add name $swp1.100 link $swp1 type vlan id 100 2>&1 >/dev/null \ [all …]
|