Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_lu_init() -> ufshcd_read_unit_desc_param()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 2 param_offset 0
PARAM_VALUE 3 param_read_buf 4096-ptr_max
PARAM_VALUE 4 param_size 255
BUF_SIZE 3 param_read_buf 255
BUF_SIZE 3 param_read_buf 255
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 lun r ufshcd_scsi_to_upiu_lun
DATA_SOURCE 3 param_read_buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 lun 0-255[c]
BYTE_COUNT 3 ==param_read_buf4 8050
LOCK2 &shost->scan_mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/ufs/core/ufshcd.c ufshcd_wb_probe() -> ufshcd_read_unit_desc_param()

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 128-u32max
PARAM_VALUE 0 hba->clk_gating.gate_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.gate_work.work.entry.next->next 1-u64max
PARAM_VALUE 0 hba->clk_gating.gate_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.gate_work.work.entry.prev->next 1-u64max
PARAM_VALUE 0 hba->clk_gating.gate_work.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 hba->clk_gating.state 1-2
PARAM_VALUE 0 hba->clk_gating.ungate_work.lockdep_map->name 0-255
PARAM_VALUE 0 hba->clk_scaling_lock.dep_map->name 0-255
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->list.prev 2212933610777083904
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_cmd.lock.dep_map->name 0-255
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hba->dev_cmd.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hba->dev_cmd.query.descriptor 0
PARAM_VALUE 0 hba->dev_cmd.type 1
PARAM_VALUE 0 hba->dev_info.ext_wb_sup 0-255
PARAM_VALUE 0 hba->dev_info.hid_sup 0
PARAM_VALUE 0 hba->dev_info.max_lu_supported 8,32
PARAM_VALUE 0 hba->dev_info.model 0,4096-ptr_max
PARAM_VALUE 0 hba->dev_info.rtc_time_baseline 0
PARAM_VALUE 0 hba->dev_info.wb_buf_flush_enabled 0
PARAM_VALUE 0 hba->dev_info.wb_buffer_type 0,2-255
PARAM_VALUE 0 hba->dev_info.wb_enabled 0
PARAM_VALUE 0 hba->dev_quirks 0,4-u32max
PARAM_VALUE 0 hba->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->pseudo_sdev 4096-ptr_max
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->elevator->type->elevator_owner 0
PARAM_VALUE 0 hba->host_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 hba->host_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 hba->host_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 hba->host_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 hba->host_sem.lock.owner (-1)
PARAM_VALUE 0 hba->host_sem.lock.owner_cpu u32max
PARAM_VALUE 0 hba->pm_op_in_progress 0
PARAM_VALUE 0 hba->quirks 524288-u32max
PARAM_VALUE 0 hba->req_abort_count 0
PARAM_VALUE 0 hba->ufs_stats.hibern8_exit_cnt 0
PARAM_VALUE 0 hba->ufs_stats.last_hibern8_exit_tstamp 0
PARAM_VALUE 0 hba->ufshcd_state 0,2-4
PARAM_VALUE 0 hba->uic_async_done 0
PARAM_VALUE 0 hba->uic_cmd_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->uic_link_state 1
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 lun 0-7
PARAM_VALUE 2 param_offset 41
PARAM_VALUE 3 param_read_buf 6796432232017072128
PARAM_VALUE 3 *param_read_buf 0
PARAM_VALUE 4 param_size 4
BUF_SIZE 3 param_read_buf 4
CAPPED_DATA 0 hba->dev_info.max_lu_supported 1
DATA_SOURCE 0 hba $0
FUZZY_MAX 1 lun 7
PARAM_COMPARE 0 hba->dev_info.max_lu_supported < $1
PARAM_COMPARE 1 lun > $0->dev_info.max_lu_supported
BIT_INFO 0 hba->quirks 0x0,0xfffeffff
HARD_MAX 1 lun 7
RX_PATH
NOCHECK_CALL
UNITS 4 param_size unit_byte
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem