Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/tty/tty_io.c show_cons_active() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serial/serial_core.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | _T->lock |
kernel/printk/printk.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/printk.c console_resume_all() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/printk/printk.c console_srcu_write_flags() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/printk/printk.c console_suspend_all() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/printk/printk.c get_init_console_seq() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| LOCK2 | global &console_sem | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &goldfish_tty_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | irq |
kernel/printk/printk.c legacy_kthread_create() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/printk.c printk_kthreads_check_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/printk.c printk_kthreads_shutdown() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| LOCK2 | global &syscore_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/printk/printk.c register_console() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &goldfish_tty_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | irq |
kernel/printk/printk.c unregister_console_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/printk.c unregister_console_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dlog->lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &port->uport.lock | ||
| HALF_LOCKED2 | &up->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | global &target_list_lock |
drivers/net/netconsole.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex |
drivers/tty/hvc/hvc_console.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
kernel/printk/nbcon.c nbcon_alloc() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &goldfish_tty_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | irq |
kernel/printk/nbcon.c nbcon_free() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/nbcon.c nbcon_kthread_create() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex |
kernel/printk/nbcon.c nbcon_kthread_stop() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &console_mutex | ||
| HALF_LOCKED2 | global &syscore_lock |
drivers/tty/serial/xilinx_uartps.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/usb/early/xhci-dbc.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/video/fbdev/xen-fbfront.c xenfb_make_preferred_console() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->reclaim_sem | ||
| LOCK2 | global &console_mutex | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/firmware/efi/earlycon.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/tty/serial/samsung_tty.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/tty/serial/kgdboc.c kgdboc_earlycon_init() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/tty/serial/pic32_uart.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
drivers/tty/serial/8250/8250_core.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |
fs/proc/consoles.c c_start() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &console_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/tty/serial/earlycon.c console_is_registered_locked() -> lockdep_assert_console_list_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &console_mutex |