Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mtd/mtd_virt_concat.c mtd_virt_concat_destroy() -> del_mtd_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd->name | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mtd/mtdcore.c mtd_device_parse_register() -> del_mtd_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | mtd->dev.kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | mtd->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->master.chrdev_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mtd->master.partitions_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mtd->ooblayout->ecc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mtd->ooblayout->free | 0,4096-ptr_max |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| CAPPED_DATA | 0 | mtd | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/mtd/mtdcore.c mtd_device_unregister() -> del_mtd_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | mtd->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | mtd->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->dev.kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | mtd->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->ooblayout->ecc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mtd->ooblayout->free | 0,4096-ptr_max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mtd | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | mtd | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mtd | unit_byte |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/mtd/mtdpart.c __del_mtd_partitions() -> del_mtd_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| CAPPED_DATA | 0 | &mtd->part.node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &master->master.partitions_lock |
drivers/mtd/mtdpart.c __mtd_del_partition() -> del_mtd_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | mtd->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mtd->part.node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mtd->part.node.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | &mtd->partitions | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &master->master.partitions_lock |