Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/thermal_core.c thermal_zone_cdev_bind() -> __thermal_zone_cdev_bind()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
PARAM_VALUE 0 tz->lock.dep_map->name 0-255
PARAM_VALUE 0 tz->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tz->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tz->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tz->trips->trip.type 0-4294967295
PARAM_VALUE 1 cdev 4096-ptr_max
PARAM_VALUE 1 cdev->device.devres_head.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 1 cdev->device.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 1 cdev->device.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 1 cdev->device.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 1 cdev->device.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.flags 4096-ptr_max
PARAM_VALUE 1 cdev->device.fwnode->dev 4096-ptr_max
PARAM_VALUE 1 cdev->device.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 1 cdev->device.fwnode->dev->p 1-u64max
PARAM_VALUE 1 cdev->device.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 1 cdev->device.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 1 cdev->device.kobj->name 0-255
PARAM_VALUE 1 cdev->device.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 cdev->device.kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 cdev->device.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 cdev->device.kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 cdev->device.kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 cdev->device.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 1 cdev->device.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 1 cdev->device.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.p->klist_children.get 2213798222526185472
PARAM_VALUE 1 cdev->device.p->klist_children.put 3126867300421632000
PARAM_VALUE 1 cdev->device.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 cdev->device.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 cdev->device.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 1 cdev->device.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 cdev->device.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 cdev->device.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 cdev->device.physical_location->dock 0
PARAM_VALUE 1 cdev->device.physical_location->lid 0
PARAM_VALUE 1 cdev->device.physical_location->panel 0
PARAM_VALUE 1 cdev->device.power.entry.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->device.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->device.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->id 0-s32max
PARAM_VALUE 1 cdev->lock.dep_map->name 0-255
PARAM_VALUE 1 cdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 cdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 cdev->node.next 4096-ptr_max
PARAM_VALUE 1 cdev->node.prev 5379217945496354816
PARAM_VALUE 1 cdev->ops 4096-ptr_max
PARAM_VALUE 1 cdev->ops->get_cur_state 4096-ptr_max
PARAM_VALUE 1 cdev->ops->get_max_state 4096-ptr_max
PARAM_VALUE 1 cdev->ops->get_requested_power 0,7277979747621191680,7871207863744667648
PARAM_VALUE 1 cdev->ops->power2state 0,4521365994004848640,7375531970282631168
PARAM_VALUE 1 cdev->ops->set_cur_state 4096-ptr_max
PARAM_VALUE 1 cdev->ops->state2power 0,3535664626711678976,4373884764976095232
PARAM_VALUE 1 cdev->stats 0,4096-ptr_max
PARAM_VALUE 1 cdev->thermal_instances.next 4096-ptr_max
PARAM_VALUE 1 cdev->thermal_instances.next->next 4096-ptr_max
PARAM_VALUE 1 cdev->thermal_instances.prev 4096-ptr_max
PARAM_VALUE 1 cdev->thermal_instances.prev->next 4096-ptr_max
PARAM_VALUE 1 cdev->thermal_instances.prev->prev 4096-ptr_max
PARAM_VALUE 1 cdev->type 4096-ptr_max
PARAM_VALUE 1 cdev->updated 0
PARAM_VALUE 1 *cdev->device.groups 2672975913104023552
BUF_SIZE 1 cdev->devdata s32min-(-1),1-s32max
CAPPED_DATA 1 cdev 1
DATA_SOURCE 0 tz $0
DATA_SOURCE 1 cdev $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 0 &tz->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/thermal_core.c thermal_zone_init_complete() -> __thermal_zone_cdev_bind()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
PARAM_VALUE 0 tz->device.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 tz->device.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 tz->device.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 tz->device.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 tz->device.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.flags 4096-ptr_max
PARAM_VALUE 0 tz->device.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 tz->device.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 tz->device.fwnode->dev->p 1-u64max
PARAM_VALUE 0 tz->device.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 tz->device.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 tz->device.kobj->name 0-255
PARAM_VALUE 0 tz->device.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 tz->device.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 tz->device.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 tz->device.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 tz->device.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 tz->device.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 tz->device.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 tz->device.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 tz->device.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 tz->device.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 tz->device.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 tz->device.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 tz->device.physical_location->dock 0
PARAM_VALUE 0 tz->device.physical_location->lid 0
PARAM_VALUE 0 tz->device.physical_location->panel 0
PARAM_VALUE 0 tz->device.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->device.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 tz->device.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->device.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->governor 0,4096-ptr_max
PARAM_VALUE 0 tz->governor->bind_to_tz 0,2625438590284062720,7640240789060431872
PARAM_VALUE 0 tz->governor->manage 0,149470046961913856,5836613507414540288,8382018677294436352,9167433168714678272
PARAM_VALUE 0 tz->governor->name 1502858989091262464,4705349393199218688,5821807770346795008,7001299106156244992,7700315807848235008
PARAM_VALUE 0 tz->governor->trip_crossed 0,2692350151616135168,3163678708812419072
PARAM_VALUE 0 tz->governor->unbind_from_tz 0,2871557082366656512
PARAM_VALUE 0 tz->governor->update_tz 0,234793815905665024,701785995358248960
PARAM_VALUE 0 tz->id 0-s32max
PARAM_VALUE 0 tz->ida.xa.xa_flags 33554437
PARAM_VALUE 0 tz->ida.xa.xa_head 0
PARAM_VALUE 0 tz->lock.dep_map->name 0-255
PARAM_VALUE 0 tz->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tz->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tz->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tz->node.next 4096-ptr_max
PARAM_VALUE 0 tz->node.next->next 4096-ptr_max
PARAM_VALUE 0 tz->node.prev 4096-ptr_max
PARAM_VALUE 0 tz->node.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->node.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->num_trips 0-s32max
PARAM_VALUE 0 tz->ops.critical 1-u64max
PARAM_VALUE 0 tz->ops.get_temp 1-u64max
PARAM_VALUE 0 tz->passive 0
PARAM_VALUE 0 tz->passive_delay_jiffies 0-536870912,4611686018427387902
PARAM_VALUE 0 tz->polling_delay_jiffies 0-536870912,4611686018427387902
PARAM_VALUE 0 tz->prev_high_trip s32max
PARAM_VALUE 0 tz->prev_low_trip (-2147483647)
PARAM_VALUE 0 tz->recheck_delay_jiffies 0-536870912
PARAM_VALUE 0 tz->removal.done 0
PARAM_VALUE 0 tz->removal.wait.lock.magic 3735899821
PARAM_VALUE 0 tz->removal.wait.lock.owner (-1)
PARAM_VALUE 0 tz->removal.wait.lock.owner_cpu u32max
PARAM_VALUE 0 tz->removal.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 tz->removal.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 tz->removal.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 tz->removal.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->removal.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->resume.done 0
PARAM_VALUE 0 tz->resume.wait.lock.magic 3735899821
PARAM_VALUE 0 tz->resume.wait.lock.owner (-1)
PARAM_VALUE 0 tz->resume.wait.lock.owner_cpu u32max
PARAM_VALUE 0 tz->resume.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 tz->resume.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 tz->resume.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 tz->resume.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->resume.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->state 4
PARAM_VALUE 0 tz->temperature s32min
PARAM_VALUE 0 tz->trips->trip_attrs.hyst.attr.attr.mode 292,420
PARAM_VALUE 0 tz->trips->trip_attrs.hyst.attr.show 719332158819762176
PARAM_VALUE 0 tz->trips->trip_attrs.hyst.attr.show_const 719332158819762176
PARAM_VALUE 0 tz->trips->trip_attrs.hyst.attr.store 9088860284661993472
PARAM_VALUE 0 tz->trips->trip_attrs.hyst.attr.store_const 9088860284661993472
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.attr.mode 292,420
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.show 8403432417533095936
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.show_const 8403432417533095936
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.store 1527830888902770688
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.store_const 1527830888902770688
PARAM_VALUE 0 tz->trips->trip_attrs.type.attr.attr.mode 292
PARAM_VALUE 0 tz->trips->trip_attrs.type.attr.show 7673670647537684480
PARAM_VALUE 0 tz->trips->trip_attrs.type.attr.show_const 7673670647537684480
PARAM_VALUE 0 tz->trips_attribute_group.attrs 4096-ptr_max
PARAM_VALUE 0 tz->trips_attribute_group.attrs_const 4096-ptr_max
PARAM_VALUE 0 tz->trips_high.next->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_high.prev 4096-ptr_max
PARAM_VALUE 0 tz->trips_high.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_high.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->trips_invalid.next->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_invalid.prev 4096-ptr_max
PARAM_VALUE 0 tz->trips_invalid.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_invalid.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->trips_reached.next 4096-ptr_max
PARAM_VALUE 0 tz->trips_reached.next->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_reached.prev 4096-ptr_max
PARAM_VALUE 0 tz->trips_reached.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->trips_reached.prev->prev 4096-ptr_max
PARAM_VALUE 0 tz->tzp 0,4096-ptr_max
PARAM_VALUE 0 tz->tzp->k_i 1-214748364
PARAM_VALUE 0 tz->tzp->k_po s32min-(-1024),0-s32max
PARAM_VALUE 0 tz->tzp->k_pu s32min-(-1024),0-s32max
PARAM_VALUE 0 tz->user_thresholds.next 4096-ptr_max
PARAM_VALUE 0 tz->user_thresholds.next->next 4096-ptr_max
PARAM_VALUE 0 tz->user_thresholds.prev 4096-ptr_max
PARAM_VALUE 0 tz->user_thresholds.prev->next 4096-ptr_max
PARAM_VALUE 0 tz->user_thresholds.prev->prev 4096-ptr_max
PARAM_VALUE 0 *tz->trips->trip_attrs->hyst.attr.attr.name 0-255
PARAM_VALUE 0 *tz->trips->trip_attrs->hyst.name 0-255
PARAM_VALUE 0 *tz->trips->trip_attrs->temp.attr.attr.name 0-255
PARAM_VALUE 0 *tz->trips->trip_attrs->temp.name 0-255
PARAM_VALUE 0 *tz->trips->trip_attrs->type.attr.attr.name 0-255
PARAM_VALUE 0 *tz->trips->trip_attrs->type.name 0-255
PARAM_VALUE 1 cdev 4096-ptr_max
BUF_SIZE 0 tz 2576-s32max
BUF_SIZE 0 tz 2576-s32max
BUF_SIZE 0 tz->devdata (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616
CAPPED_DATA 0 tz->num_trips 1
CAPPED_DATA 1 &cdev->node 1
DATA_SOURCE 0 tz $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tz->num_trips 1[c]
NO_OVERFLOW_SIMPLE 0 tz->num_trips
LOCK2 _T->lock
LOCK2 0 &tz->lock
HALF_LOCKED2 &tt_zone->lock
HALF_LOCKED2 global &iwlwifi_opmode_table_mtx
TYPE_LOCK (struct thermal_zone_device)->lock