Home
last modified time | relevance | path

Searched refs:err_inject (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dnotifier-error-inject.c31 struct notifier_err_inject *err_inject = in notifier_err_inject_callback() local
35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback()
51 struct notifier_err_inject *err_inject, int priority) in notifier_err_inject_init() argument
58 err_inject->nb.notifier_call = notifier_err_inject_callback; in notifier_err_inject_init()
59 err_inject->nb.priority = priority; in notifier_err_inject_init()
65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init()
Dnotifier-error-inject.h24 struct dentry *parent, struct notifier_err_inject *err_inject,
/kernel/linux/linux-5.10/Documentation/ia64/
Dindex.rst13 err_inject
Derr_inject.rst13 arch/ia64/kernel/err_inject.c. The application sample (shown below)
28 compiles the code. After you install err_inject driver, you can run
114 #define PATH_FORMAT "/sys/devices/system/cpu/cpu%d/err_inject/"
634 int err_inject(int cpu, char *path, err_type_info_t err_type_info,
905 if ((status=err_inject(parameters[i].cpu,
/kernel/linux/linux-5.10/drivers/misc/genwqe/
Dcard_utils.c48 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_writeq()
70 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_readq()
73 if ((cd->err_inject & GENWQE_INJECT_GFIR_FATAL) && in __genwqe_readq()
77 if ((cd->err_inject & GENWQE_INJECT_GFIR_INFO) && in __genwqe_readq()
99 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_writel()
121 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_readl()
Dcard_base.c181 if (cd->err_inject & GENWQE_INJECT_BUS_RESET_FAILURE) in genwqe_bus_reset()
208 cd->err_inject &= ~(GENWQE_INJECT_HARDWARE_FAILURE | in genwqe_bus_reset()
814 cd->err_inject &= ~(GENWQE_INJECT_HARDWARE_FAILURE | in genwqe_platform_recovery()
Dcard_base.h311 u64 err_inject; member
Dcard_debugfs.c333 debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); in genwqe_init_debugfs()
/kernel/linux/linux-5.10/arch/ia64/kernel/
DMakefile34 obj-$(CONFIG_IA64_MC_ERR_INJECT)+= err_inject.o
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Ddebugfs-driver-genwqe61 What: /sys/kernel/debug/genwqe/genwqe<n>_card/err_inject
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Deeh-powernv.c75 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
95 ret = eeh_ops->err_inject(pe, type, func, addr, mask); in pnv_eeh_ei_write()
1635 .err_inject = pnv_eeh_err_inject,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Deeh.h223 int (*err_inject)(struct eeh_pe *pe, int type, int func, member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Deeh.c1553 if (!eeh_ops || !eeh_ops->err_inject) in eeh_pe_inject_err()
1564 return eeh_ops->err_inject(pe, type, func, addr, mask); in eeh_pe_inject_err()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Deeh_pseries.c794 .err_inject = NULL,