Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thermal/thermal_helpers.c thermal_cdev_update() -> __thermal_cdev_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdev->updated | 0 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tz->lock | ||
| LOCK2 | 0 | &cdev->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_helpers.c thermal_cdev_update_nocheck() -> __thermal_cdev_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cdev->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/thermal/gov_power_allocator.c allow_maximum_power() -> __thermal_cdev_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tz->lock | ||
| LOCK2 | 0 | &cdev->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |