Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/kmsg_dump.h, line 115 (as a function)
- kernel/printk/printk.c, line 4830 (as a function)
Referenced in 3 files:
Smatch caller information:
fs/pstore/zone.c psz_kmsg_read() -> kmsg_dump_reason_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 1-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &psi->read_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &efivars_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| TYPE_LOCK | (struct pstore_info)->read_mutex |
fs/pstore/zone.c register_pstore_zone() -> kmsg_dump_reason_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cxt->pstore_zone_info_lock | ||
| LOCK2 | global &pstore_blk_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct psz_context)->pstore_zone_info_lock |
fs/pstore/platform.c pstore_dump() -> kmsg_dump_reason_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reason | 1-4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |