Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/occ/common.c occ_setup() -> occ_shutdown_sysfs()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->attrs 0
PARAM_VALUE 0 occ->bus_dev 4096-ptr_max
PARAM_VALUE 0 occ->bus_dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 occ->bus_dev->kobj.sd->__parent 0
PARAM_VALUE 0 occ->bus_dev->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 occ->error s32min-0
PARAM_VALUE 0 occ->error_count 0
PARAM_VALUE 0 occ->hwmon 0
PARAM_VALUE 0 occ->hwmon_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 occ->hwmon_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->hwmon_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->last_error s32min-0
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 occ->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 occ->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 occ->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->poll_cmd_data 16,32
PARAM_VALUE 0 occ->powr_sample_time_us 250,500
PARAM_VALUE 0 occ->prev_error s32min-0
PARAM_VALUE 0 occ->send_cmd 2958491065109020672,3464263004002525184
PARAM_VALUE 0 occ->sensors.caps.data 0
PARAM_VALUE 0 occ->sensors.caps.num_sensors 0
PARAM_VALUE 0 occ->sensors.caps.version 0
PARAM_VALUE 0 occ->sensors.extended.data 0
PARAM_VALUE 0 occ->sensors.extended.num_sensors 0
PARAM_VALUE 0 occ->sensors.extended.version 0
PARAM_VALUE 0 occ->sensors.freq.data 0
PARAM_VALUE 0 occ->sensors.freq.num_sensors 0
PARAM_VALUE 0 occ->sensors.freq.version 0
PARAM_VALUE 0 occ->sensors.power.data 0
PARAM_VALUE 0 occ->sensors.power.num_sensors 0
PARAM_VALUE 0 occ->sensors.power.version 0
PARAM_VALUE 0 occ->sensors.temp.data 0
PARAM_VALUE 0 occ->sensors.temp.num_sensors 0
PARAM_VALUE 0 occ->sensors.temp.version 0
BUF_SIZE 0 occ 4632
BUF_SIZE 0 occ->bus_dev 1616
DATA_SOURCE 0 occ $0
FUZZY_MAX 0 occ->error 0
FUZZY_MAX 0 occ->last_error 0
FUZZY_MAX 0 occ->prev_error 0
HARD_MAX 0 occ->poll_cmd_data 32
HARD_MAX 0 occ->powr_sample_time_us 500
MEM_ZERO 0 occ
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/hwmon/occ/common.c occ_shutdown() -> occ_shutdown_sysfs()

Type Parameter Key Value
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
DATA_SOURCE 0 occ $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 occ unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct device)->mutex