Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/msi-ec.c charge_control_end_threshold_store() -> charge_control_threshold_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0,128 |
| PARAM_VALUE | 2 | attr | 2139548043333353472 |
| PARAM_VALUE | 2 | attr->attr | 955417713562365952 |
| PARAM_VALUE | 2 | attr->store | 1-u64max |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 1-1000000000 |
| CAPPED_DATA | 4 | count | 1 |
| CAPPED_DATA | 4 | count | 1 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 2 | attr | $1 |
| DATA_SOURCE | 3 | buf | $2 |
| DATA_SOURCE | 4 | count | $3 |
| NOSPEC | 4 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 3 | ==buf4 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/msi-ec.c charge_control_start_threshold_store() -> charge_control_threshold_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0,138 |
| PARAM_VALUE | 2 | attr | 4050564158096523264 |
| PARAM_VALUE | 2 | attr->attr | 5052077458459406336 |
| PARAM_VALUE | 2 | attr->store | 1-u64max |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 1-1000000000 |
| CAPPED_DATA | 4 | count | 1 |
| CAPPED_DATA | 4 | count | 1 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 2 | attr | $1 |
| DATA_SOURCE | 3 | buf | $2 |
| DATA_SOURCE | 4 | count | $3 |
| NOSPEC | 4 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 3 | ==buf4 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |