Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/cpufreq/cpufreq.c __cpufreq_offline() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c __cpufreq_offline() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c __cpufreq_offline() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_add_policy_cpu() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_add_policy_cpu() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_init_policy() -> has_target()
| Type | Parameter | Key | Value |
|---|
drivers/cpufreq/cpufreq.c cpufreq_policy_online() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_policy_online() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_policy_refresh() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_resume() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/cpufreq/cpufreq.c cpufreq_resume() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/cpufreq/cpufreq.c cpufreq_suspend() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/cpufreq/cpufreq.c cpufreq_suspend() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/cpufreq/cpufreq.c cpufreq_verify_current_freq() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/cpufreq.c show_scaling_available_governors() -> has_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |