Documented in 1 files:
Defined in 3 files as a function:
- drivers/mtd/chips/cfi_cmdset_0001.c, line 2272 (as a function)
- drivers/mtd/chips/cfi_cmdset_0002.c, line 1386 (as a function)
- drivers/mtd/nand/onenand/onenand_base.c, line 2945 (as a function)
Referenced in 3 files:
- drivers/mtd/chips/cfi_cmdset_0001.c, line 2467
- drivers/mtd/chips/cfi_cmdset_0002.c, line 1633
- drivers/mtd/nand/onenand/onenand_base.c, line 3186
Smatch caller information:
drivers/mtd/nand/onenand/onenand_base.c onenand_otp_walk() -> onenand_otp_walk param 5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->parent->parent | 0 |
| PARAM_VALUE | 0 | map->priv->chip_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | map->priv->state | 4,7,12-13,15,21,24 |
| PARAM_VALUE | 2 | offset | 1-u64max |
| PARAM_VALUE | 3 | buf | 473134467118268416 |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | size | (-1)-s32max |
| BUF_SIZE | 4 | size | (-1)-s32max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| DATA_SOURCE | 2 | offset | $2 |
| DATA_SOURCE | 4 | size | $4 |
| FUZZY_MAX | 2 | offset | 16 |
| NOSPEC | 1 | chip | |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->dev.driver_data->gpio_values | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | *map->priv->oob_buf | 0-255 |
| HOST_DATA | 0 | *map->priv->page_buf | 0-255 |
| HOST_DATA | 0 | *map->priv->verify_buf | 0-255 |
| HOST_DATA | 1 | chip | 0-5294967294[c] |
| HOST_DATA | 2 | offset | 1-3999999,18446744071562067971-u64max[c] |
| HOST_DATA | 4 | size | 4096-ptr_max[c] |
| USER_DATA | 0 | map->map_priv_1->dev.driver_data->gpio_values | 0-4294967295[c] |
| USER_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| USER_DATA | 0 | *map->priv->page_buf | 0-255 |
| USER_DATA | 1 | chip | 0-4294967294 |
| USER_DATA | 2 | offset | 1-6442450943,18446744071562067970-u64max |
| USER_DATA | 4 | size | 4096-ptr_max[c][u] |
| USER_DATA | 4 | *size | 0-255 |
| UNITS | 1 | chip | unit_byte |
| UNITS | 2 | offset | unit_byte |
| USER_PTR | 4 | size | |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_otp_walk() -> cfi_amdstd_otp_walk param 5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->oldstate | 0-3,5-17,19-u32max |
| PARAM_VALUE | 1 | chip->state | 0-4,18 |
| PARAM_VALUE | 3 | buf | 1-256 |
| PARAM_VALUE | 5 | prot | 256 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | size | (-1)-s32max |
| BUF_SIZE | 4 | size | (-1)-s32max |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| CAPPED_DATA | 3 | buf | 1 |
| CAPPED_DATA | 3 | buf | 1 |
| DATA_SOURCE | 4 | size | $4 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | *map->priv->page_buf | 0-255 |
| HOST_DATA | 0 | *map->priv->verify_buf | 0-255 |
| HOST_DATA | 3 | buf | 1-255[c] |
| HOST_DATA | 4 | size | 4096-ptr_max[c] |
| HOST_DATA | 4 | *size | 0-255 |
| USER_DATA | 0 | *map->priv->page_buf | 0-255 |
| USER_DATA | 3 | buf | 1-255[c] |
| USER_DATA | 4 | size | 4096-ptr_max[c][u] |
| USER_DATA | 4 | *size | 0-255 |
| UNITS | 0 | map | unit_byte |
| USER_PTR | 4 | size | |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_otp_walk() -> cfi_intelext_otp_walk param 5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 6 | grpno | 0-u16max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | (-1)-s32max |
| BUF_SIZE | 3 | buf | (-1)-s32max |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 3 | buf | $4 [m] |
| FUZZY_MAX | 6 | grpno | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->dev.driver_data->gpio_values | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | *map->priv->oob_buf | 0-255 |
| HOST_DATA | 0 | *map->priv->page_buf | 0-255 |
| HOST_DATA | 0 | *map->priv->verify_buf | 0-255 |
| HOST_DATA | 3 | buf | 4096-ptr_max[c] |
| HOST_DATA | 3 | *buf | 0-255 |
| HOST_DATA | 4 | size | 0-u32max[c] |
| USER_DATA | 0 | map->map_priv_1->dev.driver_data->gpio_values | 0-4294967295[c] |
| USER_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| USER_DATA | 0 | *map->priv->page_buf | 0-255 |
| USER_DATA | 3 | buf | 4096-ptr_max[c][u] |
| USER_DATA | 3 | *buf | 0-255 |
| USER_DATA | 4 | size | 0-u32max[c] |
| UNITS | 0 | map | unit_byte |
| USER_PTR | 3 | buf | |
| HALF_LOCKED2 | &master->master.chrdev_lock |