Defined in 2 files as a function:
- drivers/acpi/processor_perflib.c, line 51 (as a function)
- drivers/acpi/processor_throttling.c, line 267 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/acpi/processor_throttling.c acpi_processor_get_throttling_info() -> acpi_processor_get_platform_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pr->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->bm_sts_skip | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->entry_method | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->index | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->type | 0-255 |
| PARAM_VALUE | 0 | pr->power.states->valid | 0-255 |
| PARAM_VALUE | 0 | pr->throttling.state_count | 0-s32max |
| PARAM_VALUE | 0 | pr->throttling.states_tss | 16,4096-ptr_max |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | 24,32,88,104,108-1096,1616,2592 |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/acpi/processor_throttling.c acpi_processor_tstate_has_changed() -> acpi_processor_get_platform_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 1-u64max |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/processor_perflib.c acpi_processor_get_performance_info() -> acpi_processor_get_platform_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->handle | 4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | pr->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 0 | pr->performance | 1-u64max |
| PARAM_VALUE | 0 | pr->performance->state_count | 0-s32max |
| PARAM_VALUE | 0 | pr->performance->states | 16,4096-ptr_max |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &performance_mutex |
drivers/acpi/processor_perflib.c acpi_processor_ppc_has_changed() -> acpi_processor_get_platform_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->performance | 1-u64max |
| PARAM_VALUE | 0 | pr->power.states->address | 0-4294967295 |
| PARAM_VALUE | 0 | pr->power.states->latency | 0-4294967295 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| BUF_SIZE | 0 | pr | (-1),24,32,88,104,108-1096,1616,2592 |
| DATA_SOURCE | 0 | pr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/processor_perflib.c acpi_processor_ppc_init() -> acpi_processor_get_platform_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pr | 4096-ptr_max |
| PARAM_VALUE | 0 | pr->performance | 1-u64max |
| PARAM_VALUE | 0 | pr->performance_platform_limit | 0 |