Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_complete_dev_init() -> ufshcd_query_flag()

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 16-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_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->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->dev 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
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 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->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->q_lockdep_map->name 0-255
PARAM_VALUE 0 hba->quirks 4-u32max
PARAM_VALUE 0 hba->req_abort_count 0
PARAM_VALUE 0 hba->ufs_stats.hibern8_exit_cnt 0
PARAM_VALUE 0 hba->ufs_stats.last_hibern8_exit_tstamp 0
PARAM_VALUE 0 hba->ufshcd_state 0,2-4
PARAM_VALUE 0 hba->uic_async_done 0
PARAM_VALUE 0 hba->uic_link_state 1
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 opcode 5
PARAM_VALUE 2 idn 1
PARAM_VALUE 3 index 0
PARAM_VALUE 4 flag_res 6624163358030462976
PARAM_VALUE 4 *flag_res 1
DATA_SOURCE 0 hba $0
BIT_INFO 0 hba->quirks 0x0,0xfffeffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled
HALF_LOCKED2 0 &hba->host_sem

drivers/ufs/core/ufshcd.c ufshcd_query_flag_retry() -> ufshcd_query_flag()

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->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->wb_flush_threshold 1-10
PARAM_VALUE 1 opcode 5-7
PARAM_VALUE 2 idn 1,3-4,14-16
PARAM_VALUE 4 flag_res 0,187116751013310464
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 flag_res $4
HARD_MAX 1 opcode 7
HARD_MAX 2 idn 16
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hba->clk_scaling.is_enabled 0
NO_OVERFLOW_SIMPLE 0 hba->clk_scaling.is_enabled
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
HALF_LOCKED2 0 &hba->host_sem

drivers/ufs/core/ufs-sysfs.c bkops_enable_show() -> ufshcd_query_flag()

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 5
PARAM_VALUE 2 idn 4
PARAM_VALUE 4 flag_res 8615242476193103872
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_query_flag()

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 5
PARAM_VALUE 2 idn 9
PARAM_VALUE 4 flag_res 7466272303841710080
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_query_flag()

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 5
PARAM_VALUE 2 idn 1
PARAM_VALUE 4 flag_res 811792453815054336
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_query_flag()

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 5
PARAM_VALUE 2 idn 11
PARAM_VALUE 4 flag_res 3410817606071873536
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_query_flag()

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 5
PARAM_VALUE 2 idn 5
PARAM_VALUE 4 flag_res 3599427215186419712
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_query_flag()

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 5
PARAM_VALUE 2 idn 2
PARAM_VALUE 4 flag_res 3795467516514746368
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_query_flag()

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 5
PARAM_VALUE 2 idn 8
PARAM_VALUE 4 flag_res 5752977072538398720
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_query_flag()

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 5
PARAM_VALUE 2 idn 3
PARAM_VALUE 4 flag_res 1516154790049792000
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_query_flag()

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 5
PARAM_VALUE 2 idn 14
PARAM_VALUE 4 flag_res 3143505101256454144
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_query_flag()

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 5
PARAM_VALUE 2 idn 16
PARAM_VALUE 4 flag_res 7693728613185101824
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_query_flag()

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 5
PARAM_VALUE 2 idn 15
PARAM_VALUE 4 flag_res 3214813811908931584
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