Home
last modified time | relevance | path

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

/xnu-11215.81.4/osfmk/kern/
H A Dkern_stackshot.c368 #define stackshot_ctx (stackshot_contexts[cur_stackshot_ctx_idx]) macro
369 #define stackshot_args (stackshot_ctx.sc_args)
602 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_panic_spin()
604 if (stackshot_ctx.sc_calling_cpuid == cpu_number()) { in stackshot_panic_spin()
605 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, acquire) != 0) { in stackshot_panic_spin()
621 if (__improbable(os_atomic_load(&stackshot_ctx.sc_state, relaxed) == SS_PANICKED)) { in stackshot_panic_guard()
642 o_state = os_atomic_xchg(&stackshot_ctx.sc_state, SS_PANICKED, seq_cst); in stackshot_cpu_signal_panic()
650 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_cpu_signal_panic()
652 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, seq_cst) != 0) { in stackshot_cpu_signal_panic()
667 …if (__improbable(!os_atomic_cmpxchgv(&stackshot_ctx.sc_state, SS_RUNNING, err_state, &cur_state, s… in stackshot_set_error()
[all …]