Home
last modified time | relevance | path

Searched refs:remaining_faults (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c25 static volatile sig_atomic_t remaining_faults; variable
53 if (!remaining_faults) { in segv_handler()
99 remaining_faults--; in segv_handler()
178 remaining_faults = 0; in test()
183 FAIL_IF(remaining_faults != 0); in test()
195 remaining_faults = 1; in test()
215 remaining_faults = 1; in test()
232 remaining_faults = 2; in test()
264 remaining_faults = 0; in test()
267 remaining_faults = 1; in test()
[all …]
H A Dexec_prot.c27 static volatile sig_atomic_t remaining_faults; variable
65 if (!remaining_faults) { in segv_handler()
82 remaining_faults--; in segv_handler()
94 remaining_faults = 0; in check_exec_fault()
96 remaining_faults = 1; in check_exec_fault()
101 FAIL_IF(remaining_faults != 0); in check_exec_fault()
171 remaining_faults = 1; in test()
175 FAIL_IF(remaining_faults != 0 || !is_fault_expected(fault_code)); in test()
183 remaining_faults = 1; in test()
187 FAIL_IF(remaining_faults != 0 || !is_fault_expected(fault_code)); in test()