Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdoops.c find_next_position() -> mtdoops_inc_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3222626536968462336 |
| PARAM_VALUE | 0 | cxt->dump.dump | 5782821907277623296 |
| PARAM_VALUE | 0 | cxt->dump.list.next | 5690739912386646016 |
| PARAM_VALUE | 0 | cxt->dump.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->dump.max_reason | 2 |
| PARAM_VALUE | 0 | cxt->dump.registered | 1 |
| PARAM_VALUE | 0 | cxt->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->mtd_index | 0-s32max |
| PARAM_VALUE | 0 | cxt->nextcount | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | cxt->nextpage | (-1)-8388607 |
| PARAM_VALUE | 0 | cxt->oops_page_used | 1-u64max |
| PARAM_VALUE | 0 | cxt->oops_pages | 0-8388608 |
| PARAM_VALUE | 1 | panic | 0 |
| BUF_SIZE | 0 | cxt | 248 |
| BUF_SIZE | 0 | cxt->mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | cxt->oops_page_used | 8 |
| CAPPED_DATA | 0 | cxt->mtd->index | 1 |
| CAPPED_DATA | 0 | cxt->mtd_index | 1 |
| CAPPED_DATA | 0 | cxt->nextcount | 1 |
| CAPPED_DATA | 0 | cxt->nextpage | 1 |
| CAPPED_DATA | 0 | cxt->oops_pages | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| FUZZY_MAX | 0 | cxt->nextcount | 0 |
| FUZZY_MAX | 0 | cxt->oops_pages | 1 |
| STR_LEN | 0 | cxt->mtd | (-1),18 |
| STR_LEN | 0 | cxt->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | cxt->mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cxt->mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex | ||
| HALF_LOCKED2 | &cxt->pstore_zone_info_lock |
drivers/mtd/mtdoops.c mtdoops_write() -> mtdoops_inc_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->oops_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->oops_page_used | 4096-ptr_max |
| PARAM_VALUE | 1 | panic | 0-1 |
| DATA_SOURCE | 0 | cxt | $0 |
| DATA_SOURCE | 1 | panic | $1 |
| HARD_MAX | 1 | panic | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |