Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdoops.c mtdoops_inc_counter() -> page_is_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 4096-ptr_max |
| PARAM_VALUE | 0 | cxt->oops_page_used | 1-u64max |
| PARAM_VALUE | 1 | page | s32min-8388607 |
| BUF_SIZE | 0 | cxt | (-1),248 |
| BUF_SIZE | 0 | cxt | (-1),248 |
| BUF_SIZE | 0 | cxt->mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | cxt->oops_page_used | (-1),8 |
| CAPPED_DATA | 0 | cxt->nextpage | 1 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| FUZZY_MAX | 1 | page | 0 |
| STR_LEN | 0 | cxt->mtd | (-1),18 |
| 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 |
| PARAM_COMPARE | 1 | page | <= $0->oops_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cxt->mtd->erasesize | |
| HALF_LOCKED2 | global &mtd_table_mutex |