Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/hwmon/occ/sysfs.c occ_active_store() -> occ_active()

Type Parameter Key Value
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 occ unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
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 1-u64max
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->hwmon_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.first_waiter 0
PARAM_VALUE 0 occ->hwmon_lock.magic 4096-ptr_max
PARAM_VALUE 0 occ->hwmon_lock.osq.tail.counter 0
PARAM_VALUE 0 occ->hwmon_lock.owner.counter 0
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0
PARAM_VALUE 0 occ->lock.magic 4096-ptr_max
PARAM_VALUE 0 occ->lock.osq.tail.counter 0
PARAM_VALUE 0 occ->lock.owner.counter 0
PARAM_VALUE 0 occ->poll_cmd_data 16,32
PARAM_VALUE 0 occ->powr_sample_time_us 250,500
PARAM_VALUE 0 occ->send_cmd 2958491065109020672,3464263004002525184
PARAM_VALUE 1 active 1
BUF_SIZE 0 occ 4632
BUF_SIZE 0 occ->bus_dev 1616
DATA_SOURCE 0 occ $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