Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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
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-v5.4/lib/
Dfault-inject.c103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function
151 EXPORT_SYMBOL_GPL(should_fail);
/Linux-v5.4/mm/
Dfailslab.c33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
/Linux-v5.4/Documentation/fault-injection/
Dnvme-fault-injection.rst40 should_fail+0x148/0x170
97 should_fail+0x148/0x170
147 should_fail+0x14a/0x170
Dfault-injection.rst70 should_fail() that pass all the other tests.
83 on each call to should_fail(,size). Failure injection is
238 Upon should_fail() returning true, client code should inject a failure:
240 should_fail(attr, size);
/Linux-v5.4/include/linux/
Dfault-inject.h46 bool should_fail(struct fault_attr *attr, ssize_t size);
/Linux-v5.4/drivers/nvme/host/
Dfault_inject.c74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail()
/Linux-v5.4/block/
Dblk-timeout.c28 return should_fail(&fail_io_timeout, 1); in blk_should_fake_timeout()
Dblk-core.c764 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()
/Linux-v5.4/kernel/
Dfail_function.c176 if (should_fail(&fei_fault_attr, 1)) { in fei_kprobe_handler()
Dfutex.c297 return should_fail(&fail_futex.attr, 1); in should_fail_futex()
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dlib.sh181 local should_fail=$1; shift
185 if ((should_fail)); then
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dfault.c340 ret = should_fail(&ibd->fault->attr, 1); in __hfi1_should_fault()
/Linux-v5.4/drivers/block/
Dnull_blk_main.c1302 return should_fail(&null_timeout_attr, 1); in should_timeout_request()
1311 return should_fail(&null_requeue_attr, 1); in should_requeue_request()
/Linux-v5.4/arch/powerpc/kernel/
Diommu.c88 return dev->archdata.fail_iommu && should_fail(&fail_iommu, 1); in should_fail_iommu()
/Linux-v5.4/drivers/crypto/axis/
Dartpec6_crypto.c528 return should_fail(&artpec6_crypto_fail_dma_array_full, 1); in fault_inject_dma_descr()
2123 if (should_fail(&artpec6_crypto_fail_status_read, 1)) in artpec6_crypto_task()
/Linux-v5.4/drivers/mmc/core/
Dcore.c96 !should_fail(&host->fail_mmc_request, data->blksz * data->blocks)) in mmc_should_fail_request()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gem_gtt.c370 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in vm_alloc_page()

12