Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdcore.c mtd_write_oob_std() -> (struct mtd_info)->_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_write_oob | 0 |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 3 | retlen | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | (-1),2448 |
| BUF_SIZE | 0 | mtd | (-1),2448 |
| BUF_SIZE | 4 | buf | 1-s32max |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 1 | to | r mtd_get_master_ofs |
| CONTAINER | 0 | -144+0 | $(-1) |
| PARAM_COMPARE | 1 | to | == $1 |
| NOSPEC | 2 | len | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | to | 0-5294967294[c] |
| HOST_DATA | 2 | len | 0-u64max[c] |
| HOST_DATA | 3 | *retlen | 0-157121500839936,18446744071562067968-u64max[c] |
| USER_DATA | 1 | to | 0-s64max |
| USER_DATA | 2 | len | 0-u64max[c] |
| USER_DATA | 3 | *retlen | 0-u64max |
| USER_PTR | 3 | retlen | |
| USER_PTR | 4 | buf | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock |
drivers/mtd/mtdcore.c mtd_panic_write() -> (struct mtd_info)->_panic_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_panic_write | 1-u64max |
| PARAM_VALUE | 0 | mtd->oops_panic_write | 1 |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | to | 0-s64max |
| PARAM_VALUE | 2 | len | 1-9223372036854775807 |
| PARAM_VALUE | 3 | retlen | 5844467508576747520,6765873701623181312,7782060706808922112 |
| PARAM_VALUE | 3 | *retlen | 0 |
| BUF_SIZE | 4 | buf | (-1)-s32max |
| BUF_SIZE | 4 | buf | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | retlen | $3 |
| DATA_SOURCE | 4 | buf | $4 |
| CONTAINER | 0 | -152+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-s32max[c] |
| USER_DATA | 4 | buf | 4096-ptr_max[c][u] |
| HALF_LOCKED2 | rcu_read |