Defined in 1 files as a function:
Referenced in 8 files:
- drivers/scsi/3w-9xxx.c, line 1924
- drivers/scsi/3w-xxxx.c, line 1454
- drivers/scsi/aacraid/aachba.c
- drivers/scsi/ips.c, line 3404
- drivers/scsi/myrb.c
- drivers/scsi/myrs.c, line 1581
- drivers/scsi/ps3rom.c, line 296
- drivers/scsi/stex.c
Smatch caller information:
drivers/scsi/ips.c ips_scmd_buf_write() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cmd | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | buflen | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | flags |
drivers/scsi/3w-9xxx.c twa_scsiop_execute_scsi_complete() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->sc_data_direction | 0,2 |
| PARAM_VALUE | 0 | cmd->sdb.length | 0-511 |
| PARAM_VALUE | 0 | cmd->sdb.table.nents | 1 |
| PARAM_VALUE | 2 | buflen | 512 |
| FUZZY_MAX | 0 | cmd->sc_data_direction | 2 |
| BIT_INFO | 0 | cmd->sc_data_direction | 0x0,0x2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | tw_dev->host->host_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/scsi/myrs.c myrs_mode_sense() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->hostdata | 1-u64max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 24,32 |
| BUF_SIZE | 1 | buf | 32 |
| DATA_SOURCE | 0 | cmd | $1 |
| BIT_INFO | 2 | buflen | 0x0,0x38 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/myrb.c myrb_inquiry() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $1 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/myrb.c myrb_mode_sense() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 24,32 |
| BUF_SIZE | 1 | buf | 32 |
| DATA_SOURCE | 0 | cmd | $1 |
| BIT_INFO | 2 | buflen | 0x0,0x38 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/myrb.c myrb_read_capacity() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| BUF_SIZE | 1 | buf | 8 |
| DATA_SOURCE | 0 | cmd | $1 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/myrb.c myrb_request_sense() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->result | 2 |
| PARAM_VALUE | 0 | cmd->sense_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 96 |
| BUF_SIZE | 1 | buf | 96 |
| DATA_SOURCE | 0 | cmd | $1 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/3w-xxxx.c tw_transfer_internal() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 1447512372703678464,2992389943439978496,3340560938344644608,5678738688726380544 |
| PARAM_VALUE | 2 | buflen | 8,18,36 |
| BUF_SIZE | 1 | buf | 8,18,36 |
| BUF_SIZE | 1 | buf | 8,18,36 |
| DATA_SOURCE | 1 | buf | $2 |
| DATA_SOURCE | 2 | buflen | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | shost->host_lock | ||
| HALF_LOCKED2 | tw_dev->host->host_lock |
drivers/scsi/aacraid/aachba.c aac_expose_phy_device() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 1-u64max |
| PARAM_VALUE | 0 | cmd->sense_buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 2108885767553826816 |
| PARAM_VALUE | 1 | *buf | 0,64-192 |
| PARAM_VALUE | 2 | buflen | 1 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 0 | cmd | 416 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 5015089386556088320 |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 5015089386556088320 |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 5015089386556088320 |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->lun | 0 |
| PARAM_VALUE | 1 | buf | 5015089386556088320 |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->lun | 0 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 0-13 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 13 |
| CAPPED_DATA | 2 | buflen | 1 |
| DATA_SOURCE | 0 | cmd | $0 |
| TERMINATED | 1 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->lun | 0 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 8 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->lun | 0 |
| PARAM_VALUE | 1 | buf | 7641155329229746176 |
| PARAM_VALUE | 2 | buflen | 0-15 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 15 |
| CAPPED_DATA | 2 | buflen | 1 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 2 | buflen | 15 |
| HARD_MAX | 2 | buflen | 15 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c aac_scsi_cmd() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->lun | 0 |
| PARAM_VALUE | 1 | buf | 4974546483227529216 |
| PARAM_VALUE | 2 | buflen | 0-19 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd | (-1),416 |
| BUF_SIZE | 0 | cmd->device | (-1),4232 |
| BUF_SIZE | 1 | buf | 19 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 2 | buflen | 19 |
| HARD_MAX | 2 | buflen | 19 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->sdb.table.sgl->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/scsi/aacraid/aachba.c get_container_name_callback() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 1-u64max |
| PARAM_VALUE | 1 | buf | 8048258687936487424 |
| PARAM_VALUE | 2 | buflen | 36 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 1 | buf | 36 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/aacraid/aachba.c get_container_serial_callback() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host->hostdata | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 7068328159652868096 |
| PARAM_VALUE | 2 | buflen | 72 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 1 | buf | 72 |
| DATA_SOURCE | 0 | cmd | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/aacraid/aachba.c get_container_serial_callback() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 1-u64max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 13 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 0 | cmd | 416 |
| BUF_SIZE | 1 | buf | 13 |
| DATA_SOURCE | 0 | cmd | $0 |
| TERMINATED | 1 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/stex.c stex_controller_info() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 116 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 1 | buf | unit_byte |
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | hba->host->host_lock | ||
| HALF_LOCKED2 | host->host_lock |
drivers/scsi/stex.c stex_copy_data() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 1-u64max |
| PARAM_VALUE | 2 | buflen | 1-128 |
| BUF_SIZE | 1 | buf | 128 |
| DATA_SOURCE | 2 | buflen | $2 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | hba->host->host_lock | ||
| HALF_LOCKED2 | host->host_lock |
drivers/scsi/stex.c stex_queuecommand_lck() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 12 |
| BUF_SIZE | 1 | buf | 12 |
| DATA_SOURCE | 0 | cmd | $0 |
| TERMINATED | 1 | buf | 1 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/stex.c stex_queuecommand_lck() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->channel | 0 |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host->max_lun | 1-u64max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 2702712421632053248 |
| PARAM_VALUE | 2 | buflen | 64 |
| BUF_SIZE | 1 | buf | 64 |
| DATA_SOURCE | 0 | cmd | $0 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/stex.c stex_queuecommand_lck() -> scsi_sg_copy_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmnd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->device->host->hostdata | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->flags | 0-s32max |
| PARAM_VALUE | 0 | cmd->resid_len | 0 |
| PARAM_VALUE | 0 | cmd->submitter | 0-1 |
| PARAM_VALUE | 0 | *cmd->cmnd | 0-255 |
| PARAM_VALUE | 1 | buf | 5625045332796448768 |
| PARAM_VALUE | 2 | buflen | 40 |
| BUF_SIZE | 1 | buf | 40 |
| DATA_SOURCE | 0 | cmd | $0 |
| HARD_MAX | 0 | cmd->submitter | 1 |
| MEM_ZERO | 0 | cmd->sense_buffer | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buflen | unit_byte |
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |