Home
last modified time | relevance | path

Searched refs:ALLOW_ERROR_INJECTION (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/s390/include/asm/
H A Dsyscall_wrapper.h42 ALLOW_ERROR_INJECTION(__s390_compat_sys_##sname, ERRNO); \
48 ALLOW_ERROR_INJECTION(__s390_sys_##sname, ERRNO); \
50 ALLOW_ERROR_INJECTION(__s390x_sys_##sname, ERRNO); \
68 ALLOW_ERROR_INJECTION(__s390_compat_sys##name, ERRNO); \
91 ALLOW_ERROR_INJECTION(__s390_sys##name, ERRNO); \
108 ALLOW_ERROR_INJECTION(__s390x_sys_##sname, ERRNO); \
125 ALLOW_ERROR_INJECTION(__s390x_sys##name, ERRNO); \
/openbmc/linux/arch/riscv/include/asm/
H A Dsyscall_wrapper.h24 ALLOW_ERROR_INJECTION(__riscv_compat_sys##name, ERRNO); \
39 ALLOW_ERROR_INJECTION(__riscv_compat_sys_##sname, ERRNO); \
53 ALLOW_ERROR_INJECTION(__riscv_sys##name, ERRNO); \
72 ALLOW_ERROR_INJECTION(__riscv_sys_##sname, ERRNO); \
/openbmc/linux/arch/arm64/include/asm/
H A Dsyscall_wrapper.h22 ALLOW_ERROR_INJECTION(__arm64_compat_sys##name, ERRNO); \
37 ALLOW_ERROR_INJECTION(__arm64_compat_sys_##sname, ERRNO); \
51 ALLOW_ERROR_INJECTION(__arm64_sys##name, ERRNO); \
71 ALLOW_ERROR_INJECTION(__arm64_sys_##sname, ERRNO); \
/openbmc/linux/include/asm-generic/
H A Derror-injection.h27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ macro
37 #define ALLOW_ERROR_INJECTION(fname, _etype) macro
/openbmc/linux/arch/powerpc/include/asm/
H A Dsyscall_wrapper.h20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
/openbmc/linux/arch/x86/include/asm/
H A Dsyscall_wrapper.h87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.c246 ALLOW_ERROR_INJECTION(ssh_ptl_should_drop_ack_packet, TRUE);
259 ALLOW_ERROR_INJECTION(ssh_ptl_should_drop_nak_packet, TRUE);
273 ALLOW_ERROR_INJECTION(ssh_ptl_should_drop_dsq_packet, TRUE);
285 ALLOW_ERROR_INJECTION(ssh_ptl_should_fail_write, ERRNO);
301 ALLOW_ERROR_INJECTION(ssh_ptl_should_corrupt_tx_data, TRUE);
314 ALLOW_ERROR_INJECTION(ssh_ptl_should_corrupt_rx_syn, TRUE);
327 ALLOW_ERROR_INJECTION(ssh_ptl_should_corrupt_rx_data, TRUE);
H A Dssh_request_layer.c75 ALLOW_ERROR_INJECTION(ssh_rtl_should_drop_response, TRUE);
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c309 ALLOW_ERROR_INJECTION(bpf_testmod_test_read, ERRNO);
327 ALLOW_ERROR_INJECTION(bpf_testmod_test_write, ERRNO);
/openbmc/linux/Documentation/fault-injection/
H A Dfault-injection.rst45 ALLOW_ERROR_INJECTION() macro, by setting debugfs entries
247 ALLOW_ERROR_INJECTION() macro.
280 ALLOW_ERROR_INJECTION() macro. You have to choose it carefully if you add
/openbmc/linux/include/linux/
H A Dcompat.h48 ALLOW_ERROR_INJECTION(compat_sys_##name, ERRNO); \
77 ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO); \
H A Dsyscalls.h216 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
247 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
/openbmc/linux/block/
H A Dblk-core.c527 ALLOW_ERROR_INJECTION(should_fail_bio, ERRNO);
/openbmc/linux/fs/btrfs/
H A Dtree-checker.c2016 ALLOW_ERROR_INJECTION(btrfs_check_leaf, ERRNO);
2080 ALLOW_ERROR_INJECTION(btrfs_check_node, ERRNO);
H A Dctree.c750 ALLOW_ERROR_INJECTION(btrfs_cow_block, ERRNO);
2370 ALLOW_ERROR_INJECTION(btrfs_search_slot, ERRNO);
H A Dfree-space-cache.c402 ALLOW_ERROR_INJECTION(io_ctl_init, ERRNO);
H A Drelocation.c2906 ALLOW_ERROR_INJECTION(btrfs_should_cancel_balance, TRUE);
H A Ddisk-io.c3635 ALLOW_ERROR_INJECTION(open_ctree, ERRNO);
/openbmc/linux/mm/
H A Dslab_common.c1504 ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
H A Dfilemap.c958 ALLOW_ERROR_INJECTION(__filemap_add_folio, ERRNO);
H A Dpage_alloc.c2812 ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
/openbmc/linux/lib/
H A DKconfig.debug1950 ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return