Defined in 7 files as a function:
- drivers/hwmon/abituguru.c, line 1143 (as a function)
- drivers/hwmon/asc7621.c, line 584 (as a function)
- drivers/hwmon/f71882fg.c, line 1177 (as a function)
- drivers/hwmon/nct6775-core.c, line 2673 (as a function)
- drivers/hwmon/w83627ehf.c, line 849 (as a function)
- drivers/hwmon/w83795.c, line 915 (as a function)
- drivers/hwmon/w83l786ng.c, line 536 (as a function)
Referenced in 6 files:
- drivers/hwmon/abituguru.c, line 1240
- drivers/hwmon/f71882fg.c
- drivers/hwmon/nct6775-core.c, line 3048
- drivers/hwmon/w83627ehf.c, line 1629
- drivers/hwmon/w83795.c, line 1640
- drivers/hwmon/w83l786ng.c
Smatch caller information:
drivers/hwmon/w83627ehf.c w83627ehf_write() -> store_pwm_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | attr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | buf | $3 |
| DATA_SOURCE | 3 | count | $4 |
| PARAM_COMPARE | 1 | attr | == $0->driver_data |
| PARAM_COMPARE | 1 | attr | == $0->driver_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | count | s64min-s64max |
| UNITS | 1 | attr | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/core.c dev_attr_store() -> (struct device_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | count | |
| TERMINATED | 2 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |