Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/fsmc_nand.c fsmc_read_page_hwecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->setup_interface | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 1 | dat | 1-u64max |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | this->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->offset | 0-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| HOST_DATA | 1 | *dat | 0-255 |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | this->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | this->priv->curr_page_addr | 0-s32max[c] |
| USER_DATA | 0 | this->priv->offset | 0-s32max[c] |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_read_page_hwecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->setup_interface | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 1 | dat | 1-u64max |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | this->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| HOST_DATA | 1 | *dat | 0-255 |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_read_page_swecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->setup_interface | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | this->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_read_subpage() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | this->controller->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | this->controller->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | this->controller->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | this->controller->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | this->ecc.calc_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | this->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | this->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | this->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | this->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| DATA_SOURCE | 0 | this | $0 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &this->controller->lock | |
| LOCK2 | 0 | &this->lock | |
| TYPE_LOCK | (struct nand_chip)->lock | ||
| TYPE_LOCK | (struct nand_controller)->lock |
drivers/mtd/nand/raw/nand_base.c nand_write_page_hwecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | this->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 1 | dat | 1-u64max |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| CAPPED_DATA | 0 | this->nr_secure_regions | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->offset | 0-s32max[c] |
| HOST_DATA | 1 | *dat | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_write_page_swecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | ecc_code | 4096-ptr_max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| CAPPED_DATA | 0 | this->nr_secure_regions | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_write_page_syndrome() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->markbad | 0,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | this->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *this->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *this->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *this->bbt_td->version | 0-255 |
| PARAM_VALUE | 1 | dat | 1-u64max |
| BUF_SIZE | 0 | this->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | this->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | this->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| BUF_SIZE | 1 | dat | (-1)-s32max |
| CAPPED_DATA | 0 | this | 1 |
| CAPPED_DATA | 0 | this->nr_secure_regions | 1 |
| DATA_SOURCE | 0 | this | $0 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | this->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | this->priv->offset | 0-s32max[c] |
| HOST_DATA | 1 | *dat | 0-255 |
| HOST_DATA | 2 | *ecc_code | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_write_subpage_hwecc() -> (struct nand_ecc_ctrl)->calculate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->ecc.write_subpage | 1-u64max |
| PARAM_VALUE | 1 | dat | 1-u64max |
| BUF_SIZE | 1 | dat | (-1),1-s32max |
| BUF_SIZE | 1 | dat | (-1),1-s32max |
| CAPPED_DATA | 0 | this | 1 |
| CAPPED_DATA | 0 | this->nr_secure_regions | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | dat | $3 [m] |
| CONTAINER | 0 | -72-3528+0 | $(-1) |
| BIT_INFO | 0 | this->options | 0x0,0xfffffdff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |