Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/cpufreq.c cpufreq_get() -> __cpufreq_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpus->bits | 4096-ptr_max |
| DATA_SOURCE | 0 | policy | r cpufreq_cpu_get |
| LOCK2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c show_cpuinfo_cur_freq() -> __cpufreq_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |