Defined in 1 files as a function:
Referenced in 5 files:
- drivers/mtd/chips/cfi_cmdset_0001.c, line 2097
- drivers/mtd/chips/cfi_cmdset_0002.c
- drivers/mtd/chips/cfi_cmdset_0020.c
- drivers/mtd/chips/cfi_probe.c
- drivers/mtd/chips/cfi_util.c, line 324
Smatch caller information:
drivers/mtd/chips/cfi_util.c cfi_read_pri() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv->destroy | 0,3684723919616573440,4812393320224821248,7515468094658064384,8701399485634662400 |
| PARAM_VALUE | 0 | map->fldrv->module | 0 |
| PARAM_VALUE | 0 | map->fldrv->name | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv->probe | 0,1162949730130006016,2469954764432539648,5724982611443769344,6630152179801403392,6840914442532052992,8576460216543268864 |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| 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->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->size | 1-u64max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map->name | s32min,(-10),(-1),1-s32max |
| CAPPED_DATA | 0 | map->size | 1 |
| DATA_SOURCE | 0 | map | $0 |
| STR_LEN | 0 | map | 11,19 |
| STR_LEN | 0 | map | 11,19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_2 | 0 |
drivers/mtd/chips/cfi_cmdset_0001.c do_getlockstatus_oneblock() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/chips/cfi_probe.c cfi_chip_setup() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->offset | 0-4294967295 |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->size | 1-u64max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_2 | 0 |
drivers/mtd/chips/cfi_probe.c cfi_chip_setup() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->dev.driver_data->gpio_values | 0-4294967295 |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->size | 1-u64max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_2 | 0 |
drivers/mtd/chips/cfi_probe.c cfi_chip_setup() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.dep_map->name | 0-255 |
| 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->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->size | 1-u64max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_2 | 0 |
drivers/mtd/chips/cfi_probe.c cfi_chip_setup() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->map_priv_1->p_dev->socket->ops_mutex.dep_map->name | 0-255 |
| 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->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | map->read | 4096-ptr_max |
| PARAM_VALUE | 0 | map->size | 1-u64max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | map->map_priv_1->offset | 0-4294967295[c] |
| HOST_DATA | 0 | map->map_priv_2 | 0 |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_otp_walk() -> cfi_read_query()
| 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->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| 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 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| 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 |
| USER_DATA | 0 | *map->priv->page_buf | 0-255 |
| UNITS | 0 | map | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | &chip->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_otp_walk() -> cfi_read_query()
| 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 | addr | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| 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 |
| USER_DATA | 0 | *map->priv->page_buf | 0-255 |
| UNITS | 0 | map | unit_byte |
| LOCK2 | &chip->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/chips/cfi_cmdset_0002.c do_otp_lock() -> cfi_read_query()
| 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 | addr | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | &chip->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| TYPE_LOCK | (struct flchip)->mutex |
drivers/mtd/chips/cfi_cmdset_0002.c do_ppb_xxlock() -> cfi_read_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->fldrv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | map->write | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | &chip->mutex | ||
| TYPE_LOCK | (struct flchip)->mutex |