/linux-4.4.14/tools/perf/ |
H A D | builtin-inject.c | 2 * builtin-inject.c 4 * Builtin inject command: Examine the live mode (stdin) event stream 46 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) output_bytes() argument 50 size = perf_data_file__write(&inject->output, buf, sz); output_bytes() 54 inject->bytes_written += size; output_bytes() 61 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_synth() local 64 return output_bytes(inject, event, event->header.size); perf_event__repipe_synth() 86 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_attr() local 94 if (!inject->output.is_pipe) perf_event__repipe_attr() 102 static int copy_bytes(struct perf_inject *inject, int fd, off_t size) copy_bytes() argument 112 ret = output_bytes(inject, buf, ssz); copy_bytes() 126 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_auxtrace() local 130 inject->have_auxtrace = true; perf_event__repipe_auxtrace() 132 if (!inject->output.is_pipe) { perf_event__repipe_auxtrace() 135 offset = lseek(inject->output.fd, 0, SEEK_CUR); perf_event__repipe_auxtrace() 145 ret = output_bytes(inject, event, event->header.size); perf_event__repipe_auxtrace() 148 ret = copy_bytes(inject, perf_data_file__fd(session->file), perf_event__repipe_auxtrace() 151 ret = output_bytes(inject, event, perf_event__repipe_auxtrace() 194 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__drop_aux() local 196 if (!inject->aux_id) perf_event__drop_aux() 197 inject->aux_id = sample->id; perf_event__drop_aux() 403 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_process_exit() local 406 list_for_each_entry(ent, &inject->samples, node) { perf_inject__sched_process_exit() 423 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_switch() local 437 list_add(&ent->node, &inject->samples); perf_inject__sched_switch() 450 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_stat() local 453 list_for_each_entry(ent, &inject->samples, node) { perf_inject__sched_stat() 501 static void strip_init(struct perf_inject *inject) strip_init() argument 503 struct perf_evlist *evlist = inject->session->evlist; strip_init() 506 inject->tool.context_switch = perf_event__drop; strip_init() 548 static void strip_fini(struct perf_inject *inject) strip_fini() argument 550 struct perf_evlist *evlist = inject->session->evlist; strip_fini() 564 static int __cmd_inject(struct perf_inject *inject) __cmd_inject() argument 567 struct perf_session *session = inject->session; __cmd_inject() 568 struct perf_data_file *file_out = &inject->output; __cmd_inject() 574 if (inject->build_ids || inject->sched_stat || __cmd_inject() 575 inject->itrace_synth_opts.set) { __cmd_inject() 576 inject->tool.mmap = perf_event__repipe_mmap; __cmd_inject() 577 inject->tool.mmap2 = perf_event__repipe_mmap2; __cmd_inject() 578 inject->tool.fork = perf_event__repipe_fork; __cmd_inject() 579 inject->tool.tracing_data = perf_event__repipe_tracing_data; __cmd_inject() 584 if (inject->build_ids) { __cmd_inject() 585 inject->tool.sample = perf_event__inject_buildid; __cmd_inject() 586 } else if (inject->sched_stat) { __cmd_inject() 602 } else if (inject->itrace_synth_opts.set) { __cmd_inject() 603 session->itrace_synth_opts = &inject->itrace_synth_opts; __cmd_inject() 604 inject->itrace_synth_opts.inject = true; __cmd_inject() 605 inject->tool.comm = perf_event__repipe_comm; __cmd_inject() 606 inject->tool.exit = perf_event__repipe_exit; __cmd_inject() 607 inject->tool.id_index = perf_event__repipe_id_index; __cmd_inject() 608 inject->tool.auxtrace_info = perf_event__process_auxtrace_info; __cmd_inject() 609 inject->tool.auxtrace = perf_event__process_auxtrace; __cmd_inject() 610 inject->tool.aux = perf_event__drop_aux; __cmd_inject() 611 inject->tool.itrace_start = perf_event__drop_aux, __cmd_inject() 612 inject->tool.ordered_events = true; __cmd_inject() 613 inject->tool.ordering_requires_timestamps = true; __cmd_inject() 616 if (inject->strip) __cmd_inject() 617 strip_init(inject); __cmd_inject() 620 if (!inject->itrace_synth_opts.set) __cmd_inject() 629 if (inject->build_ids) { __cmd_inject() 632 if (inject->have_auxtrace) __cmd_inject() 640 if (inject->itrace_synth_opts.set) { __cmd_inject() 645 if (inject->itrace_synth_opts.last_branch) __cmd_inject() 649 inject->aux_id); __cmd_inject() 656 if (inject->strip) __cmd_inject() 657 strip_fini(inject); __cmd_inject() 660 session->header.data_size = inject->bytes_written; __cmd_inject() 669 struct perf_inject inject = { cmd_inject() local 695 .samples = LIST_HEAD_INIT(inject.samples), cmd_inject() 707 OPT_BOOLEAN('b', "build-ids", &inject.build_ids, cmd_inject() 709 OPT_STRING('i', "input", &inject.input_name, "file", cmd_inject() 711 OPT_STRING('o', "output", &inject.output.path, "file", cmd_inject() 713 OPT_BOOLEAN('s', "sched-stat", &inject.sched_stat, cmd_inject() 721 OPT_CALLBACK_OPTARG(0, "itrace", &inject.itrace_synth_opts, cmd_inject() 724 OPT_BOOLEAN(0, "strip", &inject.strip, cmd_inject() 729 "perf inject [<options>]", cmd_inject() 741 if (inject.strip && !inject.itrace_synth_opts.set) { cmd_inject() 746 if (perf_data_file__open(&inject.output)) { cmd_inject() 751 inject.tool.ordered_events = inject.sched_stat; cmd_inject() 753 file.path = inject.input_name; cmd_inject() 754 inject.session = perf_session__new(&file, true, &inject.tool); cmd_inject() 755 if (inject.session == NULL) cmd_inject() 758 ret = symbol__init(&inject.session->header.env); cmd_inject() 762 ret = __cmd_inject(&inject); cmd_inject() 765 perf_session__delete(inject.session); cmd_inject()
|
H A D | perf-with-kcore.sh | 19 echo " <perf sub-command> can be record, script, report or inject" >&2 253 "inject")
|
H A D | builtin-help.c | 443 "script", "sched", "kmem", "lock", "kvm", "test", "inject", "mem", "data", cmd_help()
|
H A D | perf.c | 66 { "inject", cmd_inject, 0 },
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
H A D | Makefile | 7 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
|
H A D | mce-inject.c | 187 "Timeout waiting for mce inject %lx\n",
|
/linux-4.4.14/drivers/edac/ |
H A D | i7core_edac.c | 260 struct i7core_inject inject; member in struct:i7core_pvt 669 Also, since a change at an inject parameter will be applied only at enable, 677 pvt->inject.enable = 0; disable_inject() 679 if (!pvt->pci_ch[pvt->inject.channel][0]) disable_inject() 682 pci_write_config_dword(pvt->pci_ch[pvt->inject.channel][0], disable_inject() 689 * i7core inject inject.section 691 * accept and store error injection inject.section value 704 if (pvt->inject.enable) i7core_inject_section_store() 711 pvt->inject.section = (u32) value; i7core_inject_section_store() 721 return sprintf(data, "0x%08x\n", pvt->inject.section); i7core_inject_section_show() 725 * i7core inject.type 727 * accept and store error injection inject.section value 729 * bit 1 - inject ECC error 730 * bit 2 - inject parity error 741 if (pvt->inject.enable) i7core_inject_type_store() 748 pvt->inject.type = (u32) value; i7core_inject_type_store() 759 return sprintf(data, "0x%08x\n", pvt->inject.type); i7core_inject_type_show() 765 * The type of error (UE/CE) will depend on the inject.eccmask value: 781 if (pvt->inject.enable) i7core_inject_eccmask_store() 788 pvt->inject.eccmask = (u32) value; i7core_inject_eccmask_store() 799 return sprintf(data, "0x%08x\n", pvt->inject.eccmask); i7core_inject_eccmask_show() 805 * The type of error (UE/CE) will depend on the inject.eccmask value: 827 if (pvt->inject.enable) \ 838 pvt->inject.param = value; \ 853 if (pvt->inject.param < 0) \ 856 return sprintf(data, "%d\n", pvt->inject.param);\ 916 * inject mask, then it will produce just one error. Otherwise, it will repeat 934 if (!pvt->pci_ch[pvt->inject.channel][0]) i7core_inject_enable_store() 942 pvt->inject.enable = 1; i7core_inject_enable_store() 948 /* Sets pvt->inject.dimm mask */ i7core_inject_enable_store() 949 if (pvt->inject.dimm < 0) i7core_inject_enable_store() 952 if (pvt->channel[pvt->inject.channel].dimms > 2) i7core_inject_enable_store() 953 mask |= (pvt->inject.dimm & 0x3LL) << 35; i7core_inject_enable_store() 955 mask |= (pvt->inject.dimm & 0x1LL) << 36; i7core_inject_enable_store() 958 /* Sets pvt->inject.rank mask */ i7core_inject_enable_store() 959 if (pvt->inject.rank < 0) i7core_inject_enable_store() 962 if (pvt->channel[pvt->inject.channel].dimms > 2) i7core_inject_enable_store() 963 mask |= (pvt->inject.rank & 0x1LL) << 34; i7core_inject_enable_store() 965 mask |= (pvt->inject.rank & 0x3LL) << 34; i7core_inject_enable_store() 968 /* Sets pvt->inject.bank mask */ i7core_inject_enable_store() 969 if (pvt->inject.bank < 0) i7core_inject_enable_store() 972 mask |= (pvt->inject.bank & 0x15LL) << 30; i7core_inject_enable_store() 974 /* Sets pvt->inject.page mask */ i7core_inject_enable_store() 975 if (pvt->inject.page < 0) i7core_inject_enable_store() 978 mask |= (pvt->inject.page & 0xffff) << 14; i7core_inject_enable_store() 980 /* Sets pvt->inject.column mask */ i7core_inject_enable_store() 981 if (pvt->inject.col < 0) i7core_inject_enable_store() 984 mask |= (pvt->inject.col & 0x3fff); i7core_inject_enable_store() 993 injectmask = (pvt->inject.type & 1) | i7core_inject_enable_store() 994 (pvt->inject.section & 0x3) << 1 | i7core_inject_enable_store() 995 (pvt->inject.type & 0x6) << (3 - 1); i7core_inject_enable_store() 1001 write_and_test(pvt->pci_ch[pvt->inject.channel][0], i7core_inject_enable_store() 1003 write_and_test(pvt->pci_ch[pvt->inject.channel][0], i7core_inject_enable_store() 1006 write_and_test(pvt->pci_ch[pvt->inject.channel][0], i7core_inject_enable_store() 1007 MC_CHANNEL_ERROR_MASK, pvt->inject.eccmask); i7core_inject_enable_store() 1009 write_and_test(pvt->pci_ch[pvt->inject.channel][0], i7core_inject_enable_store() 1020 edac_dbg(0, "Error inject addr match 0x%016llx, ecc 0x%08x, inject 0x%08x\n", i7core_inject_enable_store() 1021 mask, pvt->inject.eccmask, injectmask); i7core_inject_enable_store() 1035 if (!pvt->pci_ch[pvt->inject.channel][0]) i7core_inject_enable_show() 1038 pci_read_config_dword(pvt->pci_ch[pvt->inject.channel][0], i7core_inject_enable_show() 1044 pvt->inject.enable = 1; i7core_inject_enable_show() 1046 return sprintf(data, "%d\n", pvt->inject.enable); i7core_inject_enable_show() 1144 * inject sysfs attributes 2271 pvt->inject.channel = 0; i7core_register_mci() 2272 pvt->inject.dimm = -1; i7core_register_mci() 2273 pvt->inject.rank = -1; i7core_register_mci() 2274 pvt->inject.bank = -1; i7core_register_mci() 2275 pvt->inject.page = -1; i7core_register_mci() 2276 pvt->inject.col = -1; i7core_register_mci()
|
H A D | octeon_edac-lmc.c | 30 unsigned long inject; member in struct:octeon_lmc_pvt 79 if (!pvt->inject) octeon_lmc_edac_poll_o2() 90 if (likely(!pvt->inject)) octeon_lmc_edac_poll_o2() 120 if (likely(!pvt->inject)) octeon_lmc_edac_poll_o2() 123 pvt->inject = 0; octeon_lmc_edac_poll_o2() 154 TEMPLATE_SHOW(inject); variable 155 TEMPLATE_STORE(inject); variable 197 static DEVICE_ATTR(inject, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/lib/ |
H A D | Makefile | 119 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o 120 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o 121 obj-$(CONFIG_CPU_NOTIFIER_ERROR_INJECT) += cpu-notifier-error-inject.o 122 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o 123 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o 125 of-reconfig-notifier-error-inject.o
|
H A D | cpu-notifier-error-inject.c | 5 #include "notifier-error-inject.h"
|
H A D | memory-notifier-error-inject.c | 5 #include "notifier-error-inject.h"
|
H A D | of-reconfig-notifier-error-inject.c | 5 #include "notifier-error-inject.h"
|
H A D | pm-notifier-error-inject.c | 5 #include "notifier-error-inject.h"
|
H A D | notifier-error-inject.c | 3 #include "notifier-error-inject.h" 94 debugfs_create_dir("notifier-error-inject", NULL); err_inject_init()
|
H A D | fault-inject.c | 11 #include <linux/fault-inject.h>
|
/linux-4.4.14/drivers/vfio/ |
H A D | virqfd.c | 56 schedule_work(&virqfd->inject); virqfd_wakeup() 94 flush_work(&virqfd->inject); virqfd_shutdown() 102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); virqfd_inject() 129 INIT_WORK(&virqfd->inject, virqfd_inject); vfio_virqfd_enable() 177 schedule_work(&virqfd->inject); vfio_virqfd_enable()
|
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 214 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/cpu 220 /sbin/modprobe -q -r cpu-notifier-error-inject 221 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority 229 echo $msg cpu-notifier-error-inject module is not available >&2 269 /sbin/modprobe -q -r cpu-notifier-error-inject
|
/linux-4.4.14/tools/testing/selftests/memory-hotplug/ |
H A D | mem-on-off-test.sh | 181 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory 187 /sbin/modprobe -q -r memory-notifier-error-inject 188 /sbin/modprobe -q memory-notifier-error-inject priority=$priority 196 echo $msg memory-notifier-error-inject module is not available >&2 238 /sbin/modprobe -q -r memory-notifier-error-inject
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | mce.h | 17 __u8 inject_flags; /* software inject flags */
|
/linux-4.4.14/mm/ |
H A D | failslab.c | 1 #include <linux/fault-inject.h>
|
H A D | hwpoison-inject.c | 35 goto inject; hwpoison_inject() 54 inject: hwpoison_inject()
|
H A D | Makefile | 67 obj-$(CONFIG_HWPOISON_INJECT) += hwpoison-inject.o
|
H A D | slab.c | 112 #include <linux/fault-inject.h>
|
H A D | slub.c | 33 #include <linux/fault-inject.h>
|
H A D | page_alloc.c | 50 #include <linux/fault-inject.h>
|
/linux-4.4.14/include/linux/ |
H A D | kvm_irqfd.h | 11 * irqfd: Allows an fd to be used to inject an interrupt to the guest 55 struct work_struct inject; member in struct:kvm_kernel_irqfd
|
H A D | vfio.h | 125 struct work_struct inject; member in struct:virqfd
|
/linux-4.4.14/arch/arm64/kvm/ |
H A D | inject_fault.c | 160 * kvm_inject_dabt - inject a data abort into the guest 176 * kvm_inject_pabt - inject a prefetch abort into the guest 192 * kvm_inject_undefined - inject an undefined instruction into the guest
|
H A D | handle_exit.c | 93 * userspace to re-inject the correct exception for guest delivery.
|
/linux-4.4.14/arch/s390/kvm/ |
H A D | trace-s390.h | 142 TP_printk("inject%s: type:%x (%s) parm:%x parm64:%llx", 167 TP_printk("inject (vcpu %d): type:%x (%s) parm:%x parm64:%llx",
|
H A D | gaccess.h | 93 * It is wrong to inject a guest exception. 121 * It is wrong to inject a guest exception. 147 * It is wrong to inject a guest exception. 192 * will inject a correct exception into the guest. 203 * contents of pgm may be used to inject an exception into the
|
H A D | interrupt.c | 962 VCPU_EVENT(vcpu, 3, "inject: program irq code 0x%x", irq->u.pgm.code); __inject_prog() 994 VCPU_EVENT(vcpu, 4, "inject: pfault init parameter block at 0x%llx", __inject_pfault_init() 1027 VCPU_EVENT(vcpu, 4, "inject: external call source-cpu:%u", __inject_extcall() 1051 VCPU_EVENT(vcpu, 3, "inject: set prefix to %x", __inject_set_prefix() 1095 VCPU_EVENT(vcpu, 3, "%s", "inject: restart int"); __inject_sigp_restart() 1107 VCPU_EVENT(vcpu, 4, "inject: emergency from cpu %u", __inject_sigp_emergency() 1127 VCPU_EVENT(vcpu, 3, "inject: machine check mcic 0x%llx", __inject_mchk() 1157 VCPU_EVENT(vcpu, 3, "%s", "inject: clock comparator external"); __inject_ckc() 1170 VCPU_EVENT(vcpu, 3, "%s", "inject: cpu timer external"); __inject_cpu_timer() 1233 * Early versions of the QEMU s390 bios will inject several __inject_service() 1411 VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%llx", kvm_s390_inject_vm() 1417 VM_EVENT(kvm, 4, "inject: sclp parm:%x", s390int->parm); kvm_s390_inject_vm() 1424 VM_EVENT(kvm, 3, "inject: machine check mcic 0x%llx", kvm_s390_inject_vm() 1431 VM_EVENT(kvm, 5, "%s", "inject: I/O (AI)"); kvm_s390_inject_vm() 1433 VM_EVENT(kvm, 5, "inject: I/O css %x ss %x schid %04x", kvm_s390_inject_vm()
|
H A D | kvm-s390.h | 285 * kvm_s390_inject_prog_cond - conditionally inject a program check 290 * failed, to conditionally inject a program check to a vcpu. The typical
|
H A D | kvm-s390.c | 1928 /* s390 will always inject the page directly */ kvm_arch_async_page_ready() 1934 * s390 will always inject the page directly, kvm_arch_can_inject_async_page_present() 2021 * We want to inject an addressing exception, which is defined as a vcpu_post_run_fault_in_sie()
|
H A D | priv.c | 297 * so that userspace can re-inject it if the instruction gets handle_tsch()
|
/linux-4.4.14/tools/testing/fault-injection/ |
H A D | failcmd.sh | 58 inject slab allocation failures 60 inject page allocation failures
|
/linux-4.4.14/drivers/media/tuners/ |
H A D | tea5767.c | 243 tuner_dbg("radio HIGH LO inject xtal @ 13 MHz\n"); set_radio_freq() 248 tuner_dbg("radio LOW LO inject xtal @ 13 MHz\n"); set_radio_freq() 253 tuner_dbg("radio LOW LO inject xtal @ 32,768 MHz\n"); set_radio_freq() 260 tuner_dbg("radio HIGH LO inject xtal @ 32,768 MHz\n"); set_radio_freq()
|
/linux-4.4.14/arch/x86/ras/ |
H A D | mce_amd_inj.c | 171 * On which CPU to inject? 359 "cpu:\t The CPU to inject the error on.\n" 361 "bank:\t Specify the bank you want to inject the error into: the number of\n" 419 dfs_inj = debugfs_create_dir("mce-inject", NULL); init_mce_inject()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | mce.h | 78 #define MCJ_CTX_RANDOM 0 /* inject context: random */ 79 #define MCJ_CTX_PROCESS 0x1 /* inject context: process */ 80 #define MCJ_CTX_IRQ 0x2 /* inject context: IRQ */
|
H A D | kvm_emulate.h | 296 bool ud; /* inject an #UD if host doesn't support insn */
|
H A D | kvm_host.h | 512 bool nmi_injected; /* Trying to inject an NMI this entry */
|
/linux-4.4.14/drivers/staging/skein/ |
H A D | skein_block.c | 75 /* inject the key schedule value */ \ 87 /* inject the key schedule value */ \ 157 /* inject the key schedule value */ \ 174 /* inject the key schedule value */ \ 262 /* inject the key schedule value */ \ 288 /* inject the key schedule value */ \
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | i8254.c | 250 * that we needed to inject. Reinject kvm_pit_ack_irq() 285 int inject = 0; pit_do_work() local 287 /* Try to inject pending interrupts when pit_do_work() 292 inject = 1; pit_do_work() 295 inject = 1; pit_do_work() 298 if (inject) { pit_do_work()
|
H A D | paging_tmpl.h | 417 * We set up the value of exit_qualification to inject: walk_addr_generic()
|
H A D | vmx.c | 2256 * KVM wants to inject page-faults which it got to the guest. This function 2257 * checks whether in a nested guest, we need to inject them to L1 or L2. 5871 * Are we supposed to inject them and update dr6? handle_task_switch() 6806 * slightly different). It also specifies what exception to inject otherwise. 8711 * we did not inject a still-pending event to L1 now because of vmx_vcpu_run() 10262 * Transfer the event that L0 or L1 may wanted to inject into prepare_vmcs12()
|
H A D | lapic.c | 1879 * on exit" mode. Then we cannot inject the interrupt via RVI, kvm_get_apic_interrupt()
|
H A D | x86.c | 2799 * With in-kernel LAPIC, we only use this to inject EXTINT, so kvm_vcpu_ioctl_interrupt() 6030 /* try to inject new event if pending */ inject_pending_event() 6064 * Otherwise, allow two (and we'll inject the first one immediately). process_nmi() 7130 * Trigger an rflags update that will inject or remove the trace kvm_arch_vcpu_ioctl_set_guest_debug()
|
H A D | emulate.c | 2689 /* inject #GP if in real mode */ em_sysenter() 2740 /* inject #GP if in real mode or Virtual 8086 mode */ em_sysexit()
|
/linux-4.4.14/virt/kvm/ |
H A D | eventfd.c | 51 container_of(work, struct kvm_kernel_irqfd, inject); irqfd_inject() 134 flush_work(&irqfd->inject); irqfd_shutdown() 203 /* An event has been signaled, inject an interrupt */ irqfd_wakeup() 207 schedule_work(&irqfd->inject); irqfd_wakeup() 303 INIT_WORK(&irqfd->inject, irqfd_inject); kvm_irqfd_assign() 403 schedule_work(&irqfd->inject); kvm_irqfd_assign()
|
/linux-4.4.14/arch/arm/kvm/ |
H A D | emulate.c | 279 * kvm_inject_undefined - inject an undefined exception into the guest 379 * kvm_inject_dabt - inject a data abort into the guest 392 * kvm_inject_pabt - inject a prefetch abort into the guest
|
H A D | interrupts.S | 479 * inject an undefined exception to the guest.
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc.h | 902 struct dentry *debug_InjErrLBA; /* LBA to inject errors at */ 903 struct dentry *debug_InjErrNPortID; /* NPortID to inject errors at */ 904 struct dentry *debug_InjErrWWPN; /* WWPN to inject errors at */ 905 struct dentry *debug_writeGuard; /* inject write guard_tag errors */ 906 struct dentry *debug_writeApp; /* inject write app_tag errors */ 907 struct dentry *debug_writeRef; /* inject write ref_tag errors */ 908 struct dentry *debug_readGuard; /* inject read guard_tag errors */ 909 struct dentry *debug_readApp; /* inject read app_tag errors */ 910 struct dentry *debug_readRef; /* inject read ref_tag errors */
|
H A D | lpfc_scsi.c | 1282 * lpfc_bg_err_inject - Determine if we should inject an error
|
/linux-4.4.14/drivers/mtd/tests/ |
H A D | mtd_nandecctest.c | 33 * The reason for this __change_bit_le() instead of __change_bit() is to inject 77 * Don't inject a bit error into the insignificant bits (16th random_ecc_bit()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_modparams.c | 119 MODULE_PARM_DESC(inject_csum_error, "set non-zero to inject a checksum error");
|
H A D | socklnd.h | 150 int *ksnd_inject_csum_error; /* set non-zero to inject
|
/linux-4.4.14/drivers/acpi/apei/ |
H A D | einj.c | 536 goto inject; einj_error_inject() 541 goto inject; einj_error_inject() 543 goto inject; einj_error_inject() 554 inject: einj_error_inject()
|
/linux-4.4.14/block/ |
H A D | blk-timeout.c | 7 #include <linux/fault-inject.h>
|
H A D | blk-core.c | 30 #include <linux/fault-inject.h>
|
/linux-4.4.14/drivers/pci/pcie/aer/ |
H A D | aer_inject.c | 7 * user space helper tool aer-inject, which can be gotten from: 8 * http://www.kernel.org/pub/linux/utils/pci/aer-inject/
|
/linux-4.4.14/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 368 * Note: we do not inject sig = WSTOPSIG(status). ptrace_me() 369 * We probably should, but careful: do not inject SIGTRAP ptrace_me()
|
/linux-4.4.14/tools/perf/util/ |
H A D | auxtrace.h | 55 * @inject: indicates the event (not just the sample) must be fully synthesized 56 * because 'perf inject' will write it out 74 bool inject; member in struct:itrace_synth_opts
|
H A D | intel-pt.c | 1008 if (pt->synth_opts.inject) { intel_pt_synth_branch_sample() 1062 if (pt->synth_opts.inject) { intel_pt_synth_instruction_sample() 1117 if (pt->synth_opts.inject) { intel_pt_synth_transaction_sample()
|
H A D | intel-bts.c | 293 if (bts->synth_opts.inject) { intel_bts_synth_branch_sample()
|
/linux-4.4.14/virt/kvm/arm/ |
H A D | arch_timer.c | 244 * and inject an interrupt if that was the case. 288 * and inject an interrupt if that was the case.
|
H A D | vgic.c | 1511 * Only inject an interrupt if: vgic_validate_injection()
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_pm.c | 147 * is due to a storage enclosure that does not inject scsi_bus_resume_common()
|
H A D | scsi_debug.c | 3942 int k, num_in_q, qdepth, inject; schedule_resp() local 3968 inject = 0; schedule_resp() 3982 inject = 1; schedule_resp() 4056 num_in_q, (inject ? "<inject> " : ""), schedule_resp()
|
H A D | osst.c | 433 static int inject = 0; osst_do_scsi() 497 ( (++ inject % 83) == 29 || osst_do_scsi() 432 static int inject = 0; osst_do_scsi() local
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | debugfs.c | 17 #include <linux/fault-inject.h>
|
H A D | core.c | 28 #include <linux/fault-inject.h>
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | ras.c | 284 * The BMC can inject user triggered system reset exceptions, cbe_sysreset_hack()
|
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
H A D | brw_test.c | 49 MODULE_PARM_DESC(brw_inject_errors, "# data errors to inject randomly, zero by default");
|
/linux-4.4.14/fs/isofs/ |
H A D | compress.c | 294 * per reference. We inject the additional pages into the page
|
/linux-4.4.14/include/xen/interface/ |
H A D | xen-mca.h | 345 __u8 inject_flags; /* software inject flags */
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-hmi.c | 78 "Debug Trigger Error inject" }, print_core_checkstop_reason()
|
H A D | eeh-powernv.c | 1045 * The routine is called to inject specified error, which is
|
/linux-4.4.14/include/linux/mmc/ |
H A D | host.h | 18 #include <linux/fault-inject.h>
|
/linux-4.4.14/drivers/tty/ |
H A D | sysrq.c | 786 * to re-inject Alt-SysRq keysroke. sysrq_handle_keypress()
|
H A D | mips_ejtag_fdc.c | 331 * Copy the next few characters to a buffer so we can inject mips_ejtag_fdc_console_write()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | vfio.h | 496 * - inject EEH error.
|
/linux-4.4.14/arch/mips/kvm/ |
H A D | emulate.c | 316 * not, we shouldn't inject it. kvm_mips_read_count_running() 2575 * case we inject the TLB from the Guest TLB into the shadow host TLB 2593 * send the guest an exception. The guest exc handler should then inject kvm_mips_handle_tlbmiss() 2633 * OK we have a Guest TLB entry, now inject it into the kvm_mips_handle_tlbmiss()
|
H A D | trap_emul.c | 205 * shadow, in this case we inject the TLB from the Guest TLB kvm_trap_emul_handle_tlb_ld_miss()
|
/linux-4.4.14/sound/soc/omap/ |
H A D | omap-mcbsp.c | 536 * disable output on those pins. This enables to inject the omap_mcbsp_dai_set_dai_sysclk()
|
/linux-4.4.14/tools/vm/ |
H A D | page-types.c | 518 perror("hwpoison inject"); hwpoison_page()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_pr.c | 1229 * inject again, so let's postpone them until we're in the guest kvmppc_handle_exit_pr() 1479 * Interrupts could be timers for the guest which we have to inject kvmppc_vcpu_run_pr()
|
H A D | book3s_hv_rmhandlers.S | 2410 * HSRR0 instead of exiting guest. This new approach will inject
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
H A D | dma.c | 1116 /* Check if we should inject another ringbuffer overflow should_inject_overflow()
|
/linux-4.4.14/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 1336 /* we have to inject some packet */ eth_close()
|
/linux-4.4.14/drivers/bluetooth/ |
H A D | hci_intel.c | 1136 * control working inject that event here. intel_dequeue()
|
H A D | btusb.c | 1974 * control working inject that event here. btusb_send_frame_intel()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | iommu.c | 37 #include <linux/fault-inject.h>
|
H A D | eeh.c | 1669 * The routine is called to inject the specified PCI error, which
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
H A D | cryptocop.c | 528 /* Map the ouput length of the transform to operation output starting on the inject index. */ create_input_descriptors() 548 /* Traverse the out iovec until the result inject index is reached. */ create_input_descriptors()
|
/linux-4.4.14/net/core/ |
H A D | pktgen.c | 381 * device name (not when the inject is 3931 MODULE_PARM_DESC(pg_count_d, "Default number of packets to inject");
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | dma.c | 1354 /* Check if we should inject another ringbuffer overflow should_inject_overflow()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | enlighten.c | 792 * when xen hypervisor inject vMCE to guest, cvt_gate_to_trap()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 1135 /* Find out where to inject the packet for transmission */ netcp_tx_submit_skb()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1214 * we inject our Work Request. t4vf_eth_xmit()
|
/linux-4.4.14/fs/ |
H A D | eventpoll.c | 655 * Quickly re-inject items left on "txlist". ep_scan_ready_list()
|
/linux-4.4.14/kernel/printk/ |
H A D | printk.c | 606 /* /dev/kmsg - userspace message inject/listen interface */
|
/linux-4.4.14/include/rdma/ |
H A D | ib_verbs.h | 2159 * inject the proper headers for the fabric we are communicating over.
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 4583 * test harness is responsible enough not to inject gpu hangs i915_wedged_set()
|
H A D | i915_gem.c | 2499 * will inject to ring i915_gem_set_seqno()
|
/linux-4.4.14/kernel/ |
H A D | futex.c | 67 #include <linux/fault-inject.h>
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp_output.c | 375 /* Not-retransmitted data segment: set ECT and inject CWR. */ tcp_ecn_send()
|
/linux-4.4.14/net/mac80211/ |
H A D | tx.c | 1875 * Since AP mode uses monitor interfaces to inject/TX management ieee80211_monitor_start_xmit()
|
/linux-4.4.14/tools/lguest/ |
H A D | lguest.c | 2834 * routing, but the principle is the same: it uses the "tun" device to inject
|