Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/kern/
H A Dkern_stackshot.c372 #define stackshot_ctx (stackshot_contexts[cur_stackshot_ctx_idx]) macro
373 #define stackshot_args (stackshot_ctx.sc_args)
610 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_panic_spin()
612 if (stackshot_ctx.sc_calling_cpuid == cpu_number()) { in stackshot_panic_spin()
613 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, acquire) != 0) { in stackshot_panic_spin()
629 if (__improbable(os_atomic_load(&stackshot_ctx.sc_state, relaxed) == SS_PANICKED)) { in stackshot_panic_guard()
650 o_state = os_atomic_xchg(&stackshot_ctx.sc_state, SS_PANICKED, seq_cst); in stackshot_cpu_signal_panic()
658 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_cpu_signal_panic()
660 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, seq_cst) != 0) { in stackshot_cpu_signal_panic()
675 …if (__improbable(!os_atomic_cmpxchgv(&stackshot_ctx.sc_state, SS_RUNNING, err_state, &cur_state, s… in stackshot_set_error()
[all …]