Home
last modified time | relevance | path

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

12

/Linux-v4.19/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
118 local should_fail=$1; shift
133 __tc_flower_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.sh113 local should_fail=$2
121 check_err_fail $should_fail $? "Offload of $route_count routes"
122 if [[ $RET -ne 0 ]] || [[ $should_fail -eq 1 ]]; then
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/spectrum/
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"
45 if [[ "$should_fail" -eq 0 ]]; then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
8 if ((! should_fail)); then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/Linux-v4.19/lib/
Dfault-inject.c108 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function
156 EXPORT_SYMBOL_GPL(should_fail);
/Linux-v4.19/mm/
Dfailslab.c32 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
/Linux-v4.19/include/linux/
Dfault-inject.h46 bool should_fail(struct fault_attr *attr, ssize_t size);
/Linux-v4.19/drivers/nvme/host/
Dfault_inject.c71 if (ns && should_fail(&ns->fault_inject.attr, 1)) { in nvme_should_fail()
/Linux-v4.19/Documentation/fault-injection/
Dnvme-fault-injection.txt38 should_fail+0x148/0x170
93 should_fail+0x148/0x170
Dfault-injection.txt67 should_fail() that pass all the other tests.
80 on each call to should_fail(,size). Failure injection is
227 Upon should_fail() returning true, client code should inject a failure.
229 should_fail(attr, size);
/Linux-v4.19/block/
Dblk-timeout.c27 return should_fail(&fail_io_timeout, 1); in blk_should_fake_timeout()
Dblk-core.c2139 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()
/Linux-v4.19/kernel/
Dfail_function.c184 if (should_fail(&fei_fault_attr, 1)) { in fei_kprobe_handler()
Dfutex.c306 return should_fail(&fail_futex.attr, 1); in should_fail_futex()
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dlib.sh178 local should_fail=$1; shift
182 if ((should_fail)); then
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dfault.c344 ret = should_fail(&ibd->fault->attr, 1); in __hfi1_should_fault()
/Linux-v4.19/drivers/block/
Dnull_blk_main.c1380 return should_fail(&null_timeout_attr, 1); in should_timeout_request()
1389 return should_fail(&null_requeue_attr, 1); in should_requeue_request()
/Linux-v4.19/arch/powerpc/kernel/
Diommu.c100 return dev->archdata.fail_iommu && should_fail(&fail_iommu, 1); in should_fail_iommu()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c532 return should_fail(&artpec6_crypto_fail_dma_array_full, 1); in fault_inject_dma_descr()
2117 if (should_fail(&artpec6_crypto_fail_status_read, 1)) in artpec6_crypto_task()
/Linux-v4.19/drivers/mmc/core/
Dcore.c99 !should_fail(&host->fail_mmc_request, data->blksz * data->blocks)) in mmc_should_fail_request()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_gtt.c421 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in vm_alloc_page()

12