Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdoops.c mtdoops_inc_counter() -> mtdoops_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->nextcount | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | cxt->nextpage | s32min-8388607 |
| PARAM_VALUE | 0 | cxt->oops_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->oops_page_used | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->oops_pages | 0-8388608 |
| CAPPED_DATA | 0 | cxt->nextpage | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| FUZZY_MAX | 0 | cxt->nextcount | 0 |
| FUZZY_MAX | 0 | cxt->nextpage | 0 |
| STR_LEN | 0 | cxt->mtd | (-1) |
| STR_LEN | 0 | cxt->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | cxt->mtd->name | (-1) |
| STR_LEN | 0 | cxt->mtd->parent | (-1) |
| PARAM_COMPARE | 0 | cxt->nextpage | <= $0->oops_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cxt->mtd->erasesize | |
| HALF_LOCKED2 | rcu_read |
drivers/mtd/mtdoops.c mtdoops_workfunc_erase() -> mtdoops_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |