| /tools/testing/selftests/kvm/include/x86/ |
| A D | apic.h | 102 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 D | check_child_memory.c | 31 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 D | check_hugetlb_options.c | 96 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 D | connect-deny.c | 6 #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 D | unsigned-md5.c | 6 #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 D | restore.c | 14 #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 D | key-management.c | 12 #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 D | khugepaged.c | 308 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 | .gitignore | 20 on-fault-limit
|
| A D | run_vmtests.sh | 362 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 D | Makefile | 85 TEST_GEN_FILES += on-fault-limit
|
| /tools/testing/fault-injection/ |
| A D | failcmd.sh | 45 See Documentation/fault-injection/fault-injection.rst for more
|
| /tools/perf/Documentation/ |
| A D | perf-trace.txt | 258 <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 D | perf-record.txt | 219 na, l1_hit, l1_miss, l2_hit, l2_miss, any_hit, any_miss, walk, fault (for mem_dtlb)
|
| A D | perf-intel-pt.txt | 179 (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 D | record_bpf_filter.sh | 139 if perf script -i "${perfdata}" -F event,ip | grep page-fault | \
|
| /tools/perf/util/ |
| A D | bpf-filter.l | 164 fault { return constant(PERF_MEM_TLB_OS); } /* alias for os */
|
| /tools/testing/selftests/coredump/ |
| A D | README.rst | 8 unexpectedly (e.g. due to segmentation fault), which can be useful for debugging. By default,
|
| /tools/testing/selftests/iommu/ |
| A D | iommufd_utils.h | 888 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 D | vma_internal.h | 422 vm_fault_t (*fault)(struct vm_fault *vmf); member
|
| /tools/memory-model/Documentation/ |
| A D | control-dependencies.txt | 170 Because the first condition cannot fault and the second condition is
|
| /tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 855 0x8000000a, 0, edx, 27, ext_lvt_off_chg , Extended LVT offset fault change
|