Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/nand/spi/core.c spinand_isbad() -> spinand_read_page()

Type Parameter Key Value
PARAM_VALUE 0 spinand 4096-ptr_max
PARAM_VALUE 1 req 726379093814587392
PARAM_VALUE 1 req->continuous 0
PARAM_VALUE 1 req->databuf.in 0
PARAM_VALUE 1 req->datalen 0
PARAM_VALUE 1 req->dataoffs 0
PARAM_VALUE 1 req->mode 2
PARAM_VALUE 1 req->oobbuf.in 185289581100982272
PARAM_VALUE 1 req->ooblen 2
PARAM_VALUE 1 req->ooboffs 0
PARAM_VALUE 1 req->pos.eraseblock 0
PARAM_VALUE 1 req->pos.lun 0
PARAM_VALUE 1 req->pos.page 0
PARAM_VALUE 1 req->pos.plane 0
PARAM_VALUE 1 req->pos.target 0
PARAM_VALUE 1 req->type 0
DATA_SOURCE 0 spinand r nand_to_spinand
NOSPEC 0 spinand->cur_target
NOSPEC 0 *spinand->scratchbuf
RX_PATH
TASK_NOT_RUNNING
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
USER_DATA 0 spinand->cur_target 0-s32max[c]
USER_DATA 0 *spinand->scratchbuf 0-255[c]
LOCK2 &spinand->lock
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct spinand_device)->lock

drivers/mtd/nand/spi/core.c spinand_isbad() -> spinand_read_page()

Type Parameter Key Value
PARAM_VALUE 0 spinand 4096-ptr_max
PARAM_VALUE 0 spinand->set_cont_read 0,4096-ptr_max
PARAM_VALUE 1 req 726379093814587392
PARAM_VALUE 1 req->mode 0
DATA_SOURCE 0 spinand r nand_to_spinand
NOSPEC 0 spinand->cur_target
NOSPEC 0 *spinand->scratchbuf
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 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->dataoffs 0-4294967294[c]
USER_DATA 1 req->ooboffs 0-u32max[c]
LOCK2 &spinand->lock
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct spinand_device)->lock

drivers/mtd/nand/spi/core.c spinand_mtd_regular_page_read() -> spinand_read_page()

Type Parameter Key Value
PARAM_VALUE 0 spinand 4096-ptr_max
PARAM_VALUE 0 spinand->cur_target 0-4294967294
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 1 req 7495527609023025152
DATA_SOURCE 0 spinand r mtd_to_spinand
NOSPEC 0 spinand->cur_target
NOSPEC 0 *spinand->scratchbuf
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-s32max[c]
USER_DATA 1 req->dataoffs 0-4294967294[c]
USER_DATA 1 req->ooblen 0-s32max[c]
USER_DATA 1 req->ooboffs 0-u32max[c]
USER_PTR 1 req->databuf.in
USER_PTR 1 req->oobbuf.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/otp.c spinand_otp_rw() -> spinand_read_page()

Type Parameter Key Value
PARAM_VALUE 0 spinand 4096-ptr_max
PARAM_VALUE 0 spinand->cur_target 0-4294967294
PARAM_VALUE 0 spinand->fact_otp->ops 0,4096-ptr_max
PARAM_VALUE 0 spinand->lock.dep_map->name 0-255
PARAM_VALUE 0 spinand->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 spinand->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 spinand->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 spinand->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 spinand->lock.wait_lock.owner (-1)
PARAM_VALUE 0 spinand->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 spinand->set_cont_read 0,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_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 spinand->spimem->spi->controller->bus_lock_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 spinand->spimem->spi->controller->cur_msg_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 spinand->spimem->spi->controller->cur_msg_completion.wait.task_list.prev->next->next 4096-ptr_max
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.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->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->dbg_client_name 0
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->rx_dma.ch->name 0
PARAM_VALUE 0 spinand->spimem->spi->controller->dev.driver_data->rx_dma.ch->route_data 0
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->dbg_client_name 0
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->tx_dma.ch->name 0
PARAM_VALUE 0 spinand->spimem->spi->controller->dev.driver_data->tx_dma.ch->route_data 0
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.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->blocked_on 0
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->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.node.next->prev 4096-ptr_max
PARAM_VALUE 0 spinand->spimem->spi->controller->pump_messages.worker->lock.raw_lock.val.counter 0-s32max
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 4475771196491505664
CAPPED_DATA 0 spinand->cur_target 1
DATA_SOURCE 0 spinand $0
CONSTRAINT 0 spinand->cur_target <2716
RX_PATH
TASK_NOT_RUNNING
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 1 req->datalen 0-4294967294[c]
HOST_DATA 1 req->dataoffs 0-1000000510[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 1 req->datalen 0-u32max[c]
USER_DATA 1 req->dataoffs 0-4294967294[c]
USER_DATA 1 req->ooboffs 0-u32max[c]
USER_DATA 1 req->pos.page 0-u32max[c]
USER_PTR 1 req->databuf.in
LOCK2 0 &spinand->lock
TYPE_LOCK (struct spinand_device)->lock