Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/firmware/qcom/qcom_scm.c, line 2665
- drivers/tee/qcomtee/user_obj.c, line 258
- fs/coredump.c, line 536
- kernel/fork.c, line 1452
- kernel/module/dups.c, line 191
- kernel/rcu/update.c, line 444
- kernel/sched/completion.c, line 275
- kernel/umh.c
Smatch caller information:
fs/coredump.c coredump_wait() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 7181041561060503576 |
| PARAM_VALUE | 0 | x->done | 0 |
| PARAM_VALUE | 0 | x->wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | x->wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | x->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | x->wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | x->wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 8194 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/fork.c wait_for_vfork_done() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 2382966039897399296 |
| PARAM_VALUE | 0 | x->done | 0 |
| PARAM_VALUE | 0 | x->wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | x->wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | x->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | x->wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | x->wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 8450 |
| DATA_SOURCE | 0 | x | $1 |
drivers/tee/qcomtee/user_obj.c qcomtee_user_object_dispatch() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->done | 0 |
| PARAM_VALUE | 0 | x->wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | x->wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | x->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | x->wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | x->wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 8450 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/qcom/qcom_scm.c qcom_scm_wait_for_wq_completion() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1026 |
| DATA_SOURCE | 0 | x | r qcom_scm_get_completion |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &qcom_scm_lock |
kernel/module/dups.c kmod_dup_request_exists_wait() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 258 |
| LOCK2 | _T->lock | ||
| LOCK2 | global &kmod_concurrent_max |
kernel/rcu/update.c __wait_rcu_gp() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| DATA_SOURCE | 1 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/umh.c call_usermodehelper_exec() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 777973777506422784 |
| PARAM_VALUE | 1 | state | 258,8450 |
| BIT_INFO | 1 | state | 0x102,0x2102 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &kmod_concurrent_max |
kernel/umh.c call_usermodehelper_exec() -> wait_for_completion_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 777973777506422784 |
| PARAM_VALUE | 1 | state | 2,8194 |
| FUZZY_MAX | 1 | state | 2 |
| BIT_INFO | 1 | state | 0x2,0x2002 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kmod_concurrent_max |