Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c __ufshcd_wb_toggle() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | hba->clk_scaling.is_enabled | 0 |
| USER_DATA | 0 | hba->pm_qos_req.node.prio | 0-s32max |
| NO_OVERFLOW_SIMPLE | 0 | hba->clk_scaling.is_enabled | |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_enabled | |
| UNITS | 0 | hba | unit_byte |
| HALF_LOCKED2 | 0 | &hba->host_sem |
drivers/ufs/core/ufshcd.c ufshcd_is_wb_buf_lifetime_available() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| DATA_SOURCE | 0 | hba | $0 |
| RX_PATH | |||
| HALF_LOCKED2 | 0 | &hba->host_sem |
drivers/ufs/core/ufshcd.c ufshcd_wb_curr_buff_threshold_check() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| DATA_SOURCE | 0 | hba | $0 |
drivers/ufs/core/ufshcd.c ufshcd_wb_need_flush() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| DATA_SOURCE | 0 | hba | $0 |
drivers/ufs/core/ufshcd.c ufshcd_wb_set_resize_en() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| BIT_INFO | 0 | hba->dev_info.ext_wb_sup | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hba | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c active_icc_level_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c bkops_enable_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c bkops_status_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c boot_lun_enabled_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c busy_rtc_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c configuration_descriptor_lock_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c current_power_mode_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c device_init_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c disable_fw_update_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c exception_event_control_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c exception_event_status_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c ffu_status_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c life_span_mode_enable_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c max_data_in_size_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c max_data_out_size_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c ooo_data_enabled_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c permanent_wpe_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c phy_resource_removal_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c power_on_wpe_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c psa_data_size_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c psa_state_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c purge_status_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c reference_clock_frequency_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_avail_buf_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_cur_buf_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_enable_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_flush_during_h8_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_flush_en_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_flush_status_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_life_time_est_show() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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 | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-sysfs.c wb_read_resize_attrs() -> ufshcd_wb_get_query_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| BIT_INFO | 0 | hba->dev_info.ext_wb_sup | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hba | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |