Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Dkern_stackshot.c363 #define stackshot_ctx (stackshot_contexts[cur_stackshot_ctx_idx]) macro
364 #define stackshot_args (stackshot_ctx.sc_args)
597 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_panic_spin()
599 if (stackshot_ctx.sc_calling_cpuid == cpu_number()) { in stackshot_panic_spin()
600 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, acquire) != 0) { in stackshot_panic_spin()
616 if (__improbable(os_atomic_load(&stackshot_ctx.sc_state, relaxed) == SS_PANICKED)) { in stackshot_panic_guard()
637 o_state = os_atomic_xchg(&stackshot_ctx.sc_state, SS_PANICKED, seq_cst); in stackshot_cpu_signal_panic()
645 os_atomic_dec(&stackshot_ctx.sc_cpus_working, acquire); in stackshot_cpu_signal_panic()
647 while (os_atomic_load(&stackshot_ctx.sc_cpus_working, seq_cst) != 0) { in stackshot_cpu_signal_panic()
662 …if (__improbable(!os_atomic_cmpxchgv(&stackshot_ctx.sc_state, SS_RUNNING, err_state, &cur_state, s… in stackshot_set_error()
[all …]