/openbmc/linux/arch/s390/include/asm/ |
H A D | syscall_wrapper.h | 42 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 D | syscall_wrapper.h | 24 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 D | syscall_wrapper.h | 22 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 D | error-injection.h | 27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ macro 37 #define ALLOW_ERROR_INJECTION(fname, _etype) macro
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | syscall_wrapper.h | 20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \ 39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | syscall_wrapper.h | 87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \ 93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 246 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 D | ssh_request_layer.c | 75 ALLOW_ERROR_INJECTION(ssh_rtl_should_drop_response, TRUE);
|
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 309 ALLOW_ERROR_INJECTION(bpf_testmod_test_read, ERRNO); 327 ALLOW_ERROR_INJECTION(bpf_testmod_test_write, ERRNO);
|
/openbmc/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 45 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 D | compat.h | 48 ALLOW_ERROR_INJECTION(compat_sys_##name, ERRNO); \ 77 ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO); \
|
H A D | syscalls.h | 216 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \ 247 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
|
/openbmc/linux/block/ |
H A D | blk-core.c | 527 ALLOW_ERROR_INJECTION(should_fail_bio, ERRNO);
|
/openbmc/linux/fs/btrfs/ |
H A D | tree-checker.c | 2016 ALLOW_ERROR_INJECTION(btrfs_check_leaf, ERRNO); 2080 ALLOW_ERROR_INJECTION(btrfs_check_node, ERRNO);
|
H A D | ctree.c | 750 ALLOW_ERROR_INJECTION(btrfs_cow_block, ERRNO); 2370 ALLOW_ERROR_INJECTION(btrfs_search_slot, ERRNO);
|
H A D | free-space-cache.c | 402 ALLOW_ERROR_INJECTION(io_ctl_init, ERRNO);
|
H A D | relocation.c | 2906 ALLOW_ERROR_INJECTION(btrfs_should_cancel_balance, TRUE);
|
H A D | disk-io.c | 3635 ALLOW_ERROR_INJECTION(open_ctree, ERRNO);
|
/openbmc/linux/mm/ |
H A D | slab_common.c | 1504 ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
|
H A D | filemap.c | 958 ALLOW_ERROR_INJECTION(__filemap_add_folio, ERRNO);
|
H A D | page_alloc.c | 2812 ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
|
/openbmc/linux/lib/ |
H A D | Kconfig.debug | 1950 ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return
|