Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/infiniband/ulp/isert/ib_isert.c
- drivers/infiniband/ulp/srpt/ib_srpt.c
- drivers/scsi/elx/efct/efct_lio.c
- drivers/scsi/qla2xxx/tcm_qla2xxx.c
- drivers/target/iscsi/iscsi_target_util.c, line 710
- drivers/target/loopback/tcm_loop.c, line 63
- drivers/target/sbp/sbp_target.c, line 1766
- drivers/target/target_core_transport.c, line 3045
- drivers/target/target_core_xcopy.c
- drivers/target/tcm_fc/tfc_cmd.c
- drivers/usb/gadget/function/f_tcm.c
- drivers/vhost/scsi.c
- drivers/xen/xen-scsiback.c
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_complete_free() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_complete_mcmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/xen/xen-scsiback.c scsiback_check_stop_free() -> transport_generic_free_cmd()
| 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->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_lun | 0 |
| PARAM_VALUE | 0 | cmd->se_tfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x0,0xffffffdd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->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 |
drivers/xen/xen-scsiback.c scsiback_device_action() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cmd_cnt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->cpuid | 0 |
| PARAM_VALUE | 0 | cmd->data_direction | 3 |
| PARAM_VALUE | 0 | cmd->data_length | 0 |
| PARAM_VALUE | 0 | cmd->map_cpu | 0 |
| PARAM_VALUE | 0 | cmd->map_tag | 0-s32max |
| PARAM_VALUE | 0 | cmd->orig_fe_lun | 0-u32max |
| PARAM_VALUE | 0 | cmd->sam_task_attr | 32 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 0,16-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_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_tmr_req | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->sense_buffer | 4096-ptr_max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/function/f_tcm.c bot_read_compl() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/f_tcm.c bot_status_complete() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/f_tcm.c uasp_status_data_cmpl() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/f_tcm.c uasp_status_data_cmpl() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/f_tcm.c usbg_data_write_cmpl() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/efct/efct_lio.c efct_lio_send_resp() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| NOCHECK_CALL |
drivers/scsi/elx/efct/efct_lio.c efct_lio_send_resp() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| NOCHECK_CALL |
drivers/scsi/elx/efct/efct_lio.c efct_lio_status_done() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| NOCHECK_CALL |
drivers/scsi/elx/efct/efct_lio.c efct_lio_tmf_done() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/target_core_xcopy.c target_xcopy_read_source() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4021794778315452416 |
| PARAM_VALUE | 0 | cmd->abrt_compl | 0 |
| PARAM_VALUE | 0 | cmd->cmd_cnt | 0 |
| PARAM_VALUE | 0 | cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cmd->cpuid | 0 |
| PARAM_VALUE | 0 | cmd->data_direction | 2 |
| PARAM_VALUE | 0 | cmd->data_length | 0-16777216 |
| PARAM_VALUE | 0 | cmd->free_compl | 0 |
| PARAM_VALUE | 0 | cmd->orig_fe_lun | 0 |
| PARAM_VALUE | 0 | cmd->sam_task_attr | 0 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 65536-u32max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 3315679075767599104 |
| PARAM_VALUE | 0 | cmd->se_tfo | 5663914509915561984 |
| PARAM_VALUE | 0 | cmd->state_active | 0 |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 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.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| BUF_SIZE | 0 | cmd | 656 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_xcopy.c target_xcopy_write_destination() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4095826752700821504 |
| PARAM_VALUE | 0 | cmd->abrt_compl | 0 |
| PARAM_VALUE | 0 | cmd->cmd_cnt | 0 |
| PARAM_VALUE | 0 | cmd->cmd_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cmd->cpuid | 0 |
| PARAM_VALUE | 0 | cmd->data_direction | 1 |
| PARAM_VALUE | 0 | cmd->data_length | 0-16777216 |
| PARAM_VALUE | 0 | cmd->free_compl | 0 |
| PARAM_VALUE | 0 | cmd->orig_fe_lun | 0 |
| PARAM_VALUE | 0 | cmd->sam_task_attr | 0 |
| PARAM_VALUE | 0 | cmd->se_cmd_flags | 65536-u32max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_delayed_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_qf_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_sess | 3315679075767599104 |
| PARAM_VALUE | 0 | cmd->se_tfo | 5663914509915561984 |
| PARAM_VALUE | 0 | cmd->state_active | 0 |
| PARAM_VALUE | 0 | cmd->state_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->state_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_task_cdb | 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.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_transport_stop_comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| BUF_SIZE | 0 | cmd | 656 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/isert/ib_isert.c isert_put_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/isert/ib_isert.c isert_put_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/isert/ib_isert.c isert_put_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_tfo | 1-u64max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_abort_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_abort_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_send_done() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/tcm_fc/tfc_cmd.c ft_check_stop_free() -> transport_generic_free_cmd()
| 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->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_lun | 0 |
| PARAM_VALUE | 0 | cmd->se_tfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x0,0xffffffdd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->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 |
drivers/target/tcm_fc/tfc_cmd.c ft_recv_seq() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/loopback/tcm_loop.c tcm_loop_check_stop_free() -> transport_generic_free_cmd()
| 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->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_lun | 0 |
| PARAM_VALUE | 0 | cmd->se_tfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->t_state_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x0,0xffffffdd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->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 |
drivers/target/sbp/sbp_target.c sbp_check_stop_free() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vhost/scsi.c vhost_scsi_queue_data_in() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->data_direction | 1-2 |
| 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_tfo | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| DATA_SOURCE | 0 | cmd | $0 |
| HARD_MAX | 0 | cmd->data_direction | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| HALF_LOCKED2 | &pool->lock |
drivers/vhost/scsi.c vhost_scsi_queue_status() -> transport_generic_free_cmd()
| 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->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->se_tfo | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| 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 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| 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->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 |
drivers/vhost/scsi.c vhost_scsi_queue_tm_rsp() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | wait_for_tasks | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/iscsi/iscsi_target_util.c iscsit_free_cmd() -> transport_generic_free_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_tfo | 1-u64max |
| BUF_SIZE | 0 | cmd | 656 |
| DATA_SOURCE | 1 | wait_for_tasks | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba |