Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/chips/cfi_cmdset_0002.c do_otp_write() -> otp_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| 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->list.prev->next | 5159360019465732096 |
| 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 | 2 | adr | 0-s32max |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | adr | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| BIT_INFO | 2 | adr | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | map | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/chips/cfi_cmdset_0002.c do_read_secsi_onechip() -> otp_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 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->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | chip->state | 0 |
| PARAM_VALUE | 3 | len | 1-u64max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| DATA_SOURCE | 2 | adr | $2 |
| DATA_SOURCE | 3 | len | $3 |
| NOSPEC | 3 | len | |
| NOSPEC | 3 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | adr | 1-6[c] |
| HOST_DATA | 3 | len | 1-3999999,18446744073705551619-u64max[c] |
| USER_DATA | 2 | adr | 1-6[c] |
| USER_DATA | 3 | len | 1-u32max,18446744069414584322-u64max[c] |
| UNITS | 0 | map | unit_byte |
| LOCK2 | 1 | &chip->mutex | |
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/chips/cfi_cmdset_0002.c do_write_oneword_start() -> otp_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 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->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | chip->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | chip->state | 0-3,17 |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | &chip->mutex | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | chip | $1 |
| DATA_SOURCE | 2 | adr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | map | unit_byte |
| UNITS | 2 | adr | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | 1 | &chip->mutex | |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct flchip)->mutex |