Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-lenovo-go.c cal_gyro_left_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 8603058315556950016
PARAM_VALUE 1 attr->attr 7829502268462301184
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 14
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 3
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 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 cal_gyro_right_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 7411583220158234624
PARAM_VALUE 1 attr->attr 7829502268462301184
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 14
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 4
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 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 cal_joy_left_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 4036500341104119808
PARAM_VALUE 1 attr->attr 6923076372058996736
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 12
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 3
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 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 cal_joy_right_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 3857870358319362048
PARAM_VALUE 1 attr->attr 6923076372058996736
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 12
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 4
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 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 cal_trigg_left_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 2075783728419004416
PARAM_VALUE 1 attr->attr 6092133307654582272
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 10
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 3
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 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 cal_trigg_right_store() -> calibrate_config_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 6451755898292596736
PARAM_VALUE 1 attr->attr 6092133307654582272
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 4 sub_cmd 10
PARAM_VALUE 5 count 1-1000000000
PARAM_VALUE 6 device_type 4
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 5 count $3
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf5 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex