Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/sd.c sd_setup_unmap_cmnd() -> sd_uninit_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmd_len | 10 |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_eflags | 0 |
| PARAM_VALUE | 0 | cmd->eh_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0,2-s32max |
| PARAM_VALUE | 0 | cmd->host_scribble | 0 |
| PARAM_VALUE | 0 | cmd->prot_flags | 0 |
| PARAM_VALUE | 0 | cmd->prot_op | 0 |
| PARAM_VALUE | 0 | cmd->prot_type | 0 |
| PARAM_VALUE | 0 | cmd->result | 0 |
| PARAM_VALUE | 0 | cmd->sc_data_direction | 1-3 |
| PARAM_VALUE | 0 | cmd->sdb.table.nents | 0-s32max |
| PARAM_VALUE | 0 | cmd->sdb.table.orig_nents | 0-u16max |
| PARAM_VALUE | 0 | cmd->state | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0 |
| PARAM_VALUE | 0 | cmd->transfersize | 24 |
| PARAM_VALUE | 0 | cmd->underflow | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 0 | cmd->sc_data_direction | 3 |
| FUZZY_MAX | 0 | cmd->sdb.table.nents | 0 |
| FUZZY_MAX | 0 | cmd->sdb.table.orig_nents | 0 |
| HARD_MAX | 0 | cmd->sc_data_direction | 3 |
| MEM_ZERO | 0 | cmd->cmnd | |
| MEM_ZERO | 0 | &cmd->sdb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/sd.c sd_setup_write_same10_cmnd() -> sd_uninit_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmd_len | 10 |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_eflags | 0 |
| PARAM_VALUE | 0 | cmd->flags | 0,2-s32max |
| PARAM_VALUE | 0 | cmd->host_scribble | 0 |
| PARAM_VALUE | 0 | cmd->prot_flags | 0 |
| PARAM_VALUE | 0 | cmd->prot_op | 0 |
| PARAM_VALUE | 0 | cmd->prot_type | 0 |
| PARAM_VALUE | 0 | cmd->result | 0 |
| PARAM_VALUE | 0 | cmd->sc_data_direction | 1-3 |
| PARAM_VALUE | 0 | cmd->sdb.table.nents | 0-s32max |
| PARAM_VALUE | 0 | cmd->sdb.table.orig_nents | 0-u16max |
| PARAM_VALUE | 0 | cmd->state | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0 |
| PARAM_VALUE | 0 | cmd->underflow | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 0 | cmd->sc_data_direction | 3 |
| FUZZY_MAX | 0 | cmd->sdb.table.nents | 0 |
| FUZZY_MAX | 0 | cmd->sdb.table.orig_nents | 0 |
| HARD_MAX | 0 | cmd->sc_data_direction | 3 |
| MEM_ZERO | 0 | cmd->cmnd | |
| MEM_ZERO | 0 | &cmd->sdb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/sd.c sd_setup_write_same16_cmnd() -> sd_uninit_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmd_len | 16 |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->eh_eflags | 0 |
| PARAM_VALUE | 0 | cmd->flags | 0,2-s32max |
| PARAM_VALUE | 0 | cmd->host_scribble | 0 |
| PARAM_VALUE | 0 | cmd->prot_flags | 0 |
| PARAM_VALUE | 0 | cmd->prot_op | 0 |
| PARAM_VALUE | 0 | cmd->prot_type | 0 |
| PARAM_VALUE | 0 | cmd->result | 0 |
| PARAM_VALUE | 0 | cmd->sc_data_direction | 1-3 |
| PARAM_VALUE | 0 | cmd->sdb.table.nents | 0-s32max |
| PARAM_VALUE | 0 | cmd->sdb.table.orig_nents | 0-u16max |
| PARAM_VALUE | 0 | cmd->state | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0 |
| PARAM_VALUE | 0 | cmd->underflow | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 0 | cmd->sc_data_direction | 3 |
| FUZZY_MAX | 0 | cmd->sdb.table.nents | 0 |
| FUZZY_MAX | 0 | cmd->sdb.table.orig_nents | 0 |
| HARD_MAX | 0 | cmd->sc_data_direction | 3 |
| MEM_ZERO | 0 | cmd->cmnd | |
| MEM_ZERO | 0 | &cmd->sdb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/scsi/scsi_lib.c scsi_uninit_cmd() -> (struct scsi_driver)->uninit_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_sdb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_sdb->table.sgl | 0 |
| PARAM_VALUE | 0 | cmd->sdb.table.sgl | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |