Documented in 2 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

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