Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/powercap/dtpm.c dtpm_release_zone() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| CAPPED_DATA | 0 | zone->constraints | 1 |
| CAPPED_DATA | 0 | zone->name | 1 |
| CAPPED_DATA | 0 | zone->zone_dev_attrs | 1 |
| DATA_SOURCE | 0 | zone | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/powercap/dtpm.c get_max_power_range_uw() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $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/powercap/dtpm.c get_max_power_uw() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $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/powercap/dtpm.c get_power_limit_uw() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/powercap/dtpm.c get_power_uw() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $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/powercap/dtpm.c set_power_limit_uw() -> to_dtpm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $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 |