Home
last modified time | relevance | path

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

/linux-6.6.21/arch/s390/include/asm/
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); \
/linux-6.6.21/arch/arm64/include/asm/
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); \
/linux-6.6.21/arch/riscv/include/asm/
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); \
/linux-6.6.21/include/asm-generic/
Derror-injection.h27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ macro
37 #define ALLOW_ERROR_INJECTION(fname, _etype) macro
/linux-6.6.21/arch/powerpc/include/asm/
Dsyscall_wrapper.h20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
/linux-6.6.21/drivers/platform/surface/aggregator/
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);
Dssh_request_layer.c75 ALLOW_ERROR_INJECTION(ssh_rtl_should_drop_response, TRUE);
/linux-6.6.21/arch/x86/include/asm/
Dsyscall_wrapper.h87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod.c308 ALLOW_ERROR_INJECTION(bpf_testmod_test_read, ERRNO);
326 ALLOW_ERROR_INJECTION(bpf_testmod_test_write, ERRNO);
/linux-6.6.21/Documentation/fault-injection/
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
/linux-6.6.21/include/linux/
Dcompat.h48 ALLOW_ERROR_INJECTION(compat_sys_##name, ERRNO); \
77 ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO); \
Dsyscalls.h216 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
247 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
/linux-6.6.21/block/
Dblk-core.c524 ALLOW_ERROR_INJECTION(should_fail_bio, ERRNO);
/linux-6.6.21/fs/btrfs/
Dtree-checker.c1860 ALLOW_ERROR_INJECTION(btrfs_check_leaf, ERRNO);
1924 ALLOW_ERROR_INJECTION(btrfs_check_node, ERRNO);
Dctree.c742 ALLOW_ERROR_INJECTION(btrfs_cow_block, ERRNO);
2362 ALLOW_ERROR_INJECTION(btrfs_search_slot, ERRNO);
Drelocation.c2974 ALLOW_ERROR_INJECTION(btrfs_should_cancel_balance, TRUE);
Dfree-space-cache.c402 ALLOW_ERROR_INJECTION(io_ctl_init, ERRNO);
Ddisk-io.c3633 ALLOW_ERROR_INJECTION(open_ctree, ERRNO);
/linux-6.6.21/mm/
Dslab_common.c1516 ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
Dfilemap.c930 ALLOW_ERROR_INJECTION(__filemap_add_folio, ERRNO);
Dpage_alloc.c2802 ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
/linux-6.6.21/lib/
DKconfig.debug1949 ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return