Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/kern/
H A Dsubr_kdb.c56 u_char __read_frequently kdb_active = 0; variable
176 if (kdb_active) in kdb_sysctl_current()
193 if (kdb_active) in kdb_sysctl_enter()
501 if (kdb_dbbe != NULL && kdb_active == 0) { in kdb_enter()
519 kdb_active = 0; in kdb_init()
561 if (!kdb_active || kdb_jmpbufp == NULL) in kdb_reenter()
574 if (!kdb_active || kdb_jmpbufp == NULL) in kdb_reenter_silent()
703 if (kdb_active) in kdb_trap()
720 kdb_active++; in kdb_trap()
744 kdb_active--; in kdb_trap()
H A Dkern_cons.c382 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) in cngrab()
395 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) in cnungrab()
441 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { in cncheckc()
517 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { in cnputc()
523 if (console_pausing && c == '\n' && !kdb_active) { in cnputc()
H A Dkern_synch.c324 if ((cold && curthread == &thread0) || kdb_active || in pause_sbt()
510 if (kdb_active) in mi_switch()
H A Dkern_sx.c283 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in sx_try_slock_int()
321 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_xlock()
359 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in sx_try_xlock_int()
1260 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_slock_int()
H A Dkern_rwlock.c281 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _rw_wlock_cookie()
315 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in __rw_try_wlock_int()
668 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED_TD(td) || in __rw_rlock_int()
709 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in __rw_try_rlock_int()
H A Dtty_info.c228 if (kdb_active) { in sbuf_tty_drain()
H A Dkern_mutex.c269 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in __mtx_lock_flags()
432 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in _mtx_trylock_flags_int()
1242 if (ldap->spin_cnt < 60000000 || kdb_active || KERNEL_PANICKED()) in _mtx_lock_indefinite_check()
H A Dkern_ktr.c334 if (KERNEL_PANICKED() || kdb_active) in ktr_tracepoint()
/freebsd-13.1/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart.h96 if (!kdb_active) \
101 if (!kdb_active) \
106 if (!kdb_active) \
/freebsd-13.1/sys/dev/gxemul/cons/
H A Dgxemul_cons.c52 if (!kdb_active) \
57 if (!kdb_active) \
62 if (!kdb_active) \
/freebsd-13.1/sys/dev/uart/
H A Duart_cpu.h106 if (!kdb_active && hwmtx != NULL) in uart_lock()
113 if (!kdb_active && hwmtx != NULL) in uart_unlock()
/freebsd-13.1/sys/ddb/
H A Ddb_output.c154 if (!kdb_active || ddb_use_printf) { in db_putc()
156 if (!kdb_active) in db_putc()
/freebsd-13.1/sys/dev/usb/
H A Dusb_freebsd.h97 #define USB_IN_POLLING_MODE_VALUE() (SCHEDULER_STOPPED() || kdb_active)
/freebsd-13.1/sys/sys/
H A Dkdb.h67 extern u_char kdb_active; /* Non-zero while in debugger. */
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dmutex.h53 #define MUTEX_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
H A Dspinlock.h56 #define SPIN_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
H A Dwait.h46 #define SKIP_SLEEP() (SCHEDULER_STOPPED() || kdb_active)
/freebsd-13.1/sys/x86/isa/
H A Dclock.c263 if (kdb_active) in i8254_delay()
295 if (kdb_active) { in i8254_delay()
/freebsd-13.1/sys/dev/syscons/
H A Dsyscons.h538 if (!kdb_active) \
543 if (!kdb_active) \
H A Dsyscons.c1803 sp->kbd_locked = !kdb_active && mtx_trylock(&Giant); in sccnkbdlock()
1829 if (kdb_active) { in sccnscrlock()
2159 if (kdb_active || KERNEL_PANICKED() || shutdown_in_progress) { in sccnupdate()
2225 if (kdb_active || KERNEL_PANICKED() || shutdown_in_progress) in scrn_timer()
2630 if (!kdb_active) in stop_scrn_saver()
2828 if (kdb_active && SC_STAT(tp)->smode.mode == VT_PROCESS) { in sc_switch_scr()
2850 if (!kdb_active) in sc_switch_scr()
2874 if (!kdb_active) in sc_switch_scr()
4269 if (cold || kdb_active || shutdown_in_progress || !enable_bell) in sc_bell()
/freebsd-13.1/sys/dev/hid/
H A Dhid.h226 #define HID_IN_POLLING_MODE() (SCHEDULER_STOPPED() || kdb_active)
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c61 #define RCU_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
/freebsd-13.1/sys/riscv/riscv/
H A Dtrap.c185 if (kdb_active) { in page_fault_handler()
/freebsd-13.1/sys/dev/gpio/
H A Dgpiokeys.c628 if (!kdb_active && !SCHEDULER_STOPPED()) { in gpiokeys_do_poll()
690 KASSERT((!kdb_active && !SCHEDULER_STOPPED()) in gpiokeys_get_key()
/freebsd-13.1/sys/arm/arm/
H A Dtrap-v6.c359 if (kdb_active) { in abort_handler()

12