Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/wacom_sys.c wacom_buttons_luminance_store() -> wacom_luminance_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | wacom | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wacom | 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 | wacom | 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/hid/wacom_sys.c wacom_status0_luminance_store() -> wacom_luminance_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | wacom | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wacom | 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 | wacom | 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/hid/wacom_sys.c wacom_status1_luminance_store() -> wacom_luminance_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| BUF_SIZE | 0 | wacom | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wacom | 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 | wacom | 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 |