Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ufs/core/ufs-debugfs.c, line 72
- drivers/ufs/core/ufs-hwmon.c
- drivers/ufs/core/ufs-sysfs.c
- drivers/ufs/core/ufshcd.c, line 1823
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_clkscale_enable_store() -> ufshcd_is_user_access_allowed()
| 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 active_icc_level_show() -> ufshcd_is_user_access_allowed()
| 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 auto_hibern8_store() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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 dyn_cap_needed_attribute_show() -> ufshcd_is_user_access_allowed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 enable_wb_buf_flush_store() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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 hid_query_attr() -> ufshcd_is_user_access_allowed()
| 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 |
| 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_is_user_access_allowed()
| 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 manufacturer_name_show() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_number_of_rtt_show() -> ufshcd_is_user_access_allowed()
| 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_number_of_rtt_store() -> ufshcd_is_user_access_allowed()
| 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 oem_id_show() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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 product_name_show() -> ufshcd_is_user_access_allowed()
| 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 product_revision_show() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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 serial_number_show() -> ufshcd_is_user_access_allowed()
| 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 ufs_sysfs_read_desc_param() -> ufshcd_is_user_access_allowed()
| 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 |
| 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 ufshcd_read_hci_reg() -> ufshcd_is_user_access_allowed()
| 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 |
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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_on_store() -> ufshcd_is_user_access_allowed()
| 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_is_user_access_allowed()
| 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,0xffff |
| 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_resize_enable_store() -> ufshcd_is_user_access_allowed()
| 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 |
| BIT_INFO | 0 | hba->dev_info.ext_wb_sup | 0x1,0xffff |
| 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-hwmon.c ufs_hwmon_read() -> ufshcd_is_user_access_allowed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-hwmon.c ufs_hwmon_write() -> ufshcd_is_user_access_allowed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| 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-debugfs.c ufs_debugfs_get_user_access() -> ufshcd_is_user_access_allowed()
| 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 |
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |