Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/intel/int340x_thermal/platform_temperature_control.c enable_store() -> ptc_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 4096-ptr_max |
| 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 |
| PARAM_COMPARE | 0 | data | > $2 |
| PARAM_COMPARE | 2 | attr | < $0 |
| PARAM_COMPARE | 2 | attr | < $0 |
| 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/thermal/intel/int340x_thermal/platform_temperature_control.c temperature_target_store() -> ptc_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 4096-ptr_max |
| 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 |
| PARAM_COMPARE | 0 | data | > $2 |
| PARAM_COMPARE | 2 | attr | < $0 |
| PARAM_COMPARE | 2 | attr | < $0 |
| 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/thermal/intel/int340x_thermal/platform_temperature_control.c thermal_tolerance_store() -> ptc_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 4096-ptr_max |
| 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 |
| PARAM_COMPARE | 0 | data | > $2 |
| PARAM_COMPARE | 2 | attr | < $0 |
| PARAM_COMPARE | 2 | attr | < $0 |
| 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 |