Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/sd.c sd_setup_read_write_cmnd() -> sd_setup_atomic_cmnd()

Type Parameter Key Value
PARAM_VALUE 0 cmd 4096-ptr_max
PARAM_VALUE 0 cmd->allowed 0
PARAM_VALUE 0 cmd->device 4096-ptr_max
PARAM_VALUE 0 cmd->device->changed 0
PARAM_VALUE 0 cmd->device->sdev_state 0-3,5,8-u32max
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-31
PARAM_VALUE 0 cmd->prot_sdb 4096-ptr_max
PARAM_VALUE 0 cmd->prot_sdb->table.nents 0-u16max
PARAM_VALUE 0 cmd->prot_sdb->table.sgl->page_link 0,2-u64max
PARAM_VALUE 0 cmd->prot_type 0-3
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 1-u16max
PARAM_VALUE 0 cmd->sdb.table.sgl->dma_address 0
PARAM_VALUE 0 cmd->sdb.table.sgl->dma_flags 0
PARAM_VALUE 0 cmd->sdb.table.sgl->dma_length 0
PARAM_VALUE 0 cmd->sdb.table.sgl->length 0
PARAM_VALUE 0 cmd->sdb.table.sgl->offset 0
PARAM_VALUE 0 cmd->sdb.table.sgl->page_link 0
PARAM_VALUE 0 cmd->state 0
PARAM_VALUE 0 cmd->submitter 0
PARAM_VALUE 0 cmd->transfersize 0
PARAM_VALUE 0 cmd->underflow 0
PARAM_VALUE 4 flags 0,8,32,40,96,104
DATA_SOURCE 0 cmd $0
DATA_SOURCE 1 lba r sectors_to_logical
FUZZY_MAX 0 cmd->sc_data_direction 3
HARD_MAX 0 cmd->sc_data_direction 3
MEM_ZERO 0 cmd->cmnd
MEM_ZERO 0 &cmd->sdb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read