Home
last modified time | relevance | path

Searched refs:inj (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/Documentation/ABI/testing/
H A Ddebugfs-cec-error-inj1 What: /sys/kernel/debug/cec/*/error-inj
7 debugfs. Drivers that support this will create an error-inj file
21 This ensures that you can always do 'echo clear >error-inj' to clear any
25 Note that the output of 'error-inj' shall be valid as input to 'error-inj'.
28 $ cat error-inj >einj.txt
29 $ cat einj.txt >error-inj
40 - Documentation/userspace-api/media/cec/cec-pin-error-inj.rst
/linux-6.15/tools/testing/selftests/net/tcp_ao/
H A Dunsigned-md5.c6 #define fault(type) (inj == FAULT_ ## type)
43 int needs_tcp_md5, fault_t inj) in try_accept() argument
268 fault_t inj, int needs_tcp_md5, union tcp_addr *bind_addr) in try_connect() argument
345 fault_t inj, bool added_ao) in test_continue() argument
373 fault_t inj) in open_add() argument
393 if (!test_continue(tst_name, err, inj, true)) { in open_add()
402 if (!test_continue(tst_name, -errno, inj, false)) { in open_add()
418 int needs_tcp_md5, int needs_vrf, fault_t inj) in try_to_preadd() argument
429 sndid, rcvid, inj); in try_to_preadd()
443 int needs_tcp_md5, fault_t inj) in try_to_add() argument
[all …]
H A Drestore.c14 #define fault(type) (inj == FAULT_ ## type)
17 fault_t inj, test_cnt cnt_expected) in try_server_run() argument
139 fault_t inj, test_cnt cnt_expected) in test_sk_restore() argument
H A Dconnect-deny.c6 #define fault(type) (inj == FAULT_ ## type)
36 fault_t inj) in try_accept() argument
169 test_cnt cnt_expected, fault_t inj) in try_connect() argument
H A Dkey-management.c12 #define fault(type) (inj == FAULT_ ## type)
116 fault_t inj) in try_delete_key() argument
217 uint8_t sndid, uint8_t rcvid, fault_t inj) in try_add_current_rnext_key() argument
/linux-6.15/drivers/edac/
H A Damd64_edac.h230 #define SET_NB_DRAM_INJECTION_WRITE(inj) \ argument
231 (BIT(((inj.word) & 0xF) + 20) | \
232 F10_NB_ARR_ECC_WR_REQ | inj.bit_map)
233 #define SET_NB_DRAM_INJECTION_READ(inj) \ argument
234 (BIT(((inj.word) & 0xF) + 20) | \
235 BIT(16) | inj.bit_map)
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dxen_shinfo_test.c598 struct kvm_xen_hvm_attr inj = { in main() local
607 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &inj); in main()
610 inj.u.evtchn.flags = KVM_XEN_EVTCHN_UPDATE; in main()
611 inj.u.evtchn.deliver.port.vcpu = vcpu->id; in main()
612 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &inj); in main()
614 inj.u.evtchn.send_port = 197; in main()
615 inj.u.evtchn.deliver.eventfd.port = 0; in main()
616 inj.u.evtchn.deliver.eventfd.fd = irq_fd[1]; in main()
617 inj.u.evtchn.flags = 0; in main()
618 vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &inj); in main()
/linux-6.15/drivers/media/cec/core/
H A DMakefile13 cec-objs += cec-pin-error-inj.o
/linux-6.15/Documentation/userspace-api/media/cec/
H A Dcec-api.rst20 cec-pin-error-inj
H A Dcec-pin-error-inj.rst25 now an ``error-inj`` file.
32 With ``cat error-inj`` you can see both the possible commands and the current
35 $ cat /sys/kernel/debug/cec/cec0/error-inj
80 You can write error injection commands to ``error-inj`` using
81 ``echo 'cmd' >error-inj`` or ``cat cmd.txt >error-inj``. The ``cat error-inj``
83 and use it as an input to ``error-inj`` later.
/linux-6.15/tools/perf/tests/shell/
H A Dtest_java_symbol.sh14 PERF_INJ_DATA=$(mktemp /tmp/__perf_test.perf.data.inj.XXXXX)
/linux-6.15/Documentation/driver-api/media/
H A Dcec-core.rst342 If both callbacks are set, then an ``error-inj`` file will appear in debugfs.
353 This ensures that you can always do ``echo clear >error-inj`` to clear any error
356 Note that the output of ``error-inj`` shall be valid as input to ``error-inj``.
361 $ cat error-inj >einj.txt
362 $ cat einj.txt >error-inj
372 The second callback will parse commands written to the ``error-inj`` file::
/linux-6.15/tools/testing/nvdimm/test/
H A Dnfit.c776 struct nd_intel_smart_inject *inj, in nfit_test_cmd_smart_inject() argument
782 if (buf_len != sizeof(*inj)) in nfit_test_cmd_smart_inject()
785 if (inj->flags & ND_INTEL_SMART_INJECT_MTEMP) { in nfit_test_cmd_smart_inject()
786 if (inj->mtemp_enable) in nfit_test_cmd_smart_inject()
791 if (inj->flags & ND_INTEL_SMART_INJECT_SPARE) { in nfit_test_cmd_smart_inject()
792 if (inj->spare_enable) in nfit_test_cmd_smart_inject()
793 smart->spares = inj->spares; in nfit_test_cmd_smart_inject()
797 if (inj->flags & ND_INTEL_SMART_INJECT_FATAL) { in nfit_test_cmd_smart_inject()
798 if (inj->fatal_enable) in nfit_test_cmd_smart_inject()
804 if (inj->unsafe_shutdown_enable) { in nfit_test_cmd_smart_inject()
[all …]
/linux-6.15/arch/mips/boot/dts/mscc/
H A Docelot.dtsi146 interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
/linux-6.15/Documentation/trace/coresight/
H A Dcoresight.rst572 $ perf inject -i perf.data -o inj.data --itrace=il64 --strip
573 $ create_gcov --binary=./sort --profile=inj.data --gcov=sort.gcov -gcov_version=1
/linux-6.15/tools/perf/Documentation/
H A Dperf-intel-pt.txt1274 $ perf inject -i perf.data -o inj --itrace=i100usle --strip
1275 $ ./create_gcov --binary=./sort --profile=inj --gcov=sort.gcov -gcov_version=1
1588 …$ perf inject -i guest-sideband-testing-host-perf.data -o inj --guestmount ~/guestmount --guest-da…
1599 …$ perf script -i inj --itrace=ce -F+machine_pid,+vcpu,+addr,+pid,+tid,-period --ns --time 7919.408…
/linux-6.15/
H A DMAINTAINERS5396 F: Documentation/ABI/testing/debugfs-cec-error-inj