Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/sram.c sram_add_partition() -> sram_add_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sram | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->no_memory_wc | 0 |
| PARAM_VALUE | 0 | sram->pool | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->virt_base | 0,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->pool | 1 |
| PARAM_VALUE | 1 | block->size | 1-u32max |
| PARAM_VALUE | 3 | part | 4096-ptr_max |
| PARAM_VALUE | 3 | part->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | part->lock.first_waiter | 0 |
| PARAM_VALUE | 3 | part->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 3 | part->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 3 | part->lock.owner.counter | 0 |
| BUF_SIZE | 0 | sram | 56 |
| BUF_SIZE | 0 | sram->dev | 1616 |
| BUF_SIZE | 0 | sram->partition | (-1),280-s32max |
| BUF_SIZE | 0 | sram->pool | 0,120 |
| DATA_SOURCE | 0 | sram | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | start | $2 |
| MEM_ZERO | 0 | sram | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | start | unit_byte |
drivers/misc/sram.c sram_add_partition() -> sram_add_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sram | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | sram->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->no_memory_wc | 0 |
| PARAM_VALUE | 0 | sram->pool | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sram->virt_base | 0,4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->protect_exec | 1 |
| PARAM_VALUE | 1 | block->size | 1-u32max |
| PARAM_VALUE | 3 | part | 4096-ptr_max |
| PARAM_VALUE | 3 | part->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | part->lock.first_waiter | 0 |
| PARAM_VALUE | 3 | part->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 3 | part->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 3 | part->lock.owner.counter | 0 |
| BUF_SIZE | 0 | sram | 56 |
| BUF_SIZE | 0 | sram->dev | 1616 |
| BUF_SIZE | 0 | sram->partition | (-1),280-s32max |
| BUF_SIZE | 0 | sram->pool | 0,120 |
| DATA_SOURCE | 0 | sram | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | start | $2 |
| MEM_ZERO | 0 | sram | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | start | unit_byte |