Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/thermal_core.c thermal_cooling_device_add() -> (struct thermal_cooling_device_ops)->get_cur_state()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->device.class 0,4096-ptr_max
PARAM_VALUE 0 cdev->device.devres_head.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem->defpool.nareas 0-s32max
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem->dyn_alloc.data.counter 0,9007199250546704
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem->dyn_alloc.entry.next 0
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem->pools.next 0
PARAM_VALUE 0 cdev->device.dma_io_tlb_mem->pools.prev 0,1473117533515866408
PARAM_VALUE 0 cdev->device.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.dma_uses_io_tlb 0
PARAM_VALUE 0 cdev->device.flags 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj->name 0-255
PARAM_VALUE 0 cdev->device.kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 cdev->device.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 cdev->device.kobj.ktype 5399513539053756416
PARAM_VALUE 0 cdev->device.kobj.name 1-u64max
PARAM_VALUE 0 cdev->device.kobj.state_add_uevent_sent 0
PARAM_VALUE 0 cdev->device.kobj.state_in_sysfs 0
PARAM_VALUE 0 cdev->device.kobj.state_initialized 1
PARAM_VALUE 0 cdev->device.kobj.state_remove_uevent_sent 0
PARAM_VALUE 0 cdev->device.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.status 0
PARAM_VALUE 0 cdev->device.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.numa_node (-1)
PARAM_VALUE 0 cdev->device.power.child_count.counter 0
PARAM_VALUE 0 cdev->device.power.deferred_resume 0
PARAM_VALUE 0 cdev->device.power.disable_depth 1
PARAM_VALUE 0 cdev->device.power.early_init 1
PARAM_VALUE 0 cdev->device.power.entry.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.idle_notification 0
PARAM_VALUE 0 cdev->device.power.ignore_children 0
PARAM_VALUE 0 cdev->device.power.is_late_suspended 0
PARAM_VALUE 0 cdev->device.power.is_noirq_suspended 0
PARAM_VALUE 0 cdev->device.power.is_prepared 0
PARAM_VALUE 0 cdev->device.power.is_suspended 0
PARAM_VALUE 0 cdev->device.power.last_status (-1)
PARAM_VALUE 0 cdev->device.power.needs_force_resume 0
PARAM_VALUE 0 cdev->device.power.qos 0
PARAM_VALUE 0 cdev->device.power.request 0
PARAM_VALUE 0 cdev->device.power.request_pending 0
PARAM_VALUE 0 cdev->device.power.runtime_auto 1
PARAM_VALUE 0 cdev->device.power.runtime_error 0
PARAM_VALUE 0 cdev->device.power.runtime_status 2
PARAM_VALUE 0 cdev->device.power.timer_expires 0
PARAM_VALUE 0 cdev->device.power.usage_count.counter 0
PARAM_VALUE 0 cdev->device.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->device.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->device.release 8515309013135265792
PARAM_VALUE 0 cdev->id 0-s32max
PARAM_VALUE 0 cdev->lock.dep_map->name 0-255
PARAM_VALUE 0 cdev->lock.first_waiter 0
PARAM_VALUE 0 cdev->lock.magic 4096-ptr_max
PARAM_VALUE 0 cdev->lock.osq.tail.counter 0
PARAM_VALUE 0 cdev->lock.owner.counter 0
PARAM_VALUE 0 cdev->ops 4096-ptr_max
PARAM_VALUE 0 cdev->ops->get_cur_state 4096-ptr_max
PARAM_VALUE 0 cdev->ops->get_max_state 4096-ptr_max
PARAM_VALUE 0 cdev->ops->get_requested_power 0,7277979747621191680,7871207863744667648
PARAM_VALUE 0 cdev->ops->power2state 0,4521365994004848640,7375531970282631168
PARAM_VALUE 0 cdev->ops->set_cur_state 4096-ptr_max
PARAM_VALUE 0 cdev->ops->state2power 0,3535664626711678976,4373884764976095232
PARAM_VALUE 0 cdev->thermal_instances.next 4096-ptr_max
PARAM_VALUE 0 cdev->thermal_instances.next->next 4096-ptr_max
PARAM_VALUE 0 cdev->thermal_instances.prev 4096-ptr_max
PARAM_VALUE 0 cdev->thermal_instances.prev->next 4096-ptr_max
PARAM_VALUE 0 cdev->thermal_instances.prev->prev 4096-ptr_max
PARAM_VALUE 0 cdev->type 4096-ptr_max
PARAM_VALUE 0 cdev->updated 0
PARAM_VALUE 1 state 4791480530833326080
BUF_SIZE 0 cdev 1880
BUF_SIZE 0 cdev->devdata s32min-(-1),1-s32max
BUF_SIZE 0 cdev->ops (-1),48
DATA_SOURCE 0 cdev $0
CONTAINER 0 -8-1656+0 $(-1)
MEM_ZERO 0 &cdev->device.power.suspend_timer
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/thermal_core.c thermal_cooling_device_update() -> (struct thermal_cooling_device_ops)->get_cur_state()

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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 cdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cdev->ops 4096-ptr_max
PARAM_VALUE 0 cdev->stats 0,4096-ptr_max
PARAM_VALUE 1 state 1360350259541450752
CAPPED_DATA 0 cdev 1
CAPPED_DATA 0 &cdev->thermal_instances 1
DATA_SOURCE 0 cdev $0
CONTAINER 0 -8-1656+0 $(-1)
LOCK2 _T->lock
LOCK2 0 &cdev->lock
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/thermal/gov_step_wise.c get_target_state() -> (struct thermal_cooling_device_ops)->get_cur_state()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->ops 4096-ptr_max
PARAM_VALUE 1 state 463937729881616384
CONTAINER 0 -8-1656+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/thermal_sysfs.c cur_state_show() -> (struct thermal_cooling_device_ops)->get_cur_state()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->ops 4096-ptr_max
PARAM_VALUE 1 state 8027648091518898176
CONTAINER 0 -8-1656+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex