Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/mtd/nand/core.c, line 341
- drivers/mtd/nand/raw/nand_base.c, line 6442
- drivers/mtd/nand/spi/core.c, line 1973
Smatch caller information:
drivers/mtd/ubi/build.c mtd_max_bad_blocks() -> (struct mtd_info)->_max_bad_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->_max_bad_blocks | 1-u64max |
| PARAM_VALUE | 0 | mtd->parent | 0 |
| PARAM_VALUE | 0 | mtd->parent->parent | 0 |
| PARAM_VALUE | 1 | offs | 0 |
| BUF_SIZE | 0 | mtd | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | mtd | r mtd_get_master |
| DATA_SOURCE | 2 | len | $2 |
| CONTAINER | 0 | -296+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |