Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/msi-wmi-platform.c msi_wmi_platform_ec_init() -> msi_wmi_platform_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wmi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->wmi_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | data->wmi_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wmi_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | data->wmi_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | method | 3 |
| PARAM_VALUE | 2 | input | 4096-ptr_max |
| PARAM_VALUE | 3 | input_length | 32 |
| PARAM_VALUE | 4 | output | 6929254887753732096 |
| PARAM_VALUE | 5 | output_length | 32 |
| BUF_SIZE | 0 | data | 160 |
| BUF_SIZE | 2 | input | 32 |
| BUF_SIZE | 4 | output | 32 |
| DATA_SOURCE | 0 | data | $0 |
| MEM_ZERO | 0 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | input_length | unit_byte |
| UNITS | 5 | output_length | unit_byte |
drivers/platform/x86/msi-wmi-platform.c msi_wmi_platform_init() -> msi_wmi_platform_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wmi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->wmi_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | data->wmi_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | data->wmi_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | data->wmi_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | method | 29 |
| PARAM_VALUE | 2 | input | 4096-ptr_max |
| PARAM_VALUE | 3 | input_length | 32 |
| PARAM_VALUE | 4 | output | 7139510709969686528 |
| PARAM_VALUE | 5 | output_length | 32 |
| BUF_SIZE | 0 | data | 160 |
| BUF_SIZE | 2 | input | 32 |
| BUF_SIZE | 4 | output | 32 |
| DATA_SOURCE | 0 | data | $0 |
| MEM_ZERO | 0 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | input_length | unit_byte |
| UNITS | 5 | output_length | unit_byte |
drivers/platform/x86/msi-wmi-platform.c msi_wmi_platform_read() -> msi_wmi_platform_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | method | 17 |
| PARAM_VALUE | 2 | input | 4096-ptr_max |
| PARAM_VALUE | 3 | input_length | 32 |
| PARAM_VALUE | 4 | output | 9024348357626544128 |
| PARAM_VALUE | 5 | output_length | 32 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | input | 32 |
| BUF_SIZE | 4 | output | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 3 | input_length | unit_byte |
| UNITS | 5 | output_length | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/platform/x86/msi-wmi-platform.c msi_wmi_platform_write() -> msi_wmi_platform_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | input | 2201496371311927296 |
| PARAM_VALUE | 3 | input_length | 0-1000000000,2147479552 |
| PARAM_VALUE | 5 | output_length | 0-1000000000,2147479552 |
| BUF_SIZE | 2 | input | 32 |
| BUF_SIZE | 4 | output | 32 |
| CAPPED_DATA | 3 | input_length | 1 |
| CAPPED_DATA | 3 | input_length | 1 |
| CAPPED_DATA | 5 | output_length | 1 |
| CAPPED_DATA | 5 | output_length | 1 |
| LOCK2 | &data->buffer_lock | ||
| TYPE_LOCK | (struct msi_wmi_platform_debugfs_data)->buffer_lock |