Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_base.c nand_ecc_choose_conf() -> nand_maximize_ecc()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->erase 0,4096-ptr_max
PARAM_VALUE 0 chip->base.ops->isbad 0,4096-ptr_max
PARAM_VALUE 0 chip->buf_align 1-u64max
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0
PARAM_VALUE 0 chip->controller->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->controller->lock.owner.counter 0
PARAM_VALUE 0 chip->controller->ops 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops->attach_chip 4096-ptr_max
PARAM_VALUE 0 chip->cur_cs s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.chip_delay s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.cmdfunc 1-u64max
PARAM_VALUE 0 chip->legacy.read_buf 1-u64max
PARAM_VALUE 0 chip->legacy.read_byte 1-u64max
PARAM_VALUE 0 chip->legacy.select_chip 1-u64max
PARAM_VALUE 0 chip->legacy.waitfunc 1-u64max
PARAM_VALUE 0 chip->legacy.write_buf 1-u64max
PARAM_VALUE 0 chip->legacy.write_byte 1-u64max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0
PARAM_VALUE 0 chip->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->lock.owner.counter 0
PARAM_VALUE 0 chip->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 chip->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 chip->resume_wq.head.next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 2 oobavail 0-s32max
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip->badblock_pattern (-1),72
BUF_SIZE 0 chip->bbt_md (-1),72
BUF_SIZE 0 chip->bbt_td (-1),72,144
BUF_SIZE 0 chip->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 chip->priv (-1),4008
CAPPED_DATA 2 oobavail 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 caps $1
DATA_SOURCE 2 oobavail $2
FUZZY_MAX 2 oobavail 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->controller->controller_wp 0
HOST_DATA 0 chip->controller->supported_op.cont_read 0-1
HOST_DATA 0 chip->controller->supported_op.data_only_read 0-1
UNITS 2 oobavail unit_byte
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/raw/nand_base.c nand_ecc_choose_conf() -> nand_maximize_ecc()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->erase 0,4096-ptr_max
PARAM_VALUE 0 chip->base.ops->isbad 0,4096-ptr_max
PARAM_VALUE 0 chip->buf_align 1-u64max
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0
PARAM_VALUE 0 chip->controller->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->controller->lock.owner.counter 0
PARAM_VALUE 0 chip->controller->ops 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops->attach_chip 4096-ptr_max
PARAM_VALUE 0 chip->cur_cs s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.chip_delay s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.cmdfunc 1-u64max
PARAM_VALUE 0 chip->legacy.read_buf 1-u64max
PARAM_VALUE 0 chip->legacy.read_byte 1-u64max
PARAM_VALUE 0 chip->legacy.select_chip 1-u64max
PARAM_VALUE 0 chip->legacy.waitfunc 1-u64max
PARAM_VALUE 0 chip->legacy.write_buf 1-u64max
PARAM_VALUE 0 chip->legacy.write_byte 1-u64max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0
PARAM_VALUE 0 chip->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->lock.owner.counter 0
PARAM_VALUE 0 chip->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 chip->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 chip->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 chip->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 chip->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 chip->resume_wq.head.next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 2 oobavail 0-s32max
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip->badblock_pattern (-1),72
BUF_SIZE 0 chip->bbt_md (-1),72
BUF_SIZE 0 chip->bbt_td (-1),72,144
BUF_SIZE 0 chip->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 chip->priv (-1),4008
CAPPED_DATA 2 oobavail 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 caps $1
DATA_SOURCE 2 oobavail $2
FUZZY_MAX 2 oobavail 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->controller->controller_wp 0
HOST_DATA 0 chip->controller->supported_op.cont_read 0-1
HOST_DATA 0 chip->controller->supported_op.data_only_read 0-1
UNITS 2 oobavail unit_byte
HALF_LOCKED2 &pool->lock