Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_write_buffers() -> cfi_amdstd_write_words()
| 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 | 0 | mtd->priv | 4096-ptr_max |
| PARAM_VALUE | 3 | retlen | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| 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 | $0 |
| DATA_SOURCE | 3 | retlen | $3 |
| DATA_SOURCE | 4 | buf | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 0-s32max[c] |
| HOST_DATA | 3 | *retlen | 0-157121500839936,18446744071562067968-u64max[c] |
| USER_DATA | 2 | len | 0-s32max[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/chips/cfi_cmdset_0002.c cfi_amdstd_write_buffers() -> cfi_amdstd_write_words()
| 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 | 0 | mtd->priv | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-18446744073709551614 |
| PARAM_VALUE | 3 | retlen | 4960142345618669568 |
| PARAM_VALUE | 3 | *retlen | 0 |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| 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 | $0 |
| DATA_SOURCE | 2 | len | $2 [m] |
| DATA_SOURCE | 4 | buf | $4 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 1-s32max[c] |
| HOST_DATA | 4 | buf | 4096-ptr_max[c] |
| USER_DATA | 2 | len | 1-s32max[c] |
| USER_DATA | 4 | buf | 4096-ptr_max[c][u] |
| 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_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 |