Defined in 4 files as a function:
- drivers/tee/amdtee/shm_pool.c, line 11 (as a function)
- drivers/tee/optee/smc_abi.c, line 588 (as a function)
- drivers/tee/qcomtee/shm.c, line 117 (as a function)
- drivers/tee/tstee/core.c, line 355 (as a function)
Referenced in 4 files:
- drivers/tee/amdtee/shm_pool.c, line 55
- drivers/tee/optee/smc_abi.c, line 616
- drivers/tee/qcomtee/shm.c, line 134
- drivers/tee/tstee/core.c, line 372
Smatch caller information:
drivers/tee/tee_shm.c shm_alloc_helper() -> (struct tee_shm_pool_ops)->alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | shm | 4096-ptr_max |
| PARAM_VALUE | 1 | shm->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | shm->ctx->teedev | 4096-ptr_max |
| PARAM_VALUE | 1 | shm->flags | 5,12 |
| PARAM_VALUE | 1 | shm->id | (-1)-s32max |
| PARAM_VALUE | 1 | shm->refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | align | 16,4096 |
| BUF_SIZE | 1 | shm | 80 |
| BUF_SIZE | 1 | shm->ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | shm | r _kzalloc_noprof |
| DATA_SOURCE | 2 | size | $1 |
| DATA_SOURCE | 3 | align | $2 |
| CONTAINER | 0 | *(-0-0+0) | $(-1) |
| HARD_MAX | 3 | align | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 0-u64max |