Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/crypto/ccp/tee-dev.c, line 345 (as a function)
- include/linux/psp-tee.h, line 80 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/tee/amdtee/call.c handle_close_session() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 4 |
| PARAM_VALUE | 1 | buf | 1662584002848145408 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | status | 6259536948053164032 |
| BUF_SIZE | 1 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
drivers/tee/amdtee/call.c handle_invoke_cmd() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 5 |
| PARAM_VALUE | 1 | buf | 7565360929534636032 |
| PARAM_VALUE | 2 | len | 68 |
| PARAM_VALUE | 3 | status | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 68 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *status | 0-u32max |
| UNITS | 2 | len | unit_byte |
| USER_PTR | 3 | status |
drivers/tee/amdtee/call.c handle_load_ta() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 1 |
| PARAM_VALUE | 1 | buf | 6517822832417497088 |
| PARAM_VALUE | 2 | len | 20 |
| PARAM_VALUE | 3 | status | 1222071565348741164,4997082194544906284,5522658999609491500,6327377827663126572,6979904373945454636 |
| BUF_SIZE | 1 | buf | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *status | 0-u32max |
| UNITS | 2 | len | unit_byte |
| USER_PTR | 3 | status | |
| LOCK2 | global &ta_refcount_mutex |
drivers/tee/amdtee/call.c handle_load_ta() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 2 |
| PARAM_VALUE | 1 | buf | 5070408393274654720 |
| PARAM_VALUE | 2 | len | 4 |
| PARAM_VALUE | 3 | status | 2167581625015689216 |
| PARAM_VALUE | 3 | *status | 0 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | global &ta_refcount_mutex |
drivers/tee/amdtee/call.c handle_map_shmem() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 6 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 780 |
| PARAM_VALUE | 3 | status | 1326537191983194112 |
| BUF_SIZE | 1 | buf | 780 |
| BUF_SIZE | 1 | buf | 780 |
| DATA_SOURCE | 1 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
drivers/tee/amdtee/call.c handle_open_session() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 3 |
| PARAM_VALUE | 1 | buf | 4571339973295390720 |
| PARAM_VALUE | 2 | len | 64 |
| PARAM_VALUE | 3 | status | 1222071565348741164,4997082194544906284,5522658999609491500,6327377827663126572,6979904373945454636 |
| PARAM_VALUE | 3 | *status | 0 |
| BUF_SIZE | 1 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *status | 0 |
| UNITS | 2 | len | unit_byte |
| USER_PTR | 3 | status |
drivers/tee/amdtee/call.c handle_unload_ta() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 2 |
| PARAM_VALUE | 1 | buf | 6267852423203520512 |
| PARAM_VALUE | 2 | len | 4 |
| PARAM_VALUE | 3 | status | 193900565755580416 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | global &ta_refcount_mutex |
drivers/tee/amdtee/call.c handle_unmap_shmem() -> psp_tee_process_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_id | 7 |
| PARAM_VALUE | 1 | buf | 5629461662835036160 |
| PARAM_VALUE | 2 | len | 4 |
| PARAM_VALUE | 3 | status | 6947884580331974656 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |