Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/power_supply_sysfs.c dev_attr_psp() -> to_ps_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | (-1),56 |
| BUF_SIZE | 0 | attr | (-1),56 |
| DATA_SOURCE | 0 | attr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/power_supply_sysfs.c power_supply_format_property() -> to_ps_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | (-1),56 |
| BUF_SIZE | 0 | attr | (-1),56 |
| DATA_SOURCE | 0 | attr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/power_supply_sysfs.c power_supply_store_property() -> to_ps_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $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 |