Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/platform/x86/acerhdf.c acerhdf_register_thermal() -> thermal_zone_device_disable()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
PARAM_VALUE 0 tz->debugfs->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tz->debugfs->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tz->debugfs->lock.dep_map->name 0-255
PARAM_VALUE 0 tz->debugfs->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tz->debugfs->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tz->devdata 0
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.dep_map->name 0-255
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tz->devdata->ts->thermctl_lock.osq.tail.counter 0-s32max
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.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 tz->device.kobj->name 0-255
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.sd->__parent 0
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.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->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->governor_data->prev_err s32min-(-1024),0,1024-s32max
PARAM_VALUE 0 tz->governor_data->sustainable_power 0-4294967295
PARAM_VALUE 0 tz->governor_data->update_cdevs 0-1
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->list.prev->next 5159360019465732096
PARAM_VALUE 0 tz->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tz->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tz->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tz->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tz->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 tz->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tz->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tz->mode 0-1
PARAM_VALUE 0 tz->num_trips 2
PARAM_VALUE 0 tz->ops.get_temp 506869272002441216
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 (-273998)-s32max
PARAM_VALUE 0 tz->prev_low_trip (-2147483647)-2147483646
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 4294967295
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 4294967295
PARAM_VALUE 0 tz->state 0-1
PARAM_VALUE 0 tz->temperature s32min,(-273999)-(-1),1-s32max
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->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
BUF_SIZE 0 tz 2576-s32max
BUF_SIZE 0 tz 2576-s32max
DATA_SOURCE 0 tz r thermal_zone_device_register_with_trips
NO_OVERFLOW_SIMPLE 0 tz->governor->bind_to_tz
NO_OVERFLOW_SIMPLE 0 tz->num_trips

drivers/acpi/thermal.c acpi_thermal_zone_unregister() -> thermal_zone_device_disable()

Type Parameter Key Value
NOCHECK_CALL

drivers/thermal/sprd_thermal.c sprd_thm_toggle_sensor() -> thermal_zone_device_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/thermal/hisi_thermal.c hisi_thermal_toggle_sensor() -> thermal_zone_device_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/thermal/tegra/tegra30-tsensor.c tegra_tsensor_disable_hw_channel() -> thermal_zone_device_disable()

Type Parameter Key Value
PARAM_VALUE 0 tz 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/rockchip_thermal.c rockchip_thermal_toggle_sensor() -> thermal_zone_device_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/thermal/thermal_of.c thermal_of_zone_unregister() -> thermal_zone_device_disable()

Type Parameter Key Value
PARAM_VALUE 0 tz->device.kobj.sd->attr.open->nr_mmapped 0-4294967295
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->trips->trip_attrs.hyst.attr.attr.mode 0-u16max
PARAM_VALUE 0 tz->trips->trip_attrs.temp.attr.attr.mode 0-u16max
PARAM_VALUE 0 tz->trips->trip_attrs.type.attr.attr.mode 0-u16max
BUF_SIZE 0 tz (-1),2576-s32max
BUF_SIZE 0 tz (-1),2576-s32max
BUF_SIZE 0 tz->devdata (-1),16,24,32,40,48,104,136,200,256,320,376,392,1616
DATA_SOURCE 0 tz $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tz->num_trips

drivers/thermal/thermal_sysfs.c mode_store() -> thermal_zone_device_disable()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
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/thermal/imx_thermal.c imx_thermal_suspend() -> thermal_zone_device_disable()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING