Defined in 9 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/platform/x86/lg-laptop.c battery_care_limit_show() -> charge_control_end_threshold_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 9193053684268810240
PARAM_VALUE 1 attr->attr 558113259116457984
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 device $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
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/base/core.c dev_attr_show() -> (struct device_attribute)->show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $2
CONTAINER 1 -40+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