Home
last modified time | relevance | path

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

/openbsd/sys/arch/m88k/m88k/
H A Dmutex.c87 if (panicstr || db_active) in mtx_enter_try()
121 if (panicstr || db_active) in mtx_enter()
157 if (panicstr || db_active) in mtx_leave()
/openbsd/sys/sys/
H A Dmutex.h78 if (((mtx)->mtx_owner != curcpu()) && !(panicstr || db_active)) \
83 if (((mtx)->mtx_owner == curcpu()) && !(panicstr || db_active)) \
131 (((mtx)->mtx_owner == curcpu()) || panicstr || db_active)
H A Dsystm.h74 extern const char *panicstr; /* panic message */
422 #define KERNEL_ASSERT_UNLOCKED() KASSERT(panicstr || db_active || !_kernel_lock_held())
H A Dsmr.h58 if (panicstr == NULL && !db_active) \
62 if (panicstr == NULL && !db_active) \
/openbsd/sys/kern/
H A Dkern_rwlock.c258 if (panicstr || db_active) in rw_enter()
320 if (panicstr || db_active) in rw_exit()
377 if (panicstr || db_active) in rw_assert_wrlock()
394 if (panicstr || db_active) in rw_assert_rdlock()
408 if (panicstr || db_active) in rw_assert_anylock()
426 if (panicstr || db_active) in rw_assert_unlocked()
H A Dkern_lock.c76 if (panicstr || db_active) in _kernel_lock_held()
286 if (panicstr || db_active) in mtx_enter_try()
320 if (panicstr || db_active) in mtx_enter()
356 if (panicstr || db_active) in mtx_leave()
H A Dsubr_prf.c96 const char *panicstr; /* arg to first call to panic (used as a flag variable
198 if (atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf) != NULL) in panic()
242 if (panicstr || db_active) in splassert_fail()
353 if (panicstr) in kputchar()
532 if (!panicstr) in printf()
552 if (!panicstr) in vprintf()
H A Dsubr_witness.c583 if (witness_watch < 1 || panicstr != NULL || db_active || in witness_init()
735 if (witness_watch < 0 || panicstr != NULL || db_active) in witness_defineorder()
773 if (witness_cold || witness_watch < 1 || panicstr != NULL || db_active) in witness_checkorder()
1104 if (witness_cold || witness_watch < 0 || panicstr != NULL || in witness_lock()
1166 panicstr != NULL || db_active) in witness_upgrade()
1207 panicstr != NULL || db_active) in witness_downgrade()
1251 panicstr != NULL || db_active) in witness_unlock()
1352 if (lle == NULL || panicstr != NULL || db_active) in witness_thread_exit()
1456 if (witness_watch < 0 || panicstr != NULL || db_active) in enroll()
1995 panicstr != NULL || db_active) in witness_assert()
[all …]
H A Dsubr_xxx.c159 if (panicstr || db_active) in assertwaitok()
H A Dkern_smr.c294 if (panicstr != NULL || db_active) in smr_barrier_impl()
H A Dkern_synch.c133 if (cold || panicstr) { in tsleep()
221 if (cold || panicstr) { in msleep()
H A Dvfs_subr.c1781 if (panicstr == NULL) { in vfs_shutdown()
H A Dkern_sig.c1626 KASSERT(p == curproc || panicstr || db_active); in sigabort()
/openbsd/sys/arch/m88k/include/
H A Dmutex.h58 if (((mtx)->mtx_owner != curcpu()) && !(panicstr || db_active)) \
63 if (((mtx)->mtx_owner == curcpu()) && !(panicstr || db_active)) \
/openbsd/sbin/savecore/
H A Dsavecore.c108 int panicstr; variable
199 if (panicstr) in main()
327 (void)KREAD(kd_dump, dump_nl[X_PANICSTR].n_value, &panicstr); in check_kmem()
328 if (panicstr) { in check_kmem()
333 panicloc = panicstr; in check_kmem()
/openbsd/sys/ddb/
H A Ddb_trap.c71 if (panicstr != NULL) { in db_trap()
H A Ddb_command.c516 prefix = (panicstr == ci->ci_panicbuf) ? "*" : " "; in db_show_panic_cmd()
/openbsd/sys/arch/sparc64/sparc64/
H A Dipifuncs.c114 if (db_active || panicstr != NULL) in sun4u_send_ipi()
/openbsd/sys/arch/amd64/amd64/
H A Dtrap.c147 atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf); in fault()
/openbsd/sys/dev/
H A Dkcov.c597 if (__predict_false(panicstr || db_active)) in kd_curproc()
H A Dipmi.c951 if (cold || panicstr != NULL) in ipmi_cmd()
/openbsd/sys/net/
H A Dif.c1791 if (panicstr == NULL) { in if_linkstate()