Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/power_supply_sysfs.c power_supply_charge_types_parse() -> power_supply_match_string()

Type Parameter Key Value
PARAM_VALUE 0 array 7573714295268548608
PARAM_VALUE 1 n 9
PARAM_VALUE 2 s 4096-ptr_max
BUF_SIZE 0 array 72
DATA_SOURCE 2 s $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 n unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/power/supply/power_supply_sysfs.c power_supply_store_property() -> power_supply_match_string()

Type Parameter Key Value
PARAM_VALUE 1 n 3-6,9,11-13,18
PARAM_VALUE 2 s 4096-ptr_max
DATA_SOURCE 2 s $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