Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/power/supply/power_supply_sysfs.c, line 619 (as a function)
- include/linux/power_supply.h, line 1038 (as a function)
Referenced in 2 files:
- drivers/platform/x86/lenovo/thinkpad_acpi.c, line 9910
- drivers/power/supply/power_supply_sysfs.c, line 631
Smatch caller information:
drivers/platform/x86/lenovo/thinkpad_acpi.c charge_behaviour_store() -> power_supply_charge_behaviour_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| DATA_SOURCE | 1 | 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 |