Lines Matching refs:expected_reason
51 static ZTEST_DMEM volatile int expected_reason = -1; variable
57 if (expected_reason == -1) { in k_sys_fatal_error_handler()
69 if (reason != expected_reason) { in k_sys_fatal_error_handler()
71 expected_reason); in k_sys_fatal_error_handler()
76 expected_reason = -1; in k_sys_fatal_error_handler()
81 expected_reason = K_ERR_CPU_EXCEPTION; in entry_cpu_exception()
106 expected_reason = K_ERR_CPU_EXCEPTION; in entry_cpu_exception_extend()
139 expected_reason = K_ERR_KERNEL_OOPS; in entry_oops()
148 expected_reason = K_ERR_KERNEL_PANIC; in entry_panic()
157 expected_reason = K_ERR_KERNEL_PANIC; in entry_zephyr_assert()
165 expected_reason = INT_MAX; in entry_arbitrary_reason()
174 expected_reason = -2; in entry_arbitrary_reason_negative()
187 expected_reason = K_ERR_STACK_CHK_FAIL; in blow_up_stack()
212 expected_reason = K_ERR_STACK_CHK_FAIL; in blow_up_stack()
491 POINTER_TO_UINT((void *)&expected_reason), in fatal_setup()
492 sizeof(expected_reason), in fatal_setup()