Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/hwmon.c hwmon_attr_store() -> (struct hwmon_ops)->write()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
CONTAINER 1 *(-32-56+64) $(-1)
CONTAINER 2 *(-32-56+68) $(-1)
CONTAINER 3 *(-32-56+72) $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val s64min-s64max
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/hwmon.c hwmon_thermal_set_trips() -> (struct hwmon_ops)->write()

Type Parameter Key Value
PARAM_VALUE 1 type 1
PARAM_VALUE 2 attr 5
PARAM_VALUE 4 val (-2147483647)-2147483646
CAPPED_DATA 4 val 1
DATA_SOURCE 4 val $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/hwmon/hwmon.c hwmon_thermal_set_trips() -> (struct hwmon_ops)->write()

Type Parameter Key Value
PARAM_VALUE 1 type 1
PARAM_VALUE 2 attr 7
PARAM_VALUE 4 val (-273998)-2147483646
DATA_SOURCE 4 val $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/hwmon/hwmon.c pec_store() -> (struct hwmon_ops)->write()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 attr 14
PARAM_VALUE 3 channel 0
DATA_SOURCE 0 dev r device_find_child
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex