Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_bbt.c check_create() -> write_bbt()
| 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->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 | 0 | *this->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | td | 4096-ptr_max |
| PARAM_VALUE | 2 | td->options | s32min-(-1),8192-s32max |
| PARAM_VALUE | 2 | td->pages | 4096-ptr_max |
| PARAM_VALUE | 3 | md | 0,4096-ptr_max |
| PARAM_VALUE | 4 | chipsel | (-1)-s32max |
| 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 | 2 | td | (-1)-0,72 |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| CAPPED_DATA | 4 | chipsel | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 2 | td->pattern | (-1),8 |
| STR_LEN | 3 | md->pattern | (-1),8 |
| BIT_INFO | 2 | td->options | 0x2000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->oob_poi | 0-255 |
| HOST_DATA | 0 | *this->priv->raw_buffer | 0-255 |
| UNITS | 4 | chipsel | unit_array_size |
drivers/mtd/nand/raw/nand_bbt.c check_create() -> write_bbt()
| 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->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 | 0 | *this->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | td | 4096-ptr_max |
| PARAM_VALUE | 2 | td->options | s32min-(-1),8192-s32max |
| PARAM_VALUE | 2 | td->pages | 4096-ptr_max |
| PARAM_VALUE | 2 | td->version | 4096-ptr_max |
| PARAM_VALUE | 3 | md | 4096-ptr_max |
| PARAM_VALUE | 3 | md->pages | 4096-ptr_max |
| PARAM_VALUE | 3 | md->version | 4096-ptr_max |
| PARAM_VALUE | 4 | chipsel | (-1)-s32max |
| 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 | 2 | td | (-1)-0,72 |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| CAPPED_DATA | 4 | chipsel | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 2 | td->pattern | (-1),8 |
| STR_LEN | 3 | md->pattern | (-1),8 |
| BIT_INFO | 2 | td->options | 0x2000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->oob_poi | 0-255 |
| HOST_DATA | 0 | *this->priv->raw_buffer | 0-255 |
| UNITS | 4 | chipsel | unit_array_size |
drivers/mtd/nand/raw/nand_bbt.c nand_update_bbt() -> write_bbt()
| 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->bbt | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md->version | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->options | s32min-(-1),8192-s32max |
| PARAM_VALUE | 0 | this->bbt_td->version | 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 | 0 | *this->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | td | 4096-ptr_max |
| PARAM_VALUE | 2 | td->options | s32min-(-1),8192-s32max |
| PARAM_VALUE | 2 | td->version | 4096-ptr_max |
| PARAM_VALUE | 3 | md | 0,4096-ptr_max |
| PARAM_VALUE | 3 | md->version | 4096-ptr_max |
| 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 | 1 | buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 2 | td->pattern | (-1),8 |
| STR_LEN | 3 | md->pattern | (-1),8 |
| BIT_INFO | 2 | td->options | 0x2000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
drivers/mtd/nand/raw/nand_bbt.c nand_update_bbt() -> write_bbt()
| 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->bbt_md->version | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->version | 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 | 0 | *this->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | td | 4096-ptr_max |
| PARAM_VALUE | 2 | td->options | s32min-(-1),8192-s32max |
| PARAM_VALUE | 2 | td->version | 4096-ptr_max |
| PARAM_VALUE | 3 | md | 4096-ptr_max |
| PARAM_VALUE | 3 | md->version | 4096-ptr_max |
| 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 | 1 | buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 2 | td | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| BUF_SIZE | 3 | md | (-1)-0,72 |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 2 | td->pattern | (-1),8 |
| STR_LEN | 3 | md->pattern | (-1),8 |
| BIT_INFO | 2 | td->options | 0x2000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->oob_poi | 0-255 |
| HOST_DATA | 0 | *this->priv->raw_buffer | 0-255 |