Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mtd/mtdcore.c get_mtd_device() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c get_mtd_device() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c get_mtd_device_nm() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c get_mtd_device_nm() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c mtd_proc_show() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/mtd/mtdcore.c mtd_proc_show() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/mtd/mtdcore.c of_get_mtd_device_by_node() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c of_get_mtd_device_by_node() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c register_mtd_user() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c register_mtd_user() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &mtd_table_mutex | ||
| HALF_LOCKED2 | &cxt->pstore_zone_info_lock |
drivers/mtd/mtdcore.c unregister_mtd_user() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c unregister_mtd_user() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtd_blkdevs.c register_mtd_blktrans() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0 |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/mtd_blkdevs.c register_mtd_blktrans() -> __mtd_next_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &mtd_table_mutex |