/freebsd/sys/kern/ |
H A D | subr_kdb.c | 58 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 D | kern_cons.c | 406 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() 541 if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { in cnputc() 547 if (console_pausing && c == '\n' && !kdb_active) { in cnputc()
|
H A D | kern_synch.c | 321 if ((cold && curthread == &thread0) || kdb_active || in pause_sbt() 512 if (kdb_active) in mi_switch()
|
H A D | kern_rwlock.c | 279 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _rw_wlock_cookie() 313 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in __rw_try_wlock_int() 669 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in __rw_rlock_int() 710 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in __rw_try_rlock_int()
|
H A D | kern_sx.c | 280 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(curthread), in sx_try_slock_int() 318 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_xlock() 356 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in sx_try_xlock_int() 1277 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in _sx_slock_int()
|
H A D | tty_info.c | 226 if (kdb_active) { in sbuf_tty_drain()
|
H A D | kern_mutex.c | 267 KASSERT(kdb_active != 0 || SCHEDULER_STOPPED() || in __mtx_lock_flags() 430 KASSERT(kdb_active != 0 || !TD_IS_IDLETHREAD(td), in _mtx_trylock_flags_int() 1243 if (ldap->spin_cnt < 60000000 || kdb_active || KERNEL_PANICKED()) in _mtx_lock_indefinite_check()
|
H A D | kern_ctf.c | 93 if (panicstr != NULL || kdb_active) in link_elf_ctf_get()
|
H A D | kern_ktr.c | 332 if (KERNEL_PANICKED() || kdb_active) in ktr_tracepoint()
|
H A D | kern_switch.c | 223 if (kdb_active) in critical_exit_preempt()
|
/freebsd/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart.h | 94 if (!kdb_active) \ 99 if (!kdb_active) \ 104 if (!kdb_active) \
|
/freebsd/sys/dev/uart/ |
H A D | uart_cpu.h | 104 if (!kdb_active && hwmtx != NULL) in uart_lock() 111 if (!kdb_active && hwmtx != NULL) in uart_unlock()
|
/freebsd/sys/ddb/ |
H A D | db_output.c | 152 if (!kdb_active || ddb_use_printf) { in db_putc() 154 if (!kdb_active) in db_putc()
|
/freebsd/sys/dev/usb/ |
H A D | usb_freebsd.h | 96 #define USB_IN_POLLING_MODE_VALUE() (SCHEDULER_STOPPED() || kdb_active)
|
/freebsd/sys/sys/ |
H A D | kdb.h | 65 extern u_char kdb_active; /* Non-zero while in debugger. */
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | spinlock.h | 52 #define SPIN_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
H A D | mutex.h | 53 #define MUTEX_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
H A D | wait.h | 44 #define SKIP_SLEEP() (SCHEDULER_STOPPED() || kdb_active)
|
/freebsd/sys/x86/isa/ |
H A D | clock.c | 260 if (kdb_active) in i8254_delay() 292 if (kdb_active) { in i8254_delay()
|
/freebsd/sys/dev/syscons/ |
H A D | syscons.h | 536 if (!kdb_active) \ 541 if (!kdb_active) \
|
H A D | syscons.c | 1805 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/hid/ |
H A D | hid.h | 222 #define HID_IN_POLLING_MODE() (SCHEDULER_STOPPED() || kdb_active)
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_rcu.c | 58 #define RCU_SKIP(void) unlikely(SCHEDULER_STOPPED() || kdb_active)
|
/freebsd/sys/dev/gpio/ |
H A D | gpiokeys.c | 630 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 D | trap.c | 221 if (kdb_active) { in page_fault_handler()
|