Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/mtd/nand/ecc-sw-bch.c, line 170 (as a function)
- include/linux/mtd/nand-ecc-sw-bch.h, line 62 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_base.c rawnand_sw_bch_init() -> nand_ecc_sw_bch_init_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nand | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.user_conf.algo | 2 |
| PARAM_VALUE | 0 | nand->ecc.user_conf.engine_type | 2 |
| BUF_SIZE | 0 | nand | 2640 |
| BIT_INFO | 0 | nand->ecc.user_conf.step_size | 0x0,0x7fffffff |
| BIT_INFO | 0 | nand->ecc.user_conf.strength | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/mtd/nand/ecc.c nand_ecc_init_ctx() -> (struct nand_ecc_engine_ops)->init_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nand | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->bbt.cache | 16,4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.defaults.engine_type | 4 |
| PARAM_VALUE | 0 | nand->ecc.engine | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.engine->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.engine->ops->init_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.ondie_engine | 5714772075306463232 |
| PARAM_VALUE | 0 | nand->ecc.user_conf.algo | 0-3 |
| PARAM_VALUE | 0 | nand->ecc.user_conf.engine_type | 0-4 |
| PARAM_VALUE | 0 | nand->ecc.user_conf.placement | 0-2 |
| PARAM_VALUE | 0 | nand->ecc.user_conf.step_size | 0-s32max |
| PARAM_VALUE | 0 | nand->ecc.user_conf.strength | 0-s32max |
| PARAM_VALUE | 0 | nand->mtd.dev.of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nand->ops | 1127675159685623808 |
| PARAM_VALUE | 0 | nand->ops->erase | 2145616741012197376 |
| PARAM_VALUE | 0 | nand->ops->isbad | 4230751433069776896 |
| PARAM_VALUE | 0 | nand->ops->markbad | 4545526569871687680 |
| PARAM_VALUE | 0 | nand->rowconv.eraseblock_addr_shift | 0-32 |
| PARAM_VALUE | 0 | nand->rowconv.lun_addr_shift | 0-64 |
| BUF_SIZE | 0 | nand->ecc.ondie_engine | 48 |
| DATA_SOURCE | 0 | nand | $0 |
| CONTAINER | 0 | -0-24-120-2488+0 | $(-1) |
| TASK_NOT_RUNNING |
drivers/spi/spi-mxic.c mxic_spi_mem_ecc_init_ctx() -> (struct nand_ecc_engine_ops)->init_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nand | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.engine | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ecc.engine->ops->init_ctx | 1-u64max |
| PARAM_VALUE | 0 | nand->ecc.engine->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | nand->ops->erase | 2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 0 | nand->ops->isbad | 4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 0 | nand->ops->markbad | 4545526569871687680,7841708234825457664 |
| BUF_SIZE | 0 | nand->ecc.ondie_engine | (-1),48 |
| DATA_SOURCE | 0 | nand | $0 |
| TASK_NOT_RUNNING |