Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/power/supply/power_supply_sysfs.c power_supply_show_charge_behaviour() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
PARAM_VALUE 1 psp 38
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

drivers/power/supply/power_supply_sysfs.c power_supply_show_charge_types() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
PARAM_VALUE 1 psp 2
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

drivers/power/supply/power_supply_core.c __power_supply_get_property() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->num_properties 1-3,5
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
DATA_SOURCE 1 psp $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &tzd->lock

drivers/power/supply/power_supply_core.c __power_supply_set_property() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->num_properties 1-3,5
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
DATA_SOURCE 1 psp $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &of->mutex

drivers/power/supply/power_supply_core.c power_supply_has_property() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->num_properties 1-3,5
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
DATA_SOURCE 1 psp $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/power/supply/power_supply_core.c power_supply_property_is_writeable() -> power_supply_ext_has_property()

Type Parameter Key Value
PARAM_VALUE 0 psy_ext->num_properties 1-3,5
PARAM_VALUE 0 psy_ext->properties 4096-ptr_max
PARAM_VALUE 1 psp 0-64,66-s32max
CAPPED_DATA 1 psp 1
DATA_SOURCE 1 psp $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock