Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/soc/qcom/smem.c qcom_smem_enumerate_partitions() -> qcom_smem_get_ptable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smem | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smem->global_partition.cacheline | 0-u32max |
| PARAM_VALUE | 0 | smem->global_partition.size | 0-u32max |
| PARAM_VALUE | 0 | smem->global_partition.virt_base | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | smem->item_count | 0-u16max |
| PARAM_VALUE | 0 | smem->num_regions | 1-2 |
| PARAM_VALUE | 0 | smem->ptable | 4096-ptr_max |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem->dev | 1616 |
| BUF_SIZE | 0 | smem->regions | 24-48 |
| CAPPED_DATA | 0 | smem->hwlock | 1 |
| DATA_SOURCE | 0 | smem | $0 |
| FUZZY_MAX | 0 | smem->global_partition.cacheline | 0 |
| FUZZY_MAX | 0 | smem->global_partition.size | 0 |
| FUZZY_MAX | 0 | smem->item_count | 512 |
| MEM_ZERO | 0 | smem | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | smem->num_regions |
drivers/soc/qcom/smem.c qcom_smem_get_item_count() -> qcom_smem_get_ptable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smem | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smem->global_partition.cacheline | 0-u32max |
| PARAM_VALUE | 0 | smem->global_partition.size | 1-u32max |
| PARAM_VALUE | 0 | smem->global_partition.virt_base | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | smem->num_regions | 1-2 |
| PARAM_VALUE | 0 | smem->ptable | 4096-ptr_max |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem->dev | 1616 |
| BUF_SIZE | 0 | smem->regions | 24-48 |
| CAPPED_DATA | 0 | smem->hwlock | 1 |
| DATA_SOURCE | 0 | smem | $0 |
| MEM_ZERO | 0 | smem | |
| MEM_ZERO | 0 | smem->ptable | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | smem->num_regions |
drivers/soc/qcom/smem.c qcom_smem_set_global_partition() -> qcom_smem_get_ptable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smem | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->driver->owner->state | 0-1,3-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | smem->hwlock->bank->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | smem->hwlock->priv->regmap->cache_dirty | 1 |
| PARAM_VALUE | 0 | smem->num_regions | 1-2 |
| PARAM_VALUE | 0 | smem->ptable | 4096-ptr_max |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem | 200-224 |
| BUF_SIZE | 0 | smem->dev | 1616 |
| BUF_SIZE | 0 | smem->regions | 24-48 |
| CAPPED_DATA | 0 | smem->hwlock | 1 |
| DATA_SOURCE | 0 | smem | $0 |
| MEM_ZERO | 0 | smem | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | smem->num_regions |