Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_query_attr_retry() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->handoff_set 0-1
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->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host_sem.first_waiter->up 0-1
PARAM_VALUE 0 hba->ufs_device_wlun->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->vps->hba_enable_delay_us 1000
PARAM_VALUE 0 hba->vps->wb_flush_threshold 1-10
PARAM_VALUE 0 hba->vreg_info.vcc->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->max_uA 0-s32max
PARAM_VALUE 1 opcode 3-4
PARAM_VALUE 2 idn 3,5,10,12-14,23,29-31,61
PARAM_VALUE 4 selector 0
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 opcode $1
DATA_SOURCE 2 idn $2
DATA_SOURCE 3 index $3
DATA_SOURCE 4 selector $4
DATA_SOURCE 5 attr_val $5
HARD_MAX 1 opcode 4
HARD_MAX 2 idn 61
RX_PATH
TASK_NOT_RUNNING
USER_DATA 5 *attr_val 0-u16max
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled
UNITS 0 hba unit_byte
USER_PTR 5 attr_val
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &hba->ee_ctrl_mutex
HALF_LOCKED2 0 &hba->host_sem

drivers/ufs/core/ufshcd.c ufshcd_update_rtc() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->active_uic_cmd 0
PARAM_VALUE 0 hba->clk_gating.active_reqs 0
PARAM_VALUE 0 hba->host->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 hba->outstanding_tasks 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.child_count.counter 1-s32max
PARAM_VALUE 0 hba->ufshcd_state 1
PARAM_VALUE 0 hba->uic_async_done 0
PARAM_VALUE 1 opcode 4
PARAM_VALUE 2 idn 15
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4955267032674861056
CAPPED_DATA 0 hba->dev_info.rtc_time_baseline 1
CAPPED_DATA 0 hba->host->tag_set.tags_srcu.srcu_ctrp 1
DATA_SOURCE 0 hba $0

drivers/ufs/core/ufs-sysfs.c active_icc_level_show() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 3
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 1064086229309091840
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 5
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 6727531644100755456
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 6651530756125388800
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 11
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 685391903535566848
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 2
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 5168870659894321152
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 9
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4235672178505265152
DATA_SOURCE 3 index r ufshcd_scsi_to_upiu_lun
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 exception_event_control_show() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 13
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4842560679134167040
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 14
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 2622287327035650048
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 20
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 8675683536500854784
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3-4
PARAM_VALUE 2 idn 53-57
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 947817422281252864,1958984781177016320,2951415819765129216,5778913887220813824,7632460854204624896,8277453218088628224,8846844111772770304
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 opcode $1
DATA_SOURCE 2 idn $2
DATA_SOURCE 5 attr_val $3
HARD_MAX 1 opcode 4
HARD_MAX 2 idn 57
RX_PATH
TASK_NOT_RUNNING
USER_DATA 5 *attr_val 0-u32max
UNITS 0 hba unit_byte
USER_PTR 5 attr_val
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 7
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 8340189766947700736
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 8
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 2051028359742078976
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 12
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4721497865043312640
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 4
PARAM_VALUE 2 idn 12
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 2631614739180253184
PARAM_VALUE 5 *attr_val 0-255
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 5 *attr_val
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 4
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 6923099449878986752
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 22
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4755233008368189440
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 21
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 7858386389895819264
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 6
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 2243848762217566208
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 10
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 2201899523568861184
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 29
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 6639411540829429760
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 31
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 5627776974574710784
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 28
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 6675835274458697728
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 30
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 7905562819710730240
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_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->caps 128-u32max
PARAM_VALUE 0 hba->dev_info.b_presrv_uspc_en 1-255
PARAM_VALUE 0 hba->dev_info.ext_wb_sup 1-u16max
PARAM_VALUE 0 hba->dev_info.wb_enabled 1
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 60,62
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 1507420844495011840,8192704464550838272
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 2 idn $1
DATA_SOURCE 5 attr_val $2
BIT_INFO 0 hba->dev_info.ext_wb_sup 0x1,0xffffffffffffffff
HARD_MAX 2 idn 62
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-txeq.c ufshcd_extract_tx_eq_settings_attrs() -> ufshcd_query_attr()

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 8192-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.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->critical_health_count 0
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_cmd.lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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 0-s32max
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.clk_gating_wait_us 1-u32max
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.rtc_time_baseline 0
PARAM_VALUE 0 hba->dev_info.rtc_type 0
PARAM_VALUE 0 hba->dev_info.rtc_update_period 0
PARAM_VALUE 0 hba->dev_info.wb_buf_flush_enabled 0
PARAM_VALUE 0 hba->dev_info.wb_enabled 0
PARAM_VALUE 0 hba->dev_info.wspecversion 1280-u16max
PARAM_VALUE 0 hba->dev_lvl_exception_count.counter 0
PARAM_VALUE 0 hba->dev_quirks 0,4-u32max
PARAM_VALUE 0 hba->ee_ctrl_mutex.dep_map->name 0-255
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hba->ee_ctrl_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hba->ee_ctrl_mutex.osq.tail.counter 0-s32max
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->hwmon_device 4096-ptr_max
PARAM_VALUE 0 hba->max_pwr_info.is_valid 1
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_version 1280-u32max
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->vops 0,4096-ptr_max
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 72
PARAM_VALUE 3 index 0-5,255
PARAM_VALUE 5 attr_val 1992356981067866112
CAPPED_DATA 0 hba->dev_info.max_lu_supported 1
DATA_SOURCE 0 hba $0
BIT_INFO 0 hba->quirks 0x0,0xfffeffff
RX_PATH
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufs-txeq.c ufshcd_update_tx_eq_settings_attrs() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->caps 8192-u32max
PARAM_VALUE 0 hba->clk_gating.gate_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.state 2
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->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->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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hba->dev_cmd.type 1
PARAM_VALUE 0 hba->dev_info.wspecversion 1280-u16max
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->q_usage_counter.percpu_count_ptr 1-u64max
PARAM_VALUE 0 hba->host_sem.first_waiter->up 1
PARAM_VALUE 0 hba->host_sem.last_holder 0
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->max_pwr_info.is_valid 1
PARAM_VALUE 0 hba->shutting_down 1
PARAM_VALUE 0 hba->tx_eq_params 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->ufs_stats.last_hibern8_exit_tstamp 0
PARAM_VALUE 0 hba->ufs_version 1280-u32max
PARAM_VALUE 1 opcode 4
PARAM_VALUE 2 idn 72
PARAM_VALUE 3 index 0-5,255
PARAM_VALUE 5 attr_val 8547598010198716416
PARAM_VALUE 5 *attr_val 32768-98303
DATA_SOURCE 0 hba $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

drivers/ufs/core/ufs-hwmon.c ufs_get_temp() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 24-26
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 8382802625347108864
DATA_SOURCE 0 hba $0
DATA_SOURCE 2 idn $1
HARD_MAX 2 idn 26
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 0 &hba->host_sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufs-hwmon.c ufs_read_temp_enable() -> ufshcd_query_attr()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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.first_waiter->up 0
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->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 3
PARAM_VALUE 2 idn 13
PARAM_VALUE 3 index 0
PARAM_VALUE 4 selector 0
PARAM_VALUE 5 attr_val 4808265918885203968
DATA_SOURCE 0 hba $0
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