| /freebsd-13.1/sys/kern/ |
| H A D | subr_kdb.c | 56 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 D | kern_cons.c | 382 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 D | kern_synch.c | 324 if ((cold && curthread == &thread0) || kdb_active || in pause_sbt() 510 if (kdb_active) in mi_switch()
|
| H A D | kern_sx.c | 283 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 D | kern_rwlock.c | 281 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 D | tty_info.c | 228 if (kdb_active) { in sbuf_tty_drain()
|
| H A D | kern_mutex.c | 269 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 D | kern_ktr.c | 334 if (KERNEL_PANICKED() || kdb_active) in ktr_tracepoint()
|
| /freebsd-13.1/sys/dev/altera/jtag_uart/ |
| H A D | altera_jtag_uart.h | 96 if (!kdb_active) \ 101 if (!kdb_active) \ 106 if (!kdb_active) \
|
| /freebsd-13.1/sys/dev/gxemul/cons/ |
| H A D | gxemul_cons.c | 52 if (!kdb_active) \ 57 if (!kdb_active) \ 62 if (!kdb_active) \
|
| /freebsd-13.1/sys/dev/uart/ |
| H A D | uart_cpu.h | 106 if (!kdb_active && hwmtx != NULL) in uart_lock() 113 if (!kdb_active && hwmtx != NULL) in uart_unlock()
|
| /freebsd-13.1/sys/ddb/ |
| H A D | db_output.c | 154 if (!kdb_active || ddb_use_printf) { in db_putc() 156 if (!kdb_active) in db_putc()
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_freebsd.h | 97 #define USB_IN_POLLING_MODE_VALUE() (SCHEDULER_STOPPED() || kdb_active)
|
| /freebsd-13.1/sys/sys/ |
| H A D | kdb.h | 67 extern u_char kdb_active; /* Non-zero while in debugger. */
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | mutex.h | 53 #define MUTEX_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
| H A D | spinlock.h | 56 #define SPIN_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
| H A D | wait.h | 46 #define SKIP_SLEEP() (SCHEDULER_STOPPED() || kdb_active)
|
| /freebsd-13.1/sys/x86/isa/ |
| H A D | clock.c | 263 if (kdb_active) in i8254_delay() 295 if (kdb_active) { in i8254_delay()
|
| /freebsd-13.1/sys/dev/syscons/ |
| H A D | syscons.h | 538 if (!kdb_active) \ 543 if (!kdb_active) \
|
| H A D | syscons.c | 1803 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 D | hid.h | 226 #define HID_IN_POLLING_MODE() (SCHEDULER_STOPPED() || kdb_active)
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_rcu.c | 61 #define RCU_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | trap.c | 185 if (kdb_active) { in page_fault_handler()
|
| /freebsd-13.1/sys/dev/gpio/ |
| H A D | gpiokeys.c | 628 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 D | trap-v6.c | 359 if (kdb_active) { in abort_handler()
|