Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdcore.c mtd_block_isbad() -> (struct mtd_info)->_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_block_isbad | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| BUF_SIZE | 0 | mtd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | mtd | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| CONTAINER | 0 | -280+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from | s64min-s64max[c] |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/mtdcore.c mtd_block_markbad() -> (struct mtd_info)->_block_isbad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_block_isbad | 1-u64max |
| PARAM_VALUE | 0 | mtd->_block_markbad | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 1 | from | r mtd_get_master_ofs |
| CONTAINER | 0 | -280+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from | s64min-s64max[c] |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &ubi->work_sem |