Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_abort() -> ufshcd_release_scsi_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->dev 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->host->tag_set.shared_tags 4096-ptr_max
PARAM_VALUE 0 hba->mcq_enabled 0
PARAM_VALUE 0 hba->outstanding_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->tmf_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->device 4096-ptr_max
DATA_SOURCE 1 cmd $0
NOCHECK_CALL

drivers/ufs/core/ufshcd.c ufshcd_compl_one_cqe() -> ufshcd_release_scsi_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->dev 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->tag_set.shared_tags 4096-ptr_max
PARAM_VALUE 0 hba->host->tag_set.shared_tags->nr_tags 1-u32max
PARAM_VALUE 0 hba->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 hba->ufs_device_wlun 0,4096-ptr_max
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->result 0,2,8,40,64,458752,851968
CAPPED_DATA 0 hba->host->tag_set.shared_tags->nr_tags 1
CAPPED_DATA 0 hba->monitor.chunk_size 1
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 cmd r ufshcd_tag_to_cmd
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hba->active_uic_cmd->argument1 0-u32max
HOST_DATA 0 hba->active_uic_cmd->argument2 0-u32max
HOST_DATA 0 hba->active_uic_cmd->argument3 0-u32max
HOST_DATA 0 hba->active_uic_cmd->cmd_active 0-1
HOST_DATA 0 hba->active_uic_cmd->command 0-u32max
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.magic 0-u32max
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.raw_lock.locked 0-255
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.raw_lock.locked_pending 0-u16max
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.raw_lock.pending 0-255
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.raw_lock.tail 0-u16max
HOST_DATA 0 hba->active_uic_cmd->done.wait.lock.raw_lock.val.counter s32min-s32max
HOST_DATA 0 hba->dme_qos_notification.counter 0,2-14
HOST_DATA 0 hba->errors 0[c]
HOST_DATA 0 hba->max_pwr_info.info.gear_rx 0-u32max
HOST_DATA 0 hba->max_pwr_info.info.gear_tx 0-u32max
HOST_DATA 0 hba->max_pwr_info.info.hs_rate 2
HOST_DATA 0 hba->max_pwr_info.info.lane_rx 0-u32max
HOST_DATA 0 hba->max_pwr_info.info.lane_tx 0-u32max
HOST_DATA 0 hba->max_pwr_info.info.pwr_rx 1-2,4
HOST_DATA 0 hba->max_pwr_info.info.pwr_tx 1-2,4
HOST_DATA 0 hba->outstanding_reqs 0-u64max[c]
HOST_DATA 0 hba->pwr_info.gear_tx 0-u32max
HOST_DATA 0 hba->saved_err 0-u32max[c]
HOST_DATA 0 hba->timeout_attr.stacktrace_depth 0-u64max
HALF_LOCKED2 &hwq->cq_lock
HALF_LOCKED2 flags

drivers/ufs/core/ufshcd.c ufshcd_eh_timed_out() -> ufshcd_release_scsi_cmd()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->active_uic_cmd->cmd_active 1
PARAM_VALUE 0 hba->active_uic_cmd->done.done 0
PARAM_VALUE 0 hba->active_uic_cmd->done.wait.lock.magic 3735899821
PARAM_VALUE 0 hba->active_uic_cmd->done.wait.lock.owner (-1)
PARAM_VALUE 0 hba->active_uic_cmd->done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 hba->active_uic_cmd->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 hba->active_uic_cmd->done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 hba->caps 16-u32max
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->curr_dev_pwr_mode 1
PARAM_VALUE 0 hba->dev 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hba->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hba->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hba->eh_flags 0,2-u32max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->host->hostdata->clk_gating.active_reqs s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_gating.gate_work.cpu s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_gating.gate_work.timer.flags 0-4294967295
PARAM_VALUE 0 hba->host->hostdata->clk_gating.state 0-4294967295
PARAM_VALUE 0 hba->host->hostdata->clk_scaling.active_reqs s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_scaling.is_busy_started 0-1
PARAM_VALUE 0 hba->host->hostdata->outstanding_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 hba->nutmrs s32min-64
PARAM_VALUE 0 hba->pm_op_in_progress s32min-(-1),1-s32max
PARAM_VALUE 0 hba->pm_qos_req.node.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.node_list.prev->next 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.prio_list.prev->next 4096-ptr_max
PARAM_VALUE 0 hba->pm_qos_req.node.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 hba->silence_err_logs 0
PARAM_VALUE 0 hba->timeout_attr.times.counter (-1)-s32max
PARAM_VALUE 0 hba->ufshcd_state 1-4
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->device 4096-ptr_max
PARAM_VALUE 1 cmd->device->host 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->cmd_active 1
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->done.wait.lock.magic 3735899821
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->done.wait.lock.owner (-1)
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->done.wait.lock.owner_cpu u32max
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->active_uic_cmd->done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->caps 16-u32max
PARAM_VALUE 1 cmd->device->host->hostdata->clk_scaling_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 cmd->device->host->hostdata->clk_scaling_lock.first_waiter->type 0-1
PARAM_VALUE 1 cmd->device->host->hostdata->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 cmd->device->host->hostdata->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 1 cmd->device->host->hostdata->curr_dev_pwr_mode 1
PARAM_VALUE 1 cmd->device->host->hostdata->dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 cmd->device->host->hostdata->dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 cmd->device->host->hostdata->dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 cmd->device->host->hostdata->eh_flags 0,2-u32max
PARAM_VALUE 1 cmd->device->host->hostdata->host 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->nutmrs s32min-64
PARAM_VALUE 1 cmd->device->host->hostdata->pm_op_in_progress s32min-(-1),1-s32max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.node_list.next->next 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.node_list.next->prev 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.node_list.prev->next 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.prio_list.next->next 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.prio_list.prev->next 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->pm_qos_req.node.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostdata->timeout_attr.times.counter (-1)-s32max
PARAM_VALUE 1 cmd->device->host->hostdata->ufshcd_state 1-4
PARAM_VALUE 1 cmd->device->host->hostt 4096-ptr_max
PARAM_VALUE 1 cmd->device->host->hostt->eh_timed_out 1-u64max
PARAM_VALUE 1 cmd->device->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 1 cmd->result s32min-0,65536-s32max
CAPPED_DATA 0 hba->nutmrs 1
DATA_SOURCE 1 cmd $0
PARAM_COMPARE 0 hba == $1->device->host->hostdata
PARAM_COMPARE 0 hba == $1->device->host->hostdata
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled
HALF_LOCKED2 &khd->lock

drivers/ufs/core/ufshcd.c ufshcd_mcq_force_compl_one() -> ufshcd_release_scsi_cmd()

Type Parameter Key Value
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->result s32min-0,65536-s32max
DATA_SOURCE 1 cmd r blk_mq_rq_to_pdu
NOCHECK_CALL
LOCK2 &hwq->cq_lock
LOCK2 irq
TYPE_LOCK (struct ufs_hw_queue)->cq_lock