Home
last modified time | relevance | path

Searched refs:should_fail (Results 51 – 71 of 71) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh1626 local should_fail=1
1629 should_fail=0
1639 check_err_fail $should_fail $? "Entry $src has zero timer"
1645 check_err_fail $should_fail $? "Entry $src has blocked flag"
/openbmc/linux/Documentation/fault-injection/
H A Dfault-injection.rst86 should_fail() that pass all the other tests.
99 on each call to should_fail(,size). Failure injection is
343 Upon should_fail() returning true, client code should inject a failure:
345 should_fail(attr, size);
/openbmc/linux/kernel/
H A Dfail_function.c173 if (should_fail(&fei_fault_attr, 1)) { in fei_kprobe_handler()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.c731 if (should_fail(&fail_gem_alloc, args->size)) in msm_ioctl_gem_new()
795 if (should_fail(&fail_gem_iova, obj->size)) in msm_ioctl_gem_info_iova()
819 if (should_fail(&fail_gem_iova, obj->size)) in msm_ioctl_gem_info_set_iova()
H A Dmsm_drv.h40 # define should_fail(attr, size) 0 macro
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dfault.c298 ret = should_fail(&ibd->fault->attr, 1); in __hfi1_should_fault()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gtt.c70 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in alloc_pt_dma()
H A Dintel_reset.c569 if (I915_SELFTEST_ONLY(should_fail(&engine->reset_timeout, 1))) in gen8_engine_reset_prepare()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Dintel_memory_region.c348 bool should_fail = target > min; in igt_mock_contiguous() local
352 if (should_fail != IS_ERR(obj)) { in igt_mock_contiguous()
/openbmc/linux/kernel/futex/
H A Dcore.c82 return should_fail(&fail_futex.attr, 1); in should_fail_futex()
/openbmc/linux/drivers/block/null_blk/
H A Dmain.c1569 return should_fail(&dev->timeout_config.attr, 1); in should_timeout_request()
1577 return should_fail(&dev->requeue_config.attr, 1); in should_requeue_request()
1582 return should_fail(&dev->init_hctx_fault_config.attr, 1); in should_init_hctx_fail()
/openbmc/linux/block/
H A Dblk-core.c488 return part->bd_make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()
/openbmc/linux/drivers/iommu/iommufd/
H A Dselftest.c1066 return should_fail(&fail_iommufd, 1); in iommufd_should_fail()
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c127 return dev->archdata.fail_iommu && should_fail(&fail_iommu, 1); in should_fail_iommu()
/openbmc/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c529 return should_fail(&artpec6_crypto_fail_dma_array_full, 1); in fault_inject_dma_descr()
2118 if (should_fail(&artpec6_crypto_fail_status_read, 1)) in artpec6_crypto_task()
/openbmc/qemu/tests/qtest/
H A Dmigration-test.c2720 static void do_test_validate_uuid(MigrateStart *args, bool should_fail) in do_test_validate_uuid() argument
2742 if (should_fail) { in do_test_validate_uuid()
/openbmc/linux/net/sunrpc/
H A Dsvc.c1514 should_fail(&fail_sunrpc.attr, 1)) in svc_process()
H A Dcache.c697 should_fail(&fail_sunrpc.attr, 1); in cache_defer_immediately()
H A Dxprt.c869 should_fail(&fail_sunrpc.attr, 1)) in xprt_inject_disconnect()
/openbmc/linux/drivers/mmc/core/
H A Dcore.c97 !should_fail(&host->fail_mmc_request, data->blksz * data->blocks)) in mmc_should_fail_request()
/openbmc/linux/drivers/mmc/host/
H A Ddw_mmc.c1853 if (!should_fail(&host->fail_data_crc, 1)) in dw_mci_start_fault_timer()

123