Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/printk/printk.c __down_trylock_console_sem() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq |
kernel/printk/printk.c __up_console_sem() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &console_sem |
kernel/printk/printk.c console_emit_next_record() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &console_sem |
kernel/printk/printk.c console_trylock_spinning() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/printk/nbcon.c nbcon_legacy_emit_next_record() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &console_sem |
kernel/printk/printk_safe.c __printk_deferred_enter() -> __printk_safe_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pwq->pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &kmemleak_lock | ||
| HALF_LOCKED2 | global &pool_lock | ||
| HALF_LOCKED2 | global &zonelist_update_seq.lock | ||
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | rcu_read |