Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/asus-wmi.c store_als_enable() -> store_sys_wmi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devid | 327681 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | asus | unit_byte |
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-wmi.c store_camera() -> store_sys_wmi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devid | 393235 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | asus | unit_byte |
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-wmi.c store_cardr() -> store_sys_wmi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devid | 524307 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | asus | unit_byte |
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-wmi.c store_lid_resume() -> store_sys_wmi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devid | 1179697 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | asus | unit_byte |
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/asus-wmi.c store_touchpad() -> store_sys_wmi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devid | 1048593 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | asus | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | asus | unit_byte |
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |