Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/amd-pstate.c amd_pstate_epp_cpu_exit() -> amd_pstate_clear_dynamic_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cdev->device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->cdev->device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_epp_set_policy() -> amd_pstate_clear_dynamic_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cached_target_freq | u32max |
| PARAM_VALUE | 0 | policy->cpuinfo.max_freq | 1-u32max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->freq_table | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->limits | 0,3496226000715804672,4009704296212340736,4248581626697375744,5666071708271747072,9015490899694264320 |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->start | 0,1003581222405033984,1981512506854174720,2763010142926921728 |
| PARAM_VALUE | 0 | policy->governor->stop | 0,5005321691247378432,7665718233138106368,7876107350416359424 |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| CAPPED_DATA | 0 | policy->cpuinfo.max_freq | 1 |
| CAPPED_DATA | 0 | policy->max | 1 |
| CAPPED_DATA | 0 | policy->min | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy->cpu | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_set_dynamic_epp() -> amd_pstate_clear_dynamic_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->rwsem.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),4095 |
| STR_LEN | 0 | policy | (-1),4095 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c store_energy_performance_preference() -> amd_pstate_clear_dynamic_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->rwsem.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),4095 |
| STR_LEN | 0 | policy | (-1),4095 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |