Defined in 1 files as a prototype:
Referenced in 2 files:
Smatch caller information:
drivers/platform/x86/lenovo/wmi-other.c attr_capdata01_show() -> lwmi_cd01_get_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | output | 1535757107056009216 |
| DATA_SOURCE | 1 | attribute_id | r tunable_attr_01_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/lenovo/wmi-other.c attr_current_value_store() -> lwmi_cd01_get_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | output | 7631106429206560768 |
| DATA_SOURCE | 1 | attribute_id | r tunable_attr_01_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/lenovo/wmi-other.c lwmi_attr_01_is_supported() -> lwmi_cd01_get_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list->count | 0-255 |
| PARAM_VALUE | 0 | list->type | s32min-s32max |
| PARAM_VALUE | 2 | output | 7896041772360617984 |
| DATA_SOURCE | 1 | attribute_id | r tunable_attr_01_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &component_mutex |