Home
last modified time | relevance | path

Searched refs:fault (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/kvm/include/x86/
A Dapic.h102 uint8_t fault = x2apic_write_reg_safe(reg, value); in x2apic_write_reg() local
104 __GUEST_ASSERT(!fault, "Unexpected fault 0x%x on WRMSR(%x) = %lx\n", in x2apic_write_reg()
105 fault, APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg()
110 uint8_t fault = x2apic_write_reg_safe(reg, value); in x2apic_write_reg_fault() local
112 __GUEST_ASSERT(fault == GP_VECTOR, in x2apic_write_reg_fault()
114 APIC_BASE_MSR + (reg >> 4), value, fault); in x2apic_write_reg_fault()
/tools/testing/selftests/arm64/mte/
A Dcheck_child_memory.c31 int i, parent_tag, child_tag, fault, child_status; in check_child_tag_inheritance() local
35 fault = 0; in check_child_tag_inheritance()
47 fault = 1; in check_child_tag_inheritance()
54 fault = 1; in check_child_tag_inheritance()
62 fault = 1; in check_child_tag_inheritance()
69 fault = 1; in check_child_tag_inheritance()
73 _exit(fault); in check_child_tag_inheritance()
78 fault = WEXITSTATUS(child_status); in check_child_tag_inheritance()
80 fault = 1; in check_child_tag_inheritance()
81 return (fault) ? KSFT_FAIL : KSFT_PASS; in check_child_tag_inheritance()
A Dcheck_hugetlb_options.c96 int i, parent_tag, child_tag, fault, child_status; in check_child_tag_inheritance() local
100 fault = 0; in check_child_tag_inheritance()
112 fault = 1; in check_child_tag_inheritance()
119 fault = 1; in check_child_tag_inheritance()
124 _exit(fault); in check_child_tag_inheritance()
129 fault = WEXITSTATUS(child_status); in check_child_tag_inheritance()
131 fault = 1; in check_child_tag_inheritance()
132 return (fault) ? KSFT_FAIL : KSFT_PASS; in check_child_tag_inheritance()
/tools/testing/selftests/net/tcp_ao/
A Dconnect-deny.c6 #define fault(type) (inj == FAULT_ ## type) macro
58 if (!fault(TIMEOUT)) in try_accept()
61 if (!fault(KEYREJECT)) in try_accept()
66 if (fault(TIMEOUT)) in try_accept()
73 if (fault(TIMEOUT)) in try_accept()
190 if (fault(KEYREJECT) && ret == -EKEYREJECTED) { in try_connect()
192 } else if (ret == -ETIMEDOUT && fault(TIMEOUT)) { in try_connect()
195 (fault(TIMEOUT) || fault(KEYREJECT))) { in try_connect()
203 if (fault(TIMEOUT) || fault(KEYREJECT)) in try_connect()
A Dunsigned-md5.c6 #define fault(type) (inj == FAULT_ ## type) macro
76 if (!fault(TIMEOUT)) in try_accept()
79 if (!fault(KEYREJECT)) in try_accept()
84 if (fault(TIMEOUT)) in try_accept()
91 if (fault(TIMEOUT)) in try_accept()
300 (fault(TIMEOUT) || fault(KEYREJECT))) in try_connect()
307 if (fault(TIMEOUT) || fault(KEYREJECT)) in try_connect()
467 if (fault(POSTINSTALL)) { in try_to_add()
473 } else if (fault(POSTINSTALL)) { in try_to_add()
482 if (fault(POSTINSTALL)) { in try_to_add()
[all …]
A Drestore.c14 #define fault(type) (inj == FAULT_ ## type) macro
26 if (fault(TIMEOUT)) in try_server_run()
55 if (fault(TIMEOUT)) { in try_server_run()
147 if (fault(TIMEOUT)) in test_sk_restore()
168 if (fault(TIMEOUT)) in test_sk_restore()
173 if (fault(TIMEOUT)) in test_sk_restore()
A Dkey-management.c12 #define fault(type) (inj == FAULT_ ## type) macro
121 if ((err == -EBUSY && fault(BUSY)) || (err == -EINVAL && fault(CURRNEXT))) { in try_delete_key()
125 if (err && fault(FIXME)) { in try_delete_key()
131 if (fault(BUSY) || fault(CURRNEXT)) { in try_delete_key()
223 if (!err && !fault(CURRNEXT)) { in try_add_current_rnext_key()
227 if (err == -EINVAL && fault(CURRNEXT)) { in try_add_current_rnext_key()
/tools/testing/selftests/mm/
A Dkhugepaged.c308 ops->fault(p, 0, hpage_pmd_size); in alloc_hpage()
475 .fault = &anon_fault,
483 .fault = &file_fault,
491 .fault = &anon_fault,
648 ops->fault(p, 0, size); in collapse_full()
669 ops->fault(p, 0, page_size); in collapse_single_pte_entry()
716 ops->fault(p, 0, hpage_pmd_size); in collapse_swapin_single_pte()
743 ops->fault(p, 0, hpage_pmd_size); in collapse_max_ptes_swap()
892 ops->fault(p, 0, page_size); in collapse_fork()
954 ops->fault(p, 0, page_size); in collapse_fork_compound()
[all …]
A D.gitignore20 on-fault-limit
A Drun_vmtests.sh362 if command -v sudo &> /dev/null && sudo -u nobody ls ./on-fault-limit >/dev/null;
364 CATEGORY="mlock" run_test sudo -u nobody ./on-fault-limit
A DMakefile85 TEST_GEN_FILES += on-fault-limit
/tools/testing/fault-injection/
A Dfailcmd.sh45 See Documentation/fault-injection/fault-injection.rst for more
/tools/perf/Documentation/
A Dperf-trace.txt258 <min|maj>fault [<ip.symbol>+<ip.offset>] => <addr.dso@addr.offset> (<map type><addr level>).
260 - min/maj indicates whether fault event is minor or major;
262 fault); if no debug symbols available, perf trace will print raw IP;
270 time it took for fault to be handled!
273 for both IP and fault address in the form of dso@symbol+offset.
301 Trace the first minor page fault when running a workload:
314 Trace the next min page page fault to take place on the first CPU:
A Dperf-record.txt219 na, l1_hit, l1_miss, l2_hit, l2_miss, any_hit, any_miss, walk, fault (for mem_dtlb)
A Dperf-intel-pt.txt179 (e.g. page fault or interrupt), then the instruction count does not include the
1743 1 INTR interrupt, fault, exception, NMI
/tools/perf/tests/shell/
A Drecord_bpf_filter.sh139 if perf script -i "${perfdata}" -F event,ip | grep page-fault | \
/tools/perf/util/
A Dbpf-filter.l164 fault { return constant(PERF_MEM_TLB_OS); } /* alias for os */
/tools/testing/selftests/coredump/
A DREADME.rst8 unexpectedly (e.g. due to segmentation fault), which can be useful for debugging. By default,
/tools/testing/selftests/iommu/
A Diommufd_utils.h888 struct iommu_hwpt_pgfault fault = {}; in _test_cmd_trigger_iopf() local
896 bytes = read(fault_fd, &fault, sizeof(fault)); in _test_cmd_trigger_iopf()
900 response.cookie = fault.cookie; in _test_cmd_trigger_iopf()
/tools/testing/vma/
A Dvma_internal.h422 vm_fault_t (*fault)(struct vm_fault *vmf); member
/tools/memory-model/Documentation/
A Dcontrol-dependencies.txt170 Because the first condition cannot fault and the second condition is
/tools/arch/x86/kcpuid/
A Dcpuid.csv855 0x8000000a, 0, edx, 27, ext_lvt_off_chg , Extended LVT offset fault change

Completed in 38 milliseconds