Defined in 1 files as a function:

No references found in the database

Smatch caller information:

drivers/hid/hid-oxp.c button_a_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 3156663465528553472
PARAM_VALUE 1 attr->attr 4629440621208997888
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_b_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 5221818044816912384
PARAM_VALUE 1 attr->attr 691679732087209984
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_d_down_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 5596407560307773440
PARAM_VALUE 1 attr->attr 8797084597188939776
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_d_left_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 9146149732088438784
PARAM_VALUE 1 attr->attr 8530506890191908864
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_d_right_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 4212198302999810048
PARAM_VALUE 1 attr->attr 3749773566256541696
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_d_up_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 3937957681667112960
PARAM_VALUE 1 attr->attr 753486482071384064
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_l3_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 201842953263792128
PARAM_VALUE 1 attr->attr 7686016484409294848
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_lb_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 6167683421692743680
PARAM_VALUE 1 attr->attr 1489930357440491520
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_lt_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 4724462431827619840
PARAM_VALUE 1 attr->attr 7015710777066389504
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_m1_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 894694542134202368
PARAM_VALUE 1 attr->attr 2564144619306967040
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_m2_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 1489240716081852416
PARAM_VALUE 1 attr->attr 3547671487853113344
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_r3_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 543795831020130304
PARAM_VALUE 1 attr->attr 6676559925635235840
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_rb_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 2411743956538888192
PARAM_VALUE 1 attr->attr 6304087069360222208
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_rt_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 4047898321737367552
PARAM_VALUE 1 attr->attr 1514444242956980224
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_select_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 1355517865240936448
PARAM_VALUE 1 attr->attr 9013889055263969280
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_start_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 6975892721160941568
PARAM_VALUE 1 attr->attr 6147872645127917568
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_x_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 2555924796530405376
PARAM_VALUE 1 attr->attr 4804538115172569088
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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-oxp.c button_y_store() -> map_button_store()

Type Parameter Key Value
PARAM_VALUE 1 attr 8051186998957686784
PARAM_VALUE 1 attr->attr 2754062793051406336
PARAM_VALUE 1 attr->store 1-u64max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
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