Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/scsi_error.c scsi_send_eh_cmnd() -> scsi_log_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_eflags | 0 |
| PARAM_VALUE | 0 | cmd->prot_op | 0 |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->result | 0 |
| PARAM_VALUE | 0 | cmd->sc_data_direction | 2-3 |
| PARAM_VALUE | 0 | cmd->sdb.length | 0,8,18,96 |
| PARAM_VALUE | 0 | cmd->sdb.table.nents | 0-1 |
| PARAM_VALUE | 0 | cmd->sdb.table.orig_nents | 0-1 |
| PARAM_VALUE | 0 | cmd->sdb.table.sgl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->underflow | 0 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| MEM_ZERO | 0 | &cmd->sdb | |
| NOCHECK_CALL |
drivers/scsi/scsi_lib.c scsi_dispatch_cmd() -> scsi_log_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->sdev_state | 0-3,5-7,10-u32max |
| PARAM_VALUE | 0 | cmd->flags | 0-23 |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| BIT_INFO | 0 | cmd->flags | 0x0,0x17 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |