Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
101 if [[ $should_fail -eq 0 ]]; then
104 check_err_fail $should_fail $? "Offload more than expacted"
111 local should_fail=$1; shift
126 __tc_flower_test $count $should_fail
Dtc_police_scale.sh37 local should_fail=$1; shift
53 check_err_fail $should_fail $? "Rule insertion"
59 local should_fail=$1; shift
61 tc_police_rules_create $count $should_fail
65 check_err_fail $should_fail $? "tc police offload count"
71 local should_fail=$1; shift
78 __tc_police_test $count $should_fail
Dmirror_gre_scale.sh52 local should_fail=$1; shift
88 check_err_fail $should_fail $? "Mirror rule insertion"
113 local should_fail=$1; shift
115 mirror_gre_tunnels_create $count $should_fail
116 if ((should_fail)); then
136 local should_fail=$1; shift
144 __mirror_gre_test $count $should_fail
Dmirror_gre.sh153 local should_fail=$1; shift
160 if ((should_fail)); then
167 log_test "$what: should_fail=$should_fail ($tcflags)"
172 local should_fail=$1; shift
174 test_span_failable $should_fail gt6-key "mirror to keyful gretap"
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
Drouter_scale.sh114 local should_fail=$2
123 check_err_fail $should_fail $? "Offload routes: Expected $route_count, got $delta."
124 if [[ $RET -ne 0 ]] || [[ $should_fail -eq 1 ]]; then
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh38 for should_fail in 0 1; do
40 target=$(${current_test}_get_target "$should_fail")
43 ${current_test}_test "$target" "$should_fail"
46 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
15 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh40 for should_fail in 0 1; do
42 target=$(${current_test}_get_target "$should_fail")
45 ${current_test}_test "$target" "$should_fail"
47 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/Linux-v5.10/tools/testing/selftests/net/
Ddevlink_port_split.py24 def run_command(cmd, should_fail=False): argument
34 if stderr != "" and not should_fail:
103 def split(k, port, should_fail=False): argument
112 stdout, stderr = run_command(cmd, should_fail=should_fail)
114 if should_fail:
194 new_split_group = split(k, port, should_fail=True)
/Linux-v5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh10 local should_fail=$1; shift
16 if [[ $should_fail == "true" ]]; then
32 local should_fail=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
41 local should_fail=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
50 local should_fail=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
/Linux-v5.10/lib/
Dfault-inject-usercopy.c37 return should_fail(&fail_usercopy.attr, 1); in should_fail_usercopy()
Dfault-inject.c103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function
153 EXPORT_SYMBOL_GPL(should_fail);
/Linux-v5.10/mm/
Dfailslab.c33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
/Linux-v5.10/Documentation/fault-injection/
Dnvme-fault-injection.rst40 should_fail+0x148/0x170
97 should_fail+0x148/0x170
147 should_fail+0x14a/0x170
Dfault-injection.rst74 should_fail() that pass all the other tests.
87 on each call to should_fail(,size). Failure injection is
243 Upon should_fail() returning true, client code should inject a failure:
245 should_fail(attr, size);
/Linux-v5.10/include/linux/
Dfault-inject.h46 bool should_fail(struct fault_attr *attr, ssize_t size);
/Linux-v5.10/drivers/nvme/host/
Dfault_inject.c74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail()
/Linux-v5.10/block/
Dblk-timeout.c25 return should_fail(&fail_io_timeout, 1); in __blk_should_fake_timeout()

12