Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/soc/qcom/smem.c qcom_smem_alloc() -> qcom_smem_alloc_private()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smem | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smem->item_count | 9-u16max |
| PARAM_VALUE | 1 | part | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 2 | item | 8-65534 |
| CAPPED_DATA | 2 | item | 1 |
| DATA_SOURCE | 1 | part | r xa_load |
| DATA_SOURCE | 2 | item | $1 |
| DATA_SOURCE | 3 | size | $2 |
| PARAM_COMPARE | 0 | smem->item_count | > $2 |
| PARAM_COMPARE | 2 | item | < $0->item_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
drivers/soc/qcom/smem.c qcom_smem_alloc() -> qcom_smem_alloc_private()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smem | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->global_partition.virt_base | 1-u64max |
| PARAM_VALUE | 0 | smem->hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | smem->hwlock->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smem->item_count | 9-u16max |
| PARAM_VALUE | 1 | part | 4096-ptr_max |
| PARAM_VALUE | 1 | part->virt_base | 1-u64max |
| PARAM_VALUE | 2 | item | 8-65534 |
| BUF_SIZE | 1 | part | 32 |
| CAPPED_DATA | 2 | item | 1 |
| DATA_SOURCE | 2 | item | $1 |
| DATA_SOURCE | 3 | size | $2 |
| PARAM_COMPARE | 0 | smem->item_count | > $2 |
| PARAM_COMPARE | 0 | &smem->global_partition | == $1 |
| PARAM_COMPARE | 2 | item | < $0->item_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |