Home
last modified time | relevance | path

Searched refs:kdb_active (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/sys/kern/
H A Dsubr_kdb.c58 u_char __read_frequently kdb_active = 0; variable
184 if (kdb_active) in kdb_sysctl_current()
201 if (kdb_active) in kdb_sysctl_enter()
551 if (kdb_dbbe != NULL && kdb_active == 0) { in kdb_enter()
570 kdb_active = 0; in kdb_init()
613 if (!kdb_active || kdb_jmpbufp == NULL) in kdb_reenter()
626 if (!kdb_active || kdb_jmpbufp == NULL) in kdb_reenter_silent()
755 if (kdb_active) in kdb_trap()
772 kdb_active++; in kdb_trap()
801 kdb_active--; in kdb_trap()
H A Dkern_cons.c406 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) in cngrab()
419 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) in cnungrab()
465 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { in cncheckc()
542 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { in cnputc()
548 if (console_pausing && c == '\n' && !kdb_active) { in cnputc()
H A Dkern_synch.c317 if ((cold && curthread == &thread0) || kdb_active || in pause_sbt()
492 if (kdb_active) in mi_switch()
H A Dkern_rwlock.c293 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _rw_wlock_cookie()
327 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in __rw_try_wlock_int()
682 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in __rw_rlock_int()
723 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in __rw_try_rlock_int()
H A Dkern_sx.c280 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in sx_try_slock_int()
319 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_xlock()
357 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in sx_try_xlock_int()
1266 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_slock_int()
H A Dtty_info.c226 if (kdb_active) { in sbuf_tty_drain()
H A Dkern_mutex.c285 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in __mtx_lock_flags()
450 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in _mtx_trylock_flags_int()
1258 if (ldap->spin_cnt < 60000000 || kdb_active || KERNEL_PANICKED()) in _mtx_lock_indefinite_check()
H A Dkern_ctf.c93 if (panicstr != NULL || kdb_active) in link_elf_ctf_get()
H A Dkern_ktr.c335 if (KERNEL_PANICKED() || kdb_active) in ktr_tracepoint()
/freebsd/sys/dev/uart/
H A Duart_cpu.h104 if (!kdb_active && hwmtx != NULL) in uart_lock()
111 if (!kdb_active && hwmtx != NULL) in uart_unlock()
/freebsd/sys/ddb/
H A Ddb_output.c151 if (!kdb_active || ddb_use_printf) { in db_putc()
153 if (!kdb_active) in db_putc()
/freebsd/sys/dev/usb/
H A Dusb_freebsd.h97 #define USB_IN_POLLING_MODE_VALUE() (SCHEDULER_STOPPED() || kdb_active)
/freebsd/sys/sys/
H A Dkdb.h65 extern u_char kdb_active; /* Non-zero while in debugger. */
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmutex.h54 #define MUTEX_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
H A Dspinlock.h54 #define SPIN_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
H A Dwait.h44 #define SKIP_SLEEP() (SCHEDULER_STOPPED() || kdb_active)
/freebsd/sys/x86/isa/
H A Dclock.c260 if (kdb_active) in i8254_delay()
292 if (kdb_active) { in i8254_delay()
/freebsd/sys/dev/syscons/
H A Dsyscons.h536 if (!kdb_active) \
541 if (!kdb_active) \
H A Dsyscons.c1805 sp->kbd_locked = !kdb_active && mtx_trylock(&Giant); in sccnkbdlock()
1831 if (kdb_active) { in sccnscrlock()
2161 if (kdb_active || KERNEL_PANICKED() || shutdown_in_progress) { in sccnupdate()
2227 if (kdb_active || KERNEL_PANICKED() || shutdown_in_progress) in scrn_timer()
2632 if (!kdb_active) in stop_scrn_saver()
2830 if (kdb_active && SC_STAT(tp)->smode.mode == VT_PROCESS) { in sc_switch_scr()
2852 if (!kdb_active) in sc_switch_scr()
2876 if (!kdb_active) in sc_switch_scr()
4271 if (cold || kdb_active || shutdown_in_progress || !enable_bell) in sc_bell()
/freebsd/sys/dev/hyperv/vmbus/
H A Dhyperv_mmu.c155 if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started)) in hv_vm_tlb_flush()
/freebsd/sys/dev/hid/
H A Dhid.h232 #define HID_IN_POLLING_MODE() (SCHEDULER_STOPPED() || kdb_active)
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c63 #define RCU_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
/freebsd/sys/dev/gpio/
H A Dgpiokeys.c630 if (!kdb_active && !SCHEDULER_STOPPED()) { in gpiokeys_do_poll()
692 KASSERT((!kdb_active && !SCHEDULER_STOPPED()) in gpiokeys_get_key()
/freebsd/sys/riscv/riscv/
H A Dtrap.c219 if (kdb_active) { in page_fault_handler()
/freebsd/sys/arm/arm/
H A Dtrap-v6.c352 if (kdb_active) { in abort_handler()

12