Lines Matching +full:key +full:- +full:int
4 * SPDX-License-Identifier: Apache-2.0
14 static ZTEST_DMEM volatile int expected_reason = -1;
16 void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf) in k_sys_fatal_error_handler()
18 int rv = TC_PASS; in k_sys_fatal_error_handler()
20 TC_PRINT("Caught system error -- reason %d\n", reason); in k_sys_fatal_error_handler()
54 unsigned int key; in entry_oops() local
59 key = irq_lock(); in entry_oops()
61 irq_unlock(key); in entry_oops()
66 unsigned int key; in entry_panic() local
71 key = irq_lock(); in entry_panic()
73 irq_unlock(key); in entry_panic()
86 unsigned int key; in entry_arbitrary_reason() local
91 key = irq_lock(); in entry_arbitrary_reason()
93 irq_unlock(key); in entry_arbitrary_reason()
98 unsigned int key; in entry_arbitrary_reason_negative() local
101 expected_reason = -2; in entry_arbitrary_reason_negative()
103 key = irq_lock(); in entry_arbitrary_reason_negative()
104 z_except_reason(-2); in entry_arbitrary_reason_negative()
105 irq_unlock(key); in entry_arbitrary_reason_negative()