Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 1674
- drivers/scsi/elx/efct/efct_lio.c, line 1449
- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c, line 2799
- drivers/scsi/qla2xxx/tcm_qla2xxx.c, line 633
- drivers/target/loopback/tcm_loop.c, line 218
- drivers/target/target_core_transport.c, line 2079
- drivers/target/tcm_fc/tfc_cmd.c, line 365
- drivers/usb/gadget/function/f_tcm.c, line 1198
- drivers/vhost/scsi.c, line 1636
- drivers/xen/xen-scsiback.c, line 644
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_handle_tmr() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | sense | 0 |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 4096-ptr_max |
| PARAM_VALUE | 5 | tm_type | 1-6 |
| PARAM_VALUE | 6 | gfp | 2080 |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 0 | se_cmd | 656 |
| DATA_SOURCE | 3 | unpacked_lun | $1 |
| DATA_SOURCE | 4 | fabric_tmr_ptr | $0 |
| DATA_SOURCE | 7 | tag | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/xen/xen-scsiback.c scsiback_device_action() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | se_cmd->map_tag | 0-s32max |
| PARAM_VALUE | 2 | sense | 4096-ptr_max |
| PARAM_VALUE | 3 | unpacked_lun | 0-u32max |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 0 |
| PARAM_VALUE | 5 | tm_type | 1,5 |
| PARAM_VALUE | 6 | gfp | 3264 |
| PARAM_VALUE | 7 | tag | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 2 | sense | 96 |
| DATA_SOURCE | 5 | tm_type | $1 |
| DATA_SOURCE | 7 | tag | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/function/f_tcm.c usbg_submit_tmr() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 3 | unpacked_lun | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 0 |
| PARAM_VALUE | 5 | tm_type | 1-5,255 |
| PARAM_VALUE | 6 | gfp | 2080 |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 0 | se_cmd | 656 |
| BUF_SIZE | 2 | sense | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/elx/efct/efct_lio.c efct_scsi_recv_tmf() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | se_sess | 1-u64max |
| PARAM_VALUE | 2 | sense | 0 |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 4096-ptr_max |
| PARAM_VALUE | 5 | tm_type | 1-6 |
| PARAM_VALUE | 6 | gfp | 2080 |
| PARAM_VALUE | 7 | tag | 0-u16max |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 4 | fabric_tmr_ptr | 808 |
| CAPPED_DATA | 7 | tag | 1 |
| DATA_SOURCE | 3 | unpacked_lun | $1 |
| FUZZY_MAX | 5 | tm_type | 6 |
| HARD_MAX | 5 | tm_type | 6 |
| MEM_ZERO | 0 | se_cmd | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_handle_tsk_mgmt() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | se_cmd->map_tag | 0-s32max |
| PARAM_VALUE | 1 | se_sess | 4096-ptr_max |
| PARAM_VALUE | 2 | sense | 0 |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 4096-ptr_max |
| PARAM_VALUE | 5 | tm_type | 1-5,255 |
| PARAM_VALUE | 6 | gfp | 3264 |
| PARAM_VALUE | 8 | flags | 2 |
| DATA_SOURCE | 5 | tm_type | r srp_tmr_to_tcm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | fabric_tmr_ptr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/target/tcm_fc/tfc_cmd.c ft_send_tm() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 2 | sense | 4096-ptr_max |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 4096-ptr_max |
| PARAM_VALUE | 5 | tm_type | 2-6 |
| PARAM_VALUE | 6 | gfp | 3264 |
| PARAM_VALUE | 7 | tag | 0 |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 2 | sense | 96 |
| DATA_SOURCE | 4 | fabric_tmr_ptr | $0 |
| FUZZY_MAX | 5 | tm_type | 6 |
| HARD_MAX | 5 | tm_type | 6 |
| HALF_LOCKED2 | &pool->lock |
drivers/target/loopback/tcm_loop.c tcm_loop_issue_tmr() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 0 |
| PARAM_VALUE | 5 | tm_type | 1,5 |
| PARAM_VALUE | 6 | gfp | 3264 |
| PARAM_VALUE | 7 | tag | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 8 | flags | 2 |
| BUF_SIZE | 0 | se_cmd | 656 |
| BUF_SIZE | 2 | sense | 96 |
| DATA_SOURCE | 3 | unpacked_lun | $1 |
| DATA_SOURCE | 5 | tm_type | $3 |
| DATA_SOURCE | 7 | tag | $2 |
drivers/vhost/scsi.c vhost_scsi_handle_tmf() -> target_submit_tmr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | se_sess | 1-u64max |
| PARAM_VALUE | 2 | sense | 0 |
| PARAM_VALUE | 3 | unpacked_lun | 0-255 |
| PARAM_VALUE | 4 | fabric_tmr_ptr | 0 |
| PARAM_VALUE | 5 | tm_type | 5 |
| PARAM_VALUE | 6 | gfp | 3264 |
| PARAM_VALUE | 7 | tag | 0 |
| PARAM_VALUE | 8 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |