Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/mtdcore.c mtd_otp_nvmem_add() -> mtd_otp_nvmem_register()
| 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.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 |
| PARAM_VALUE | 1 | compatible | 4825453074597801984 |
| PARAM_VALUE | 3 | reg_read | 598487756279468032 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 1 | compatible | 9 |
| CAPPED_DATA | 0 | mtd | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | size | r mtd_otp_size |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd->name | (-1) |
| STR_LEN | 1 | compatible | 8 |
| TERMINATED | 1 | compatible | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/mtd/mtdcore.c mtd_otp_nvmem_add() -> mtd_otp_nvmem_register()
| 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.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 |
| PARAM_VALUE | 1 | compatible | 3426055392129335296 |
| PARAM_VALUE | 2 | size | 1-4000000 |
| PARAM_VALUE | 3 | reg_read | 8574426165396574208 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 1 | compatible | 12 |
| CAPPED_DATA | 0 | mtd | 1 |
| DATA_SOURCE | 0 | mtd | $0 |
| DATA_SOURCE | 2 | size | r mtd_otp_size |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd->name | (-1) |
| STR_LEN | 1 | compatible | 11 |
| TERMINATED | 1 | compatible | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |