Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/spi/core.c spinand_mtd_continuous_page_read() -> spinand_read_from_cache_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spinand | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->cur_target | 0-4294967294 |
| PARAM_VALUE | 0 | spinand->op_templates | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->priv->cont_read | 0-1 |
| PARAM_VALUE | 0 | spinand->priv->continuous_read | 0-1 |
| PARAM_VALUE | 0 | spinand->set_cont_read | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->op_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->completed_cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->device->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->completed_cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->device->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dma_rx->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dma_tx->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->kworker->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->kworker->work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->kworker->work_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->pump_messages.worker->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | req | 7449369908295270400 |
| PARAM_VALUE | 1 | req->pos.target | 0-4294967294 |
| DATA_SOURCE | 0 | spinand | r mtd_to_spinand |
| CONSTRAINT | 0 | spinand->cur_target | <2716 |
| NOSPEC | 0 | spinand->cur_target | |
| NOSPEC | 0 | *spinand->scratchbuf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| HOST_DATA | 0 | spinand->op_templates->get_feature->data.buf.in | 0-255 |
| HOST_DATA | 0 | spinand->spimem->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | spinand->spimem->spi->controller->dev.driver_data->para | 0-255 |
| HOST_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| HOST_DATA | 1 | req->datalen | 0-s32max[c] |
| HOST_DATA | 1 | req->dataoffs | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.eraseblock | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.lun | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.page | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.plane | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.target | 0-4294967294[c] |
| USER_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| USER_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| USER_DATA | 1 | req->datalen | 0-s32max[c] |
| USER_DATA | 1 | req->dataoffs | 0-4294967294[c] |
| USER_DATA | 1 | req->mode | 0-255 |
| USER_PTR | 1 | req->databuf.in | |
| LOCK2 | &spinand->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct spinand_device)->lock |
drivers/mtd/nand/spi/core.c spinand_read_page() -> spinand_read_from_cache_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spinand | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->fact_otp->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spinand->op_templates | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->read_retries | 0,5 |
| PARAM_VALUE | 0 | spinand->set_cont_read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spinand->set_read_retry | 0,4720695281667760128 |
| PARAM_VALUE | 0 | spinand->spimem | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->dma_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->dma_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->dma_completion.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->fmode | 2,134217728 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->match_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->match_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->op_lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->completed_cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->device->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->status_timeout | 400 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->client_count | 1-s32max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->completed_cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->cookie | 1 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->device->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->io_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->kworker->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->queue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->queue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->spimem->spi->controller->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spinand->user_otp->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *spinand->spimem->spi->controller->cur_msg->context->msg.opt_state | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | req | 726379093814587392,4475771196491505664,7495527609023025152 |
| DATA_SOURCE | 0 | spinand | $0 |
| DATA_SOURCE | 1 | req | $1 |
| NOSPEC | 0 | spinand->cur_target | |
| NOSPEC | 1 | req->ooblen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| HOST_DATA | 0 | spinand->op_templates->get_feature->data.buf.in | 0-255 |
| HOST_DATA | 0 | spinand->spimem->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | spinand->spimem->spi->controller->dev.driver_data->para | 0-255 |
| HOST_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| HOST_DATA | 1 | req->datalen | 0-u32max[c] |
| HOST_DATA | 1 | req->dataoffs | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.eraseblock | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.lun | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.page | 0-u32max[c] |
| HOST_DATA | 1 | req->pos.plane | 0-4294967294[c] |
| HOST_DATA | 1 | req->pos.target | 0-4294967294[c] |
| USER_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| USER_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| USER_DATA | 1 | req->datalen | 0-u32max[c] |
| USER_DATA | 1 | req->dataoffs | 0-4294967294[c] |
| USER_DATA | 1 | req->mode | 0-1,3-255 |
| USER_DATA | 1 | req->ooblen | 0-s32max[c] |
| USER_DATA | 1 | req->ooboffs | 0-u32max[c] |
| USER_DATA | 1 | req->pos.page | 0-u32max[c] |
| USER_PTR | 1 | req->databuf.in | |
| USER_PTR | 1 | req->oobbuf.in | |
| HALF_LOCKED2 | &spinand->lock | ||
| HALF_LOCKED2 | 0 | &spinand->lock | |
| TYPE_LOCK | (struct spinand_device)->lock |