Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/char/hw_random/optee-rng.c, line 148
- drivers/char/tpm/tpm_ftpm_tee.c, line 212
- drivers/firmware/arm_scmi/transports/optee.c, line 338
- drivers/firmware/broadcom/tee_bnxt_fw.c, line 215
- drivers/firmware/qcom/qcom_pas_tee.c
- drivers/nvmem/stm32-bsec-optee-ta.c
- drivers/platform/x86/amd/pmf/tee-if.c, line 507
- drivers/rtc/rtc-optee.c, line 589
- drivers/tee/optee/call.c, line 305
- drivers/tee/optee/device.c, line 142
- drivers/tee/tee_shm.c, line 187
Smatch caller information:
drivers/firmware/qcom/qcom_pas_tee.c qcom_pas_tee_get_rsc_table() -> tee_shm_alloc_kernel_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->teedev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->teedev->desc->ops | 4096-ptr_max |
| UNITS | 1 | size | unit_byte |
drivers/firmware/qcom/qcom_pas_tee.c qcom_pas_tee_init_image() -> tee_shm_alloc_kernel_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-4000000 |
| DATA_SOURCE | 1 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/broadcom/tee_bnxt_fw.c tee_bnxt_fw_probe() -> tee_shm_alloc_kernel_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->supp_nowait | 1 |
| PARAM_VALUE | 0 | ctx->teedev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->teedev->desc | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ctx->teedev->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4194304 |
| BUF_SIZE | 0 | ctx | 24 |
| DATA_SOURCE | 0 | ctx | r tee_client_open_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->teedev->cdev.count |
drivers/platform/x86/amd/pmf/tee-if.c amd_pmf_tee_init() -> tee_shm_alloc_kernel_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->supp_nowait | 1 |
| PARAM_VALUE | 0 | ctx->teedev | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 24 |
| DATA_SOURCE | 0 | ctx | r tee_client_open_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctx->teedev->cdev.count | |
| UNITS | 1 | size | unit_byte |