Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/power_supply_core.c __power_supply_am_i_supplied() -> (struct power_supply_desc)->get_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | psp | 5 |
| PARAM_VALUE | 2 | val | 4140008905613807616 |
| PARAM_VALUE | 2 | val->intval | 0 |
| PARAM_VALUE | 2 | val->strval | 0 |
| DATA_SOURCE | 0 | psy | $0 |
| CONTAINER | 0 | -40-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &device_links_lock | ||
| HALF_LOCKED2 | global ®ulator_list_mutex |
drivers/power/supply/power_supply_core.c __power_supply_get_property() -> (struct power_supply_desc)->get_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc->num_properties | 1-u64max |
| PARAM_VALUE | 0 | psy->use_cnt.counter | 1-s32max |
| BUF_SIZE | 0 | psy | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,280-8440 |
| BUF_SIZE | 0 | psy | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,280-8440 |
| CAPPED_DATA | 0 | psy->desc->num_properties | 1 |
| CAPPED_DATA | 1 | psp | 1 |
| DATA_SOURCE | 0 | psy | $0 |
| DATA_SOURCE | 1 | psp | $1 |
| DATA_SOURCE | 2 | val | $2 |
| CONTAINER | 0 | -40-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/power_supply_core.c __power_supply_is_system_supplied() -> (struct power_supply_desc)->get_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | psp | 67 |
| PARAM_VALUE | 2 | val | 3209253917302685696 |
| PARAM_VALUE | 2 | val->intval | 0 |
| PARAM_VALUE | 2 | val->strval | 0 |
| DATA_SOURCE | 0 | psy | $0 |
| CONTAINER | 0 | -40-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &device_links_lock | ||
| HALF_LOCKED2 | global ®ulator_list_mutex |
drivers/power/supply/power_supply_core.c __power_supply_is_system_supplied() -> (struct power_supply_desc)->get_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psy | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | psy->desc->type | 0,2-u32max |
| PARAM_VALUE | 1 | psp | 5 |
| PARAM_VALUE | 2 | val | 3209253917302685696 |
| PARAM_VALUE | 2 | val->intval | 0 |
| PARAM_VALUE | 2 | val->strval | 0 |
| DATA_SOURCE | 0 | psy | $0 |
| CONTAINER | 0 | -40-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &device_links_lock | ||
| HALF_LOCKED2 | global ®ulator_list_mutex |