Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/mtd/nand/raw/arasan-nand-controller.c, line 566
- drivers/mtd/nand/raw/meson_nand.c
- drivers/mtd/nand/raw/nand_base.c
- drivers/mtd/nand/raw/sunxi_nand.c, line 2203
Smatch caller information:
drivers/mtd/nand/raw/arasan-nand-controller.c anfc_write_page_hw_ecc() -> nand_write_oob_std()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| CAPPED_DATA | 0 | chip->nr_secure_regions | 1 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | page | $3 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/nand_base.c nand_do_write_oob() -> (struct nand_ecc_ctrl)->write_oob_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4545526569871687680,7841708234825457664 |
| 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,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->controller->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->current_interface_config | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0-s32max |
| 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->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->priv->command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->ctl2 | 0-4294967295 |
| PARAM_VALUE | 0 | chip->priv->curr_column | s32min-s32max |
| PARAM_VALUE | 0 | chip->priv->curr_command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->curr_page_addr | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | chip->priv->data_pos | 0 |
| PARAM_VALUE | 0 | chip->priv->datalen | s32min-s32max |
| PARAM_VALUE | 0 | chip->priv->offset | 0-4294967295 |
| PARAM_VALUE | 0 | chip->suspended | 0 |
| PARAM_VALUE | 0 | *chip->priv->id_data | 0-255 |
| CAPPED_DATA | 0 | chip | 1 |
| CAPPED_DATA | 0 | chip->nr_secure_regions | 1 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1) |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1) |
| CONTAINER | 0 | -136-3528+0 | $(-1) |
| BIT_INFO | 1 | page | 0x0,0x7fffffff |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| HOST_DATA | 1 | page | 0-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 0-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| USER_DATA | 1 | page | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| LOCK2 | 0 | &chip->controller->lock | |
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock | ||
| TYPE_LOCK | (struct nand_chip)->lock | ||
| TYPE_LOCK | (struct nand_controller)->lock |
drivers/mtd/nand/raw/nand_base.c nand_do_write_oob() -> (struct nand_ecc_ctrl)->write_oob()
| 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->base.ops->markbad | 0,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->current_interface_config | 4096-ptr_max |
| 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->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->cmd_complete.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->priv->command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->ctl2 | 0-4294967295 |
| PARAM_VALUE | 0 | chip->priv->curr_column | s32min-s32max |
| PARAM_VALUE | 0 | chip->priv->curr_command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->curr_page_addr | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | chip->priv->data_pos | 0 |
| PARAM_VALUE | 0 | chip->priv->datalen | s32min-s32max |
| PARAM_VALUE | 0 | chip->priv->offset | 0-4294967295 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 0 | *chip->priv->id_data | 0-255 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| CAPPED_DATA | 0 | chip | 1 |
| CAPPED_DATA | 0 | chip->nr_secure_regions | 1 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -160-3528+0 | $(-1) |
| BIT_INFO | 1 | page | 0x0,0x7fffffff |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| HOST_DATA | 1 | page | 0-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 0-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| USER_DATA | 1 | page | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |