Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_base.c nand_check_op() -> (struct nand_controller_ops)->exec_op()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| 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->manufacturer.desc->ops->detect | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->ops->fixup_onfi_param_page | 0,2293197095040008192,8624138701080768512 |
| PARAM_VALUE | 0 | this->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| PARAM_VALUE | 1 | op | 4894888124840771584,5448330271423401984,7433599726499090432 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 1-3,6-7 |
| PARAM_VALUE | 2 | check_only | 1 |
| 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 |
| CAPPED_DATA | 0 | this | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | op | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| NOSPEC | 1 | op->cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| HOST_DATA | 1 | op->cs | 1-s32max[c] |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | this->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| USER_DATA | 1 | op->cs | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| NO_OVERFLOW_SIMPLE | 0 | this->pagecache.bitflips | |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_base.c nand_exec_op() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.memorg.ntargets | 1-u32max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| 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->manufacturer.desc->ops->detect | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | this->manufacturer.desc->ops->fixup_onfi_param_page | 0,2293197095040008192,8624138701080768512 |
| PARAM_VALUE | 0 | this->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| 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 | op | 4096-ptr_max |
| PARAM_VALUE | 1 | op->cs | 0-4294967294 |
| PARAM_VALUE | 1 | op->instrs | 4096-18446744073709547521 |
| PARAM_VALUE | 1 | op->ninstrs | 1-7 |
| PARAM_VALUE | 2 | check_only | 0 |
| BUF_SIZE | 0 | this | (-1),3704,4088 |
| BUF_SIZE | 0 | this | (-1),3704,4088 |
| 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,144 |
| BUF_SIZE | 0 | this->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | this->controller | (-1),168 |
| BUF_SIZE | 0 | this->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| BUF_SIZE | 0 | this->legacy.dummy_controller.ops | (-1),32 |
| BUF_SIZE | 0 | this->priv | (-1),4008 |
| CAPPED_DATA | 0 | this | 1 |
| CAPPED_DATA | 1 | op->cs | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | op | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | this->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| NOSPEC | 1 | op->cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->controller->controller_wp | 0 |
| HOST_DATA | 0 | this->controller->lock.osq.tail.counter | 0 |
| HOST_DATA | 0 | this->controller->lock.owner.counter | 0 |
| HOST_DATA | 0 | this->controller->supported_op.cont_read | 0-1 |
| HOST_DATA | 0 | this->controller->supported_op.data_only_read | 0-1 |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | this->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| HOST_DATA | 1 | op->cs | 1-s32max[c] |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | this->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| USER_DATA | 1 | op->cs | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | this->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | this->nr_secure_regions | |
| NO_OVERFLOW_SIMPLE | 0 | this->pagecache.bitflips | |
| USER_PTR | 0 | this->data_buf | |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock | ||
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/diskonchip.c doc200x_readid() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops->exec_op | 0,4096-ptr_max |
| PARAM_VALUE | 1 | op | 2789660089459634176 |
| PARAM_VALUE | 1 | op->cs | 0-3 |
| PARAM_VALUE | 1 | op->deassert_wp | 0 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 2-3 |
| PARAM_VALUE | 2 | check_only | 0 |
| DATA_SOURCE | 0 | this | $0 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| NOCHECK_CALL |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_cmd_erase() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 885256304800587776 |
| PARAM_VALUE | 1 | op->deassert_wp | 0 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 1 |
| PARAM_VALUE | 2 | check_only | 0 |
| DATA_SOURCE | 0 | this | $0 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
drivers/mtd/nand/raw/nand_toshiba.c nand_exec_op() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.memorg.ntargets | 1-u32max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 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 | 1 | op | 8511681900497207296 |
| PARAM_VALUE | 1 | op->cs | 0-4294967294 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 2 |
| PARAM_VALUE | 2 | check_only | 0 |
| CAPPED_DATA | 1 | op->cs | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | op | $1 |
| STR_LEN | 0 | this->bbt_md->pattern | (-1) |
| STR_LEN | 0 | this->bbt_td->pattern | (-1) |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| NOSPEC | 1 | op->cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | this->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *this->data_buf | 0-255 |
| HOST_DATA | 0 | *this->oob_poi | 0-255 |
| HOST_DATA | 1 | op->cs | 1-s32max[c] |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | this->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *this->oob_poi | 0-255 |
| USER_DATA | 1 | op->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_macronix.c nand_exec_op() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.memorg.ntargets | 1-u32max |
| PARAM_VALUE | 0 | this->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 3352193850081181696 |
| PARAM_VALUE | 1 | op->cs | 0-4294967294 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 1 |
| PARAM_VALUE | 2 | check_only | 0 |
| CAPPED_DATA | 1 | op->cs | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | op | $1 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &this->lock |
drivers/mtd/nand/raw/nand_hynix.c nand_exec_op() -> (struct nand_controller_ops)->exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this | 4096-ptr_max |
| PARAM_VALUE | 0 | this->base.memorg.ntargets | 1-u32max |
| 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 | 4096-ptr_max |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | this->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | this->lock.first_waiter | 0,4096-ptr_max |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | this->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| PARAM_VALUE | 1 | op | 3876356838847561728,5956533111987060736 |
| PARAM_VALUE | 1 | op->cs | 0-4294967294 |
| PARAM_VALUE | 1 | op->instrs | 4096-ptr_max |
| PARAM_VALUE | 1 | op->ninstrs | 1-2 |
| PARAM_VALUE | 2 | check_only | 0 |
| BUF_SIZE | 0 | this->data_buf | (-1)-s32max |
| CAPPED_DATA | 1 | op->cs | 1 |
| DATA_SOURCE | 0 | this | $0 |
| DATA_SOURCE | 1 | op | $1 |
| CONTAINER | 0 | -16-152-3520+0 | $(-1) |
| NOSPEC | 0 | this->cur_cs | |
| NOSPEC | 1 | op->cs | |
| HARD_MAX | 1 | op->ninstrs | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | this->cur_cs | 1-s32max[c] |
| HOST_DATA | 1 | op->cs | 1-s32max[c] |
| USER_DATA | 0 | this->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | this->cur_cs | 1-s32max[c] |
| USER_DATA | 1 | op->cs | 1-s32max[c] |
| HALF_LOCKED2 | 0 | &this->controller->lock | |
| HALF_LOCKED2 | 0 | &this->lock |