Defined in 1 files as a function:
No references found in the database
Smatch caller information:
drivers/hid/hid-lenovo-go.c auto_sleep_time_left_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4446486553707532288 |
| PARAM_VALUE | 1 | attr->attr | 4989351243313528832 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 3 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c auto_sleep_time_right_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3529252232793128960 |
| PARAM_VALUE | 1 | attr->attr | 4989351243313528832 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 4 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c gamepad_mode_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 6436146656996519936 |
| PARAM_VALUE | 1 | attr->attr | 5987828078236520448 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 0 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c imu_bypass_left_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5686507746339782656 |
| PARAM_VALUE | 1 | attr->attr | 5039463697786707968 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 3 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c imu_bypass_right_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 6420716968789282816 |
| PARAM_VALUE | 1 | attr->attr | 5039463697786707968 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 4 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c imu_enabled_left_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5709194990000439296 |
| PARAM_VALUE | 1 | attr->attr | 5455345495914315776 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 3 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c imu_enabled_right_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 112019052984115200 |
| PARAM_VALUE | 1 | attr->attr | 5455345495914315776 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 4 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c reset_left_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 525448318969864192 |
| PARAM_VALUE | 1 | attr->attr | 3361649541988134912 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 3 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c reset_mcu_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3864730393320054784 |
| PARAM_VALUE | 1 | attr->attr | 850801976390299648 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 1 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c reset_right_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8079256581971083264 |
| PARAM_VALUE | 1 | attr->attr | 3361649541988134912 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 3 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c rgb_enabled_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4402698493229977600 |
| PARAM_VALUE | 1 | attr->attr | 3698163723416629248 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 0 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |
drivers/hid/hid-lenovo-go.c touchpad_enabled_store() -> feature_status_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7078139133874290688 |
| PARAM_VALUE | 1 | attr->attr | 3698163723416629248 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| PARAM_VALUE | 5 | device_type | 0 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| NOSPEC | 3 | count | |
| 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 |