Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/spi-nor/core.c spi_nor_erase() -> spi_nor_lock_device()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops 0,4096-ptr_max
PARAM_VALUE 0 nor->controller_ops->erase 0,6149025279724744704
PARAM_VALUE 0 nor->flags 16384-u32max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->erase_map.uniform_region.erase_mask 1-255
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.den 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.num 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->new_parent_index 0-254
PARAM_VALUE 0 nor->priv->host->clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->num_parents 0-255
PARAM_VALUE 0 nor->priv->host->clk->core->orphan 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->phase s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->rpm_enabled 0-1
PARAM_VALUE 0 nor->priv->host->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->rww.ongoing_pe 1
PARAM_VALUE 0 nor->rww.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->rww.wait.head.prev->next->next 4096-ptr_max
DATA_SOURCE 0 nor r mtd_to_spi_nor
RX_PATH
TASK_NOT_RUNNING
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
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/spi-nor/core.c spi_nor_erase_dice() -> spi_nor_lock_device()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops 0,4096-ptr_max
PARAM_VALUE 0 nor->flags 16384-u32max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.den 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.num 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->new_parent_index 0-254
PARAM_VALUE 0 nor->priv->host->clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->num_parents 0-255
PARAM_VALUE 0 nor->priv->host->clk->core->orphan 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->phase s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->rpm_enabled 0-1
PARAM_VALUE 0 nor->priv->host->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->rww.ongoing_pe 1
PARAM_VALUE 0 nor->rww.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->rww.wait.head.prev->next->next 4096-ptr_max
DATA_SOURCE 0 nor $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
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
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/spi-nor/core.c spi_nor_erase_multi_sectors() -> spi_nor_lock_device()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops 0,4096-ptr_max
PARAM_VALUE 0 nor->controller_ops->erase 0,6149025279724744704
PARAM_VALUE 0 nor->flags 16384-u32max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.den 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.num 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->new_parent_index 0-254
PARAM_VALUE 0 nor->priv->host->clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->num_parents 0-255
PARAM_VALUE 0 nor->priv->host->clk->core->orphan 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->phase s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->rpm_enabled 0-1
PARAM_VALUE 0 nor->priv->host->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->rww.ongoing_pe 1
PARAM_VALUE 0 nor->rww.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->rww.wait.head.prev->next->next 4096-ptr_max
CAPPED_DATA 0 nor->params->erase_map.n_regions 1
DATA_SOURCE 0 nor $0
RX_PATH
TASK_NOT_RUNNING
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
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/spi-nor/core.c spi_nor_write() -> spi_nor_lock_device()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops 0,4096-ptr_max
PARAM_VALUE 0 nor->flags 16384-u32max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.den 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->duty.num 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->new_parent_index 0-254
PARAM_VALUE 0 nor->priv->host->clk->core->notifier_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->num_parents 0-255
PARAM_VALUE 0 nor->priv->host->clk->core->orphan 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request 0-4
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->phase s32min-s32max
PARAM_VALUE 0 nor->priv->host->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 nor->priv->host->clk->core->rpm_enabled 0-1
PARAM_VALUE 0 nor->priv->host->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->priv->host->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->rww.ongoing_pe 1
PARAM_VALUE 0 nor->rww.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->rww.wait.head.prev->next->next 4096-ptr_max
DATA_SOURCE 0 nor r mtd_to_spi_nor
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->dirmap.wdesc->mem->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 nor->dirmap.wdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smadr 0-4294967295[c]
HOST_DATA 0 nor->dirmap.wdesc->mem->spi->controller->dev.driver_data->para 0-255
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
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
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock