Home
last modified time | relevance | path

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

12

/linux-6.15/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); \
/linux-6.15/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); \
70 ALLOW_ERROR_INJECTION(__arm64_sys_##sname, ERRNO); \
/linux-6.15/arch/riscv/include/asm/
H A Dsyscall_wrapper.h52 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 Derror-injection.h27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ macro
37 #define ALLOW_ERROR_INJECTION(fname, _etype) macro
/linux-6.15/arch/powerpc/include/asm/
H A Dsyscall_wrapper.h20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
39 ALLOW_ERROR_INJECTION(sys_##sname, ERRNO); \
/linux-6.15/mm/
H A Dfail_page_alloc.c46 ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
H A Dfailslab.c48 ALLOW_ERROR_INJECTION(should_failslab, ERRNO);
/linux-6.15/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);
/linux-6.15/arch/x86/include/asm/
H A Dsyscall_wrapper.h87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
/linux-6.15/net/core/
H A Dskb_fault_injection.c31 ALLOW_ERROR_INJECTION(should_fail_net_realloc_skb, TRUE);
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_tile.c131 ALLOW_ERROR_INJECTION(xe_tile_init_early, ERRNO); /* See xe_pci_probe() */
H A Dxe_sriov.c128 ALLOW_ERROR_INJECTION(xe_sriov_init, ERRNO); /* See xe_pci_probe() */
H A Dxe_wopcm.c273 ALLOW_ERROR_INJECTION(xe_wopcm_init, ERRNO); /* See xe_pci_probe() */
H A Dxe_tuning.c169 ALLOW_ERROR_INJECTION(xe_tuning_init, ERRNO); /* See xe_pci_probe() */
H A Dxe_hw_engine_group.c181 ALLOW_ERROR_INJECTION(xe_hw_engine_group_add_exec_queue, ERRNO);
H A Dxe_guc_log.c274 ALLOW_ERROR_INJECTION(xe_guc_log_init, ERRNO); /* See xe_pci_probe() */
H A Dxe_sync.c213 ALLOW_ERROR_INJECTION(xe_sync_entry_parse, ERRNO);
H A Dxe_device.c504 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 Dxe_exec_queue.c206 ALLOW_ERROR_INJECTION(xe_exec_queue_create, ERRNO);
282 ALLOW_ERROR_INJECTION(xe_exec_queue_create_bind, ERRNO);
H A Dxe_pm.c278 ALLOW_ERROR_INJECTION(xe_pm_init_early, ERRNO); /* See xe_pci_probe() */
H A Dxe_vm.c275 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 Dfault-injection.rst45 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 Dcompat.h48 ALLOW_ERROR_INJECTION(compat_sys_##name, ERRNO); \
77 ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO); \
/linux-6.15/drivers/mtd/
H A Dmtdcore.c1428 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 Dbpf_testmod.c460 ALLOW_ERROR_INJECTION(bpf_testmod_test_read, ERRNO);
478 ALLOW_ERROR_INJECTION(bpf_testmod_test_write, ERRNO);

12