Defined in 2 files as a function:
- include/linux/cpufreq.h, line 1172 (as a function)
- include/linux/cpufreq.h, line 1219 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/cpufreq/apple-soc-cpufreq.c apple_soc_cpufreq_find_cluster() -> of_perf_domain_get_sharing_cpumask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcpu | 0-8192 |
| PARAM_VALUE | 1 | list_name | 7470712472757575680 |
| PARAM_VALUE | 2 | cell_name | 358488213469261824 |
| PARAM_VALUE | 3 | cpumask | 1-u64max |
| PARAM_VALUE | 4 | pargs | 7423705236114812928 |
| BUF_SIZE | 1 | list_name | 20 |
| BUF_SIZE | 2 | cell_name | 26 |
| CAPPED_DATA | 0 | pcpu | 1 |
| STR_LEN | 0 | pcpu | 19 |
| STR_LEN | 1 | list_name | 25 |
| TERMINATED | 1 | list_name | 1 |
| TERMINATED | 2 | cell_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/mediatek-cpufreq-hw.c mtk_cpu_resources_init() -> of_perf_domain_get_sharing_cpumask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcpu | 0-s32max |
| PARAM_VALUE | 1 | list_name | 7470712472757575680 |
| PARAM_VALUE | 2 | cell_name | 358488213469261824 |
| PARAM_VALUE | 3 | cpumask | 1-u64max |
| PARAM_VALUE | 4 | pargs | 8633719728791252992 |
| BUF_SIZE | 1 | list_name | 20 |
| BUF_SIZE | 2 | cell_name | 26 |
| CAPPED_DATA | 0 | pcpu | 1 |
| STR_LEN | 0 | pcpu | 19 |
| STR_LEN | 1 | list_name | 25 |
| TERMINATED | 1 | list_name | 1 |
| TERMINATED | 2 | cell_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |