Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_bbt.c read_abs_bbts() -> scan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->badblock_pattern | 1-u64max |
| 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 | 16,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->options | s32min-(-1),32-s32max |
| 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->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 4 | td | 4096-ptr_max |
| PARAM_VALUE | 4 | td->options | s32min-(-1),256-s32max |
| PARAM_VALUE | 4 | td->pages | 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 | 4 | td | (-1)-0,72 |
| BUF_SIZE | 4 | td | (-1)-0,72 |
| CAPPED_DATA | 4 | td->veroffs | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 4 | td | $2 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 4 | td->pattern | (-1),8 |
| BIT_INFO | 4 | td->options | 0x120,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
drivers/mtd/nand/raw/nand_bbt.c read_abs_bbts() -> scan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->badblock_pattern | 1-u64max |
| 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 | 16,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->options | s32min-(-1),32-s32max |
| 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->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 4 | td | 4096-ptr_max |
| PARAM_VALUE | 4 | td->options | s32min-(-1),256-s32max |
| PARAM_VALUE | 4 | td->pages | 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 | 4 | td | (-1)-0,72 |
| BUF_SIZE | 4 | td | (-1)-0,72 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 4 | td | $3 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 4 | td->pattern | (-1),8 |
| BIT_INFO | 4 | td->options | 0x100,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
drivers/mtd/nand/raw/nand_bbt.c search_bbt() -> scan_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->badblock_pattern | 1-u64max |
| PARAM_VALUE | 0 | this->base.ops->erase | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.ops->isbad | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt | 16,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td | 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->id.data | 0-255 |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 4 | td | 4096-ptr_max |
| PARAM_VALUE | 4 | td->maxblocks | 1-s32max |
| PARAM_VALUE | 4 | td->pages | 4096-ptr_max |
| PARAM_VALUE | 4 | td->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 | 4 | td | (-1)-0,72 |
| BUF_SIZE | 4 | td | (-1)-0,72 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 4 | td | $2 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| STR_LEN | 4 | td->pattern | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |