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_0001.c cfi_intelext_write_buffers() -> cfi_intelext_writev()
| 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 | 1 | vecs | 3613624768126541824 |
| PARAM_VALUE | 2 | count | 1 |
| PARAM_VALUE | 4 | retlen | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 3 | to | $1 |
| DATA_SOURCE | 4 | retlen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | vecs->iov_len | 0-u64max[c] |
| HOST_DATA | 3 | to | 0-5294967294[c] |
| HOST_DATA | 4 | *retlen | 0-157121500839936,18446744071562067968-u64max[c] |
| USER_DATA | 1 | vecs->iov_len | 0-u64max[c] |
| USER_DATA | 3 | to | 0-s64max |
| USER_DATA | 4 | *retlen | 0-u64max |
| USER_PTR | 1 | vecs->iov_base | |
| USER_PTR | 4 | retlen | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock |
drivers/mtd/mtdcore.c mtd_writev() -> (struct mtd_info)->_writev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_writev | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | vecs | 4096-ptr_max |
| PARAM_VALUE | 4 | retlen | 324292679055605760,424444652153995264,777189798100742144,1315719706755383296,3427118794496053248,3729217507808899072 |
| PARAM_VALUE | 4 | *retlen | 0 |
| BUF_SIZE | 1 | vecs | (-1),32 |
| BUF_SIZE | 1 | vecs | (-1),32 |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 1 | vecs | $1 |
| DATA_SOURCE | 2 | count | $2 |
| DATA_SOURCE | 4 | retlen | $4 |
| CONTAINER | 0 | -232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |