Defined in 1 files as a member:
Defined in 3 files as a function:
- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c, line 232 (as a function)
- drivers/hwmon/applesmc.c, line 167 (as a function)
- fs/dlm/recover.c, line 154 (as a function)
Referenced in 11 files:
- drivers/accel/habanalabs/common/command_submission.c
- drivers/fpga/stratix10-soc.c
- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
- drivers/hwmon/applesmc.c
- drivers/media/tuners/si2157.c
- drivers/ntb/hw/mscc/ntb_hw_switchtec.c
- drivers/spi/spi-tegra114.c
- drivers/spi/spi-tegra20-slink.c
- drivers/spi/spi-tegra210-quad.c
- fs/dlm/recover.c
- tools/testing/selftests/arm64/fp/fp-ptrace.c
Smatch caller information:
fs/dlm/recover.c dlm_recover_directory_wait() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | ls->ls_node_array | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_num_slots | 0-249 |
| PARAM_VALUE | 0 | ls->ls_rcom_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_args | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.h_cmd | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.h_length | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.h_nodeid | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.h_pad | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.h_version | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.u.h_lockspace | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_header.u.h_seq | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_id | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_result | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_seq | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_seq_reply | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_buf->rc_type | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_lock_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_locks_in | 0 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_slots | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slots_size | s32min-2147483645 |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | status | 4 |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| DATA_SOURCE | 0 | ls | $0 |
| DATA_SOURCE | 2 | seq | $1 |
| LOCK2 | 0 | &ls->ls_in_recovery | |
| LOCK2 | 0 | &ls->ls_recoverd_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active |
fs/dlm/recover.c dlm_recover_done_wait() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | ls->ls_node_array | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_num_slots | 0-249 |
| PARAM_VALUE | 0 | ls->ls_rcom_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_args | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_lock_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_locks_in | 0 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_slots | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slots_size | s32min-2147483645 |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | status | 64 |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| DATA_SOURCE | 0 | ls | $0 |
| DATA_SOURCE | 2 | seq | $1 |
| LOCK2 | 0 | &ls->ls_in_recovery | |
| LOCK2 | 0 | &ls->ls_recoverd_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active |
fs/dlm/recover.c dlm_recover_locks_wait() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_masters_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_masters_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | ls->ls_node_array | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_num_slots | 0-249 |
| PARAM_VALUE | 0 | ls->ls_rcom_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_args | 0 |
| PARAM_VALUE | 0 | ls->ls_recover_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_lock_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_locks_in | 0 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_recoverd_active.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_slots | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slots_size | s32min-2147483645 |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_inactive.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | status | 16 |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| DATA_SOURCE | 0 | ls | $0 |
| DATA_SOURCE | 2 | seq | $1 |
| LOCK2 | 0 | &ls->ls_in_recovery | |
| LOCK2 | 0 | &ls->ls_recoverd_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active |
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c dmm_txn_commit() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->dmm | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->dmm->wa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | status | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c dmm_txn_commit() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->async | 0 |
| PARAM_VALUE | 0 | ls->compl.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | ls->compl.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->compl.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->compl.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->compl.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->dmm | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->dmm->wa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | status | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/applesmc.c read_smc() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 5 |
| PARAM_VALUE | 1 | status | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c read_smc() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c send_byte() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c send_byte() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4 |
| PARAM_VALUE | 1 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c send_command() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c smc_sane() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c smc_sane() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smcreg.mutex |
drivers/hwmon/applesmc.c write_smc() -> wait_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 0 |
| PARAM_VALUE | 1 | status | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &smcreg.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct applesmc_registers)->mutex |