Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_err_handler() -> ufshcd_err_handling_should_stop()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 hba->host->host_lock
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufshcd.c ufshcd_err_handler() -> ufshcd_err_handling_should_stop()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->ufshcd_state 0,4
CAPPED_DATA 0 hba->nutmrs 1
FUZZY_MAX 0 hba->ufshcd_state 0
BIT_INFO 0 hba->eh_flags 0x1,0xffffffffffffffff
BIT_INFO 0 hba->ufshcd_state 0x0,0x4
PREEMPT_ADD <- disables preempt
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled
LOCK2 flags
LOCK2 0 hba->host->host_lock
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufshcd.c ufshcd_err_handler() -> ufshcd_err_handling_should_stop()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->force_reset 0
PARAM_VALUE 0 hba->is_powered 1
PARAM_VALUE 0 hba->saved_uic_err 0
PARAM_VALUE 0 hba->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 1-u64max
PARAM_VALUE 0 hba->ufshcd_state 0
CAPPED_DATA 0 hba->nutmrs 1
BIT_INFO 0 hba->dev_quirks 0x4,0xffffffffffffffff
BIT_INFO 0 hba->eh_flags 0x1,0xffffffffffffffff
PREEMPT_ADD <- disables preempt
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled
LOCK2 flags
LOCK2 0 hba->host->host_lock
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem