| /linux-6.15/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); \
|
| /linux-6.15/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); \ 70 ALLOW_ERROR_INJECTION(__arm64_sys_##sname, ERRNO); \
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | syscall_wrapper.h | 52 ALLOW_ERROR_INJECTION(__riscv_compat_sys##name, ERRNO); \ 66 ALLOW_ERROR_INJECTION(__riscv_compat_sys_##sname, ERRNO); \ 80 ALLOW_ERROR_INJECTION(__riscv_sys##name, ERRNO); \ 98 ALLOW_ERROR_INJECTION(__riscv_sys_##sname, ERRNO); \
|
| /linux-6.15/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
|
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | syscall_wrapper.h | 20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \ 39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
|
| /linux-6.15/mm/ |
| H A D | fail_page_alloc.c | 46 ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
|
| H A D | failslab.c | 48 ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
|
| /linux-6.15/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);
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | syscall_wrapper.h | 87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \ 93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
|
| /linux-6.15/net/core/ |
| H A D | skb_fault_injection.c | 31 ALLOW_ERROR_INJECTION(should_fail_net_realloc_skb, TRUE);
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_tile.c | 131 ALLOW_ERROR_INJECTION(xe_tile_init_early, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_sriov.c | 128 ALLOW_ERROR_INJECTION(xe_sriov_init, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_wopcm.c | 273 ALLOW_ERROR_INJECTION(xe_wopcm_init, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_tuning.c | 169 ALLOW_ERROR_INJECTION(xe_tuning_init, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_hw_engine_group.c | 181 ALLOW_ERROR_INJECTION(xe_hw_engine_group_add_exec_queue, ERRNO);
|
| H A D | xe_guc_log.c | 274 ALLOW_ERROR_INJECTION(xe_guc_log_init, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_sync.c | 213 ALLOW_ERROR_INJECTION(xe_sync_entry_parse, ERRNO);
|
| H A D | xe_device.c | 504 ALLOW_ERROR_INJECTION(xe_device_create, ERRNO); /* See xe_pci_probe() */ 673 ALLOW_ERROR_INJECTION(wait_for_lmem_ready, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_exec_queue.c | 206 ALLOW_ERROR_INJECTION(xe_exec_queue_create, ERRNO); 282 ALLOW_ERROR_INJECTION(xe_exec_queue_create_bind, ERRNO);
|
| H A D | xe_pm.c | 278 ALLOW_ERROR_INJECTION(xe_pm_init_early, ERRNO); /* See xe_pci_probe() */
|
| H A D | xe_vm.c | 275 ALLOW_ERROR_INJECTION(xe_vm_add_compute_exec_queue, ERRNO); 799 ALLOW_ERROR_INJECTION(xe_vma_ops_alloc, ERRNO); 1593 ALLOW_ERROR_INJECTION(xe_vm_create_scratch, ERRNO); 2285 ALLOW_ERROR_INJECTION(vm_bind_ioctl_ops_create, ERRNO); 3041 ALLOW_ERROR_INJECTION(vm_bind_ioctl_ops_execute, ERRNO);
|
| /linux-6.15/Documentation/fault-injection/ |
| H A D | fault-injection.rst | 45 ALLOW_ERROR_INJECTION() macro, by setting debugfs entries 295 ALLOW_ERROR_INJECTION() macro. 328 ALLOW_ERROR_INJECTION() macro. You have to choose it carefully if you add
|
| /linux-6.15/include/linux/ |
| H A D | compat.h | 48 ALLOW_ERROR_INJECTION(compat_sys_##name, ERRNO); \ 77 ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO); \
|
| /linux-6.15/drivers/mtd/ |
| H A D | mtdcore.c | 1428 ALLOW_ERROR_INJECTION(mtd_erase, ERRNO); 1528 ALLOW_ERROR_INJECTION(mtd_read, ERRNO); 1545 ALLOW_ERROR_INJECTION(mtd_write, ERRNO); 2366 ALLOW_ERROR_INJECTION(mtd_block_markbad, ERRNO);
|
| /linux-6.15/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.c | 460 ALLOW_ERROR_INJECTION(bpf_testmod_test_read, ERRNO); 478 ALLOW_ERROR_INJECTION(bpf_testmod_test_write, ERRNO);
|