Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/thermal_netlink.c thermal_genl_cpu_capability_event() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 14 |
| PARAM_VALUE | 1 | p | 5970954835656388608 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities | 4096-ptr_max |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| PARAM_VALUE | 1 | p->tz_id | 0 |
| NO_OVERFLOW_SIMPLE | 1 | p->cpu_capabilities_count | |
| LOCK2 | global &hfi_instance_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/thermal/thermal_netlink.c thermal_notify_cdev_add() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 10 |
| PARAM_VALUE | 1 | p | 2420241472949456896 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| PARAM_VALUE | 1 | p->tz_id | 0 |
drivers/thermal/thermal_netlink.c thermal_notify_cdev_delete() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 11 |
| PARAM_VALUE | 1 | p | 6046775327492554752 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| PARAM_VALUE | 1 | p->tz_id | 0 |
drivers/thermal/thermal_netlink.c thermal_notify_cdev_state_update() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 12 |
| PARAM_VALUE | 1 | p | 6610058990758539264 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| PARAM_VALUE | 1 | p->tz_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tz->lock | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_threshold_add() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 15 |
| PARAM_VALUE | 1 | p | 4640492420598951936 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_threshold_delete() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 16 |
| PARAM_VALUE | 1 | p | 6452624225483923456 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_threshold_down() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 19 |
| PARAM_VALUE | 1 | p | 6671627202073948160 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->prev_temp | (-273998)-s32max |
| PARAM_VALUE | 1 | p->temp | (-273999)-(-1),1-s32max |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_threshold_flush() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 17 |
| PARAM_VALUE | 1 | p | 6155826183619846144 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_threshold_up() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 18 |
| PARAM_VALUE | 1 | p | 1589273592997605376 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->prev_temp | s32min-(-274001),(-273999)-2147483646 |
| PARAM_VALUE | 1 | p->temp | (-273999)-(-1),1-s32max |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_create() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 1 |
| PARAM_VALUE | 1 | p | 3109157346695774208 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| PARAM_VALUE | 1 | p->tz_id | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tt_zone->lock | ||
| HALF_LOCKED2 | global &iwlwifi_opmode_table_mtx |
drivers/thermal/thermal_netlink.c thermal_notify_tz_delete() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 2 |
| PARAM_VALUE | 1 | p | 8174208922777772032 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tt_zone->lock | ||
| HALF_LOCKED2 | global &iwlwifi_opmode_table_mtx |
drivers/thermal/thermal_netlink.c thermal_notify_tz_disable() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 3 |
| PARAM_VALUE | 1 | p | 7270408240972718080 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_enable() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4 |
| PARAM_VALUE | 1 | p | 191130669962096640 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tt_zone->lock | ||
| HALF_LOCKED2 | global &iwlwifi_opmode_table_mtx | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_gov_change() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 13 |
| PARAM_VALUE | 1 | p | 7484259460881301504 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 8298738318053126144 |
| PARAM_VALUE | 1 | p->temp | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_id | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &tz->lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_trip_change() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | p | 753091114655690752 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | 0 |
| NOSPEC | 1 | p->trip_temp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | p->trip_hyst | 0-s32max |
| USER_DATA | 1 | p->trip_temp | (-2147483647)-(-274001),(-273999)-s32max |
| NO_OVERFLOW_SIMPLE | 1 | p->trip_hyst | |
| NO_OVERFLOW_SIMPLE | 1 | p->trip_temp | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tz->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_trip_down() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 6 |
| PARAM_VALUE | 1 | p | 885601969565843456 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tz->lock |
drivers/thermal/thermal_netlink.c thermal_notify_tz_trip_up() -> thermal_genl_send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 5 |
| PARAM_VALUE | 1 | p | 6257532861853466624 |
| PARAM_VALUE | 1 | p->attrs | 0 |
| PARAM_VALUE | 1 | p->cdev_id | 0 |
| PARAM_VALUE | 1 | p->cpu_capabilities_count | 0 |
| PARAM_VALUE | 1 | p->msg | 0 |
| PARAM_VALUE | 1 | p->name | 0 |
| PARAM_VALUE | 1 | p->temp | (-273999)-(-1),1-s32max |
| PARAM_VALUE | 1 | p->trip_hyst | 0 |
| PARAM_VALUE | 1 | p->trip_temp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |