Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/spi-nor/sfdp.c spi_nor_parse_smpt() -> spi_nor_init_non_uniform_erase_map()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->bouncebuf 1-u64max
PARAM_VALUE 0 nor->bouncebuf_size 4096
PARAM_VALUE 0 nor->controller_ops 0
PARAM_VALUE 0 nor->dev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->info.op_tmpl->data.dir 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->bus_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->atomic_preopcode 0,6
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->dummy 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->proto 0,72-73,144,146
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smadr 0-4294967295
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smcr 0,2,4
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dma_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->fmode 1,3,67108864,201326592
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->match_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->regmap_nfi->cache_dirty 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->kworker->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->kworker->work_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->pump_messages.node.next->prev 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->pump_messages.worker 4096-ptr_max
PARAM_VALUE 0 nor->flags 0,8-u32max
PARAM_VALUE 0 nor->info 4096-ptr_max
PARAM_VALUE 0 nor->info->fixups 0,4096-ptr_max
PARAM_VALUE 0 nor->info->id 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0
PARAM_VALUE 0 nor->lock.magic 4096-ptr_max
PARAM_VALUE 0 nor->lock.osq.tail.counter 0
PARAM_VALUE 0 nor->lock.owner.counter 0
PARAM_VALUE 0 nor->manufacturer->nparts 2-4,8,12-13,15-16,30,43,48,50
PARAM_VALUE 0 nor->manufacturer->parts 4096-ptr_max
PARAM_VALUE 0 nor->mtd.dev.of_node 0,4096-ptr_max
PARAM_VALUE 0 nor->mtd.name 1-u64max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->addr_mode_nbytes 3-4
PARAM_VALUE 0 nor->params->addr_nbytes 3-4
PARAM_VALUE 0 nor->params->erase_map.n_regions 1-256
PARAM_VALUE 0 nor->params->erase_map.regions 1-u64max
PARAM_VALUE 0 nor->params->n_banks 1-255
PARAM_VALUE 0 nor->params->quad_enable 0,1166862978509557760,5041840247586770944,7982451154692591616
PARAM_VALUE 0 nor->params->size 0-2305843009213693951
PARAM_VALUE 0 nor->params->writesize 1
PARAM_VALUE 0 nor->read_proto 65793
PARAM_VALUE 0 nor->reg_proto 65793
PARAM_VALUE 0 nor->sfdp 4096-ptr_max
PARAM_VALUE 0 nor->sfdp->dwords 1-u64max
PARAM_VALUE 0 nor->sfdp->num_dwords 0-1024
PARAM_VALUE 0 nor->spimem 4096-ptr_max
PARAM_VALUE 0 nor->spimem->name 1-ptr_max
PARAM_VALUE 0 nor->spimem->spi 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->map->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->op_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->completed_cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->device->owner->state 0-1,3-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->completed_cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->device->owner->state 0-1,3-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->wq->first_flusher->done.done 0-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->wq->flusher_queue.prev->next 2906673126597898240
PARAM_VALUE 0 nor->spimem->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->kworker->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->kworker->work_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->pump_messages.node.next->prev 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->pump_messages.worker 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->pump_messages.worker->lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->queue.prev 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->queue.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->write_proto 65793
PARAM_VALUE 1 smpt 0-ptr_max
BUF_SIZE 0 nor->bouncebuf 4096
BUF_SIZE 0 nor->dev 1616
BUF_SIZE 0 nor->info (-1),56
BUF_SIZE 0 nor->mtd.name s32min,(-10),(-1)-s32max
BUF_SIZE 0 nor->params 408
BUF_SIZE 0 nor->sfdp 16
DATA_SOURCE 0 nor $0
DATA_SOURCE 1 smpt r spi_nor_get_map_in_use
TERMINATED 0 nor->bouncebuf->node.name 1
MEM_ZERO 0 &nor->params->erase_map
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smadr 0-4294967295[c]
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->para 0-255
HOST_DATA 0 nor->spimem->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 nor->spimem->spi->controller->dev.driver_data->para 0-255
HOST_DATA 0 *nor->bouncebuf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords