Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdoops.c find_next_position() -> mark_page_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 3222626536968462336 |
| PARAM_VALUE | 0 | cxt->oops_page_used | 1-u64max |
| PARAM_VALUE | 1 | page | 0-8388607 |
| 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->oops_pages | 1 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | cxt | $0 |
| STR_LEN | 0 | cxt->mtd | (-1),18 |
| STR_LEN | 0 | cxt->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | cxt->mtd->name | (-1) |
| PARAM_COMPARE | 0 | cxt->oops_pages | > $1 |
| PARAM_COMPARE | 1 | page | < $0->oops_pages |
| 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() -> mark_page_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxt | 4096-ptr_max |
| DATA_SOURCE | 0 | cxt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |