Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_tcm.c bot_send_read_response() -> bot_send_bad_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->csw_code | 2 |
| PARAM_VALUE | 0 | cmd->data_len | 0 |
| PARAM_VALUE | 0 | cmd->fu | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->fu->function.config | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->fu->function.config->cdev | 4096-ptr_max |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c bot_send_status() -> bot_send_bad_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->csw_code | 0 |
| PARAM_VALUE | 0 | cmd->data_len | 1-u32max |
| PARAM_VALUE | 0 | cmd->fu | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_cmd.scsi_status | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c bot_send_status() -> bot_send_bad_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->csw_code | 1 |
| PARAM_VALUE | 0 | cmd->se_cmd.scsi_status | 1-255 |
| BUF_SIZE | 0 | cmd | (-1),96 |
| BUF_SIZE | 0 | cmd | (-1),96 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cmd | unit_byte |