Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_configure_wb() -> ufshcd_is_wb_buf_flush_allowed()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->caps 128-u32max
DATA_SOURCE 0 hba $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &hba->host_sem

drivers/ufs/core/ufshcd.c ufshcd_wb_force_disable() -> ufshcd_is_wb_buf_flush_allowed()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->caps 128-u32max
DATA_SOURCE 0 hba $0

drivers/ufs/core/ufs-sysfs.c enable_wb_buf_flush_store() -> ufshcd_is_wb_buf_flush_allowed()

Type Parameter Key Value
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hba unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex