Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/linux/tools/testing/selftests/net/
H A Dlwt_dst_cache_ref_loop.sh27 setup_ns tmp_node &>/dev/null
34 peer name veth1 netns $tmp_node &>/dev/null
37 ip -netns $tmp_node link set veth0 up &>/dev/null
40 ip -netns $tmp_node link set veth1 up &>/dev/null
49 lsmod 2>/dev/null | grep -q "ila"
51 [ $ila_lsmod != 0 ] && modprobe ila &>/dev/null
56 dev veth0 &>/dev/null
60 dev veth0 &>/dev/null
63 encap rpl segs 2001:db8:3::1 dev veth0 &>/dev/null
66 encap seg6 mode inline segs 2001:db8:4::1 dev veth0 &>/dev/null
[all …]
H A Darp_ndisc_evict_nocarrier.sh28 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
[all...]
H A Dip_defrag.sh17 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
/linux/tools/perf/tests/shell/
H A Drecord.sh55 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null
60 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null
80 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null
112 -c 1000 --per-thread ${testprog} 2> /dev/null \
113 | perf script -F ip,sym,iregs -i - 2> /dev/null \
125 if ! perf record -aB --synth=no -o "${perfdata}" ${testprog} 2> /dev/null
137 -o "${perfdata}" ${testprog} 2> /dev/null
154 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null
167 -o "${perfdata}" ${testprog} 2> /dev/null
193 …perf record -o "${perfdata}" -e "{branches:p,instructions}" -j any,counter ${testprog} 2> /dev/null
[all …]
H A Dlock_contention.sh53 perf lock record -o ${perfdata} -- perf bench sched messaging -p > /dev/null 2>&1
67 if ! perf lock con -b true > /dev/null 2>&1 ; then
73 perf lock con -a -b -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
105 if ! perf lock con -b true > /dev/null 2>&1 ; then
110 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
128 if ! perf lock con -b true > /dev/null 2>&1 ; then
133 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
145 if ! perf lock con -b true > /dev/null 2>&1 ; then
151 perf lock con -a -b --lock-cgroup -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
169 if ! perf lock con -b true > /dev/null 2>&1 ; then
[all …]
H A Drecord_bpf_filter.sh26 -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
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_concat_range.sh524 ip netns exec B "$@" >/dev/null 2>&1
541 command -v "${tool}" >/dev/null && return 0
549 B ping -c1 -W1 "${dst_addr4}" >/dev/null 2>&1
555 if command -v ping6 >/dev/null; then
558 2>/dev/null
564 2>/dev/null
572 if command -v sendip >/dev/null; then
586 elif command -v socat -v >/dev/null; then
596 ip addr add "${dst_addr4}" dev veth_a 2>/dev/null
606 ip addr add "${dst_addr4}" dev veth_a 2>/dev/null
[all...]
H A Dnft_nat_zones.sh34 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 Dnft_tproxy_tcp.sh34 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 Dnft_tproxy_udp.sh34 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 Dnft_conntrack_helper.sh21 ip netns pids "$ns1" | xargs kill 2>/dev/null
31 if ! ip link add veth0 netns "$ns1" type veth peer name veth0 netns "$ns2" > /dev/null 2>&1;then
79 …if ! ip netns exec "$netns" conntrack -L -f $family -p tcp --dport "$port" 2> /dev/null |grep -q '…
117 ip netns exec "$ns2" socat -t 3 -u -4 TCP-LISTEN:"$port",reuseaddr STDOUT > /dev/null &
120 ip netns exec "$ns1" socat -u -4 STDIN TCP:10.0.1.2:"$port" < /dev/null > /dev/null
129 ip netns exec "$ns1" conntrack -F 2> /dev/null
130 ip netns exec "$ns2" conntrack -F 2> /dev/null
132 ip netns exec "$ns2" socat -t 3 -u -6 TCP-LISTEN:"$port",reuseaddr STDOUT > /dev/null &
135 ip netns exec "$ns1" socat -t 3 -u -6 STDIN TCP:"[dead:1::2]":"$port" < /dev/null > /dev/null
/linux/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh29 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 Dtrigger-hist.tc15 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 Dtrigger-hist-mod.tc15 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 Dtrigger-multihist.tc16 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/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh46 remaining=$(find "$CONFIGFS_SIM_DIR" -mindepth 1 -type d 2> /dev/null)
55 local CHIP_NAME=$(cat "$CONFIGFS_SIM_DIR/$CHIP/$BANK/chip_name" 2> /dev/null) || \
132 echo 0 > "$CHIP_DIR/live" 2> /dev/null
136 remaining=$(find "$CONFIGFS_AGG_DIR" -mindepth 1 -type d 2> /dev/null)
145 cat "$CONFIGFS_AGG_DIR/$CHIP/dev_name" 2> /dev/null || \
153 -maxdepth 1 -type d -name "gpiochip[0-9]*" 2> /dev/null)
166 local N_DIR=$(ls -d $CONFIGFS_AGG_DIR/$CHIP/line[0-9]* 2> /dev/null | wc -l)
307 echo 1 > "$CONFIGFS_AGG_DIR/agg0/live" 2> /dev/null && fail "chip unexpectedly enabled"
317 echo 1 > "$CONFIGFS_AGG_DIR/agg0/live" 2> /dev/null && fail "chip unexpectedly enabled"
329 echo 1 > "$CONFIGFS_AGG_DIR/agg0/live" 2> /dev/null && fail "chip unexpectedly enabled"
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_metadata.sh17 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 Dtest_bpftool_map.sh30 [ -d "$BPF_DIR" ] && rm -rf "$BPF_DIR" 2> /dev/null
41 umount -R "$BPF_DIR" 2>/dev/null
46 [ -d "$BPF_DIR" ] && rm -rf "$BPF_DIR" 2>/dev/null
80 if ! "$bpftool_path" version > /dev/null 2>&1; then
121 if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
127 if ! "$bpftool_path" btf dump map "$name_cmd" "$map_name" 1>/dev/null; then
149 $value 2>/dev/null; then
179 if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
185 if "$bpftool_path" map delete "$name_cmd" "$map_name" key $key 2>/dev/null; then
198 if "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
[all …]
/linux/tools/testing/selftests/sysctl/
H A Dsysctl.sh97 if ! which perl 2> /dev/null > /dev/null; then
101 if ! which getconf 2> /dev/null > /dev/null; then
105 if ! which diff 2> /dev/null > /dev/null; then
195 echo "$TEST_STR" | diff -q -w -u - $1 > /dev/null
265 dd if="${TEST_FILE}" of="${TARGET}" bs=4096 2>/dev/null
275 dd if="${TEST_FILE}" of="${TARGET}" bs=1 seek=1 skip=1 2>/dev/null
285 dd if="${TEST_FILE}" of="${TARGET}" bs=20 seek=2 2>/dev/null
296 dd of="${TARGET}" bs=50 2>/dev/null
312 echo -n "$TEST_STR" > $TARGET 2> /dev/null
367 dd of="${TARGET}" 2>/dev/null
[all …]
/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh54 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 Dnexthop.sh139 $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 Dbridge_vlan_mcast.sh109 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 Drun.sh34 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 Dq_in_q_veto.sh57 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 …]
/linux/tools/testing/selftests/ftrace/test.d/instances/
H A Dinstance-event.tc7 rmdir foo 2>/dev/null
29 mkdir foo 2> /dev/null
30 rmdir foo 2> /dev/null
36 cat foo/trace 1> /dev/null 2>&1
43 done 2> /dev/null
70 ls foo > /dev/null
95 done 2>/dev/null
118 ls -lR >/dev/null

12345678910>>...28