Defined in 1 files as a function:
Referenced in 4 files:
- drivers/cpufreq/cpufreq_conservative.c
- drivers/cpufreq/cpufreq_governor.c
- drivers/cpufreq/cpufreq_governor.h
- drivers/cpufreq/cpufreq_ondemand.c
Smatch caller information:
drivers/cpufreq/cpufreq_conservative.c down_threshold_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c down_threshold_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c freq_step_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c freq_step_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c ignore_nice_load_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c ignore_nice_load_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c sampling_down_factor_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c sampling_down_factor_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c sampling_rate_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c up_threshold_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_conservative.c up_threshold_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c ignore_nice_load_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c ignore_nice_load_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c io_is_busy_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c io_is_busy_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c powersave_bias_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c powersave_bias_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c sampling_down_factor_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c sampling_down_factor_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c sampling_rate_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c up_threshold_show() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_ondemand.c up_threshold_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq_governor.c cpufreq_dbs_data_release() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/cpufreq/cpufreq_governor.c sampling_rate_store() -> to_dbs_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr_set | 4096-ptr_max |
| DATA_SOURCE | 0 | attr_set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &attr_set->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |