Searched refs:should_fail (Results 1 – 25 of 26) sorted by relevance
12
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_flower_scale.sh | 71 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
|
D | mirror_gre_scale.sh | 52 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
|
D | mirror_gre.sh | 153 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"
|
D | router_scale.sh | 113 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/ |
D | resource_scale.sh | 40 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
|
D | mirror_gre_scale.sh | 6 local should_fail=$1; shift 8 if ((! should_fail)); then
|
D | tc_flower_scale.sh | 6 local should_fail=$1; shift 14 if ((! should_fail)); then
|
D | router_scale.sh | 6 local should_fail=$1 11 if [[ $should_fail -eq 0 ]]; then
|
/Linux-v5.4/lib/ |
D | fault-inject.c | 103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function 151 EXPORT_SYMBOL_GPL(should_fail);
|
/Linux-v5.4/mm/ |
D | failslab.c | 33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
|
/Linux-v5.4/Documentation/fault-injection/ |
D | nvme-fault-injection.rst | 40 should_fail+0x148/0x170 97 should_fail+0x148/0x170 147 should_fail+0x14a/0x170
|
D | fault-injection.rst | 70 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/ |
D | fault-inject.h | 46 bool should_fail(struct fault_attr *attr, ssize_t size);
|
/Linux-v5.4/drivers/nvme/host/ |
D | fault_inject.c | 74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail()
|
/Linux-v5.4/block/ |
D | blk-timeout.c | 28 return should_fail(&fail_io_timeout, 1); in blk_should_fake_timeout()
|
D | blk-core.c | 764 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()
|
/Linux-v5.4/kernel/ |
D | fail_function.c | 176 if (should_fail(&fei_fault_attr, 1)) { in fei_kprobe_handler()
|
D | futex.c | 297 return should_fail(&fail_futex.attr, 1); in should_fail_futex()
|
/Linux-v5.4/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 181 local should_fail=$1; shift 185 if ((should_fail)); then
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | fault.c | 340 ret = should_fail(&ibd->fault->attr, 1); in __hfi1_should_fault()
|
/Linux-v5.4/drivers/block/ |
D | null_blk_main.c | 1302 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/ |
D | iommu.c | 88 return dev->archdata.fail_iommu && should_fail(&fail_iommu, 1); in should_fail_iommu()
|
/Linux-v5.4/drivers/crypto/axis/ |
D | artpec6_crypto.c | 528 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/ |
D | core.c | 96 !should_fail(&host->fail_mmc_request, data->blksz * data->blocks)) in mmc_should_fail_request()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 370 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in vm_alloc_page()
|
12