Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/infiniband/ulp/isert/ib_isert.c
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 1365
- drivers/scsi/elx/efct/efct_lio.c, line 611
- drivers/scsi/qla2xxx/tcm_qla2xxx.c
- drivers/target/target_core_transport.c
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_handle_data_work() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | sense_reason | 13 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_handle_data_work() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->pi_err | 1-u32max |
| PARAM_VALUE | 1 | sense_reason | 1-u32max |
| FUZZY_MAX | 1 | sense_reason | 23 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_handle_data_work() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->pi_err | 0 |
| PARAM_VALUE | 1 | sense_reason | 6 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_handle_data_work() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->pi_err | 0 |
| PARAM_VALUE | 1 | sense_reason | 13 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_write_pending() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | sense_reason | 13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/elx/efct/efct_lio.c efct_lio_datamove_done() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | sense_reason | 13 |
| NOCHECK_CALL |
drivers/target/target_core_transport.c __target_execute_cmd() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_alignment_offset_lbas | 0,2216225338472878080 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_device_type | 4850256213186490368,5599195229675327488,8676007830667583488 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_lbppbe | 0,6660477041369456640 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->t_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| PARAM_VALUE | 1 | sense_reason | 8,10,14,16,32-35 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| FUZZY_MAX | 1 | sense_reason | 10 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x0,0xffffffef |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| UNITS | 0 | cmd | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_transport.c __target_submit() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_lun | 1-u64max |
| PARAM_VALUE | 0 | cmd->t_prot_sg | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_state | 1 |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| PARAM_VALUE | 1 | sense_reason | 10 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| DATA_SOURCE | 0 | cmd | $0 |
| DATA_SOURCE | 1 | sense_reason | r transport_generic_new_cmd |
| BIT_INFO | 0 | cmd->transport_state | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| UNITS | 0 | cmd | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_transport.c target_complete_failure_work() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_transport.c target_submit_prep() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->free_compl | 0 |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->free_compl->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->lun_ref_active | 1 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 0,8-u32max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->transport | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_lun | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_lun->lun_ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess->se_node_acl | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess->se_tpg->tpg_virt_lun0->lun_ref.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | cmd->state_active | 0 |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.done | 0 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->unknown_data_length | 1 |
| PARAM_VALUE | 1 | sense_reason | 2,8,17,31 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| DATA_SOURCE | 0 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cmd->data_length | 0-u32max |
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| HALF_LOCKED2 | &vq->mutex |
drivers/target/target_core_transport.c target_write_prot_action() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->pi_err | 21,23 |
| PARAM_VALUE | 0 | cmd->prot_checks | 1-255 |
| PARAM_VALUE | 0 | cmd->prot_op | 8 |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->sense_info | 0-18446744073709551614 |
| PARAM_VALUE | 0 | cmd->t_state | 5 |
| PARAM_VALUE | 0 | cmd->t_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cmd->transport_state | 2-u32max |
| PARAM_VALUE | 1 | sense_reason | 21,23 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd | (-1),656 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| DATA_SOURCE | 1 | sense_reason | r sbc_dif_verify |
| BIT_INFO | 0 | cmd->se_sess->sup_prot_ops | 0x0,0xfffffff7 |
| BIT_INFO | 0 | cmd->transport_state | 0x2,0xffffffef |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| UNITS | 0 | cmd | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sess->cmdsn_mutex |
drivers/infiniband/ulp/isert/ib_isert.c isert_rdma_read_done() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_op | 1-u32max |
| BUF_SIZE | 0 | cmd | 656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/isert/ib_isert.c isert_rdma_write_done() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| BUF_SIZE | 0 | cmd | 656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_abort_cmd() -> transport_generic_request_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | sense_reason | 13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |