Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/acpi-cpufreq.c acpi_cpufreq_fast_switch() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &sg_policy->update_lock |
drivers/cpufreq/acpi-cpufreq.c acpi_cpufreq_guess_freq() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->acpi_perf_cpu | 0-s32max |
| BUF_SIZE | 0 | data | 40 |
| CAPPED_DATA | 0 | data->acpi_perf_cpu | 1 |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/acpi-cpufreq.c acpi_cpufreq_target() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &userspace->mutex | ||
| HALF_LOCKED2 | global &gov_dbs_data_mutex |
drivers/cpufreq/acpi-cpufreq.c drv_read() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/acpi-cpufreq.c drv_write() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &userspace->mutex | ||
| HALF_LOCKED2 | global &gov_dbs_data_mutex |
drivers/cpufreq/acpi-cpufreq.c extract_io() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/acpi-cpufreq.c extract_msr() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/acpi-cpufreq.c get_cur_freq_on_cpu() -> to_perf_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1-u64max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &cpufreq_driver_lock |