Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/accel/amdxdna/amdxdna_mailbox.c mailbox_send_msg() -> mailbox_get_headptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mb_chann | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| BUF_SIZE | 0 | mb_chann | (-1),240 |
| BUF_SIZE | 0 | mb_chann | (-1),240 |
| DATA_SOURCE | 0 | mb_chann | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mb_chann->work_q->rescuer->task->dl.pi_se->dl_runtime |
drivers/accel/amdxdna/amdxdna_mailbox.c mailbox_send_msg() -> mailbox_get_headptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mb_chann | 4096-ptr_max |
| PARAM_VALUE | 0 | mb_chann->mb | 4096-ptr_max |
| PARAM_VALUE | 0 | mb_chann->res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| BUF_SIZE | 0 | mb_chann | (-1),240 |
| BUF_SIZE | 0 | mb_chann | (-1),240 |
| DATA_SOURCE | 0 | mb_chann | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mb_chann->work_q->rescuer->task->dl.pi_se->dl_runtime |
drivers/accel/amdxdna/amdxdna_mailbox.c xdna_mailbox_start_channel() -> mailbox_get_headptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mb_chann | 4096-ptr_max |
| PARAM_VALUE | 0 | mb_chann->mb | 4096-ptr_max |
| PARAM_VALUE | 0 | mb_chann->res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| BUF_SIZE | 0 | mb_chann | 240 |
| DATA_SOURCE | 0 | mb_chann | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mb_chann->x2i_tail | 0-u32max |
| HALF_LOCKED2 | &xdna->dev_lock |