Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_bbt.c bbt_block_checkbad() -> scan_block_fast()
| 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 | 2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 0 | this->base.ops->isbad | 4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 0 | this->base.ops->markbad | 4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | this->bbt | 16,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_md->options | 280,8472,9106,24872,271250 |
| PARAM_VALUE | 0 | this->bbt_md->veroffs | 0,4,6-7,12,14-15,18 |
| PARAM_VALUE | 0 | this->bbt_options | 262144-u32max |
| PARAM_VALUE | 0 | this->bbt_td | 4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->options | 34,280,8226,8472,9106,24872,271250 |
| PARAM_VALUE | 0 | this->bbt_td->veroffs | 0,4,6-7,12,14-15,18 |
| 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 | bd | 1-u64max |
| PARAM_VALUE | 3 | buf | 1-u64max |
| 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 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 2 | offs | $2 |
| DATA_SOURCE | 3 | buf | $3 |
| FUZZY_MAX | 0 | this->bbt_md->options | 280 |
| FUZZY_MAX | 0 | this->bbt_td->options | 280 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| BIT_INFO | 0 | this->bbt_options | 0x0,0xfff7ffff |
| BIT_INFO | 0 | this->options | 0x0,0xf7ffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions |
drivers/mtd/nand/raw/nand_bbt.c create_bbt() -> scan_block_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->badblock_pattern | 1-u64max |
| PARAM_VALUE | 0 | this->base.memorg.ntargets | 1-u32max |
| 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_td | 0,4096-ptr_max |
| PARAM_VALUE | 0 | this->bbt_td->options | s32min-(-1),512-s32max |
| PARAM_VALUE | 0 | this->bbt_td->pages | 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 | bd | 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 | 3 | buf | (-1),1-s32max |
| BUF_SIZE | 3 | buf | (-1),1-s32max |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | bd | $2 |
| DATA_SOURCE | 3 | buf | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| BIT_INFO | 1 | bd->options | 0x0,0xfffbffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | *this->oob_poi | 0-255 |