Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/tee/optee/ffa_abi.c, line 378
- drivers/tee/optee/smc_abi.c
- drivers/tee/qcomtee/shm.c, line 120
- drivers/tee/tee_shm.c, line 385
- drivers/tee/tstee/core.c, line 358
Smatch caller information:
drivers/tee/qcomtee/shm.c pool_op_alloc() -> tee_dyn_shm_alloc_helper()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shm | 4096-ptr_max |
| PARAM_VALUE | 0 | shm->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | shm->ctx->teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | shm->flags | 5,12 |
| PARAM_VALUE | 0 | shm->id | (-1)-s32max |
| PARAM_VALUE | 0 | shm->refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | align | 16,4096 |
| PARAM_VALUE | 3 | shm_register | 2884466137304375296 |
| BUF_SIZE | 0 | shm | 80 |
| BUF_SIZE | 0 | shm->ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | shm | $1 |
| DATA_SOURCE | 1 | size | $2 |
| DATA_SOURCE | 2 | align | $3 |
| HARD_MAX | 2 | align | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | size | 0-u64max |