Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/input/evdev.c evdev_do_ioctl() -> evdev_handle_get_val()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->evdev 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 type 1
PARAM_VALUE 4 maxbit 767
PARAM_VALUE 5 maxlen 0-16383
PARAM_VALUE 7 compat 0-1
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 3 bits 96
DATA_SOURCE 6 p $2
DATA_SOURCE 7 compat $3
HARD_MAX 7 compat 1
USER_DATA 5 maxlen 0-16383[c]
LOCK2 &evdev->mutex
TYPE_LOCK (struct evdev)->mutex

drivers/input/evdev.c evdev_do_ioctl() -> evdev_handle_get_val()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->evdev 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 type 17
PARAM_VALUE 4 maxbit 15
PARAM_VALUE 5 maxlen 0-16383
PARAM_VALUE 7 compat 0-1
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
DATA_SOURCE 6 p $2
DATA_SOURCE 7 compat $3
HARD_MAX 7 compat 1
USER_DATA 5 maxlen 0-16383[c]
LOCK2 &evdev->mutex
TYPE_LOCK (struct evdev)->mutex

drivers/input/evdev.c evdev_do_ioctl() -> evdev_handle_get_val()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->evdev 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 type 18
PARAM_VALUE 4 maxbit 7
PARAM_VALUE 5 maxlen 0-16383
PARAM_VALUE 7 compat 0-1
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
DATA_SOURCE 6 p $2
DATA_SOURCE 7 compat $3
HARD_MAX 7 compat 1
USER_DATA 5 maxlen 0-16383[c]
LOCK2 &evdev->mutex
TYPE_LOCK (struct evdev)->mutex

drivers/input/evdev.c evdev_do_ioctl() -> evdev_handle_get_val()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->evdev 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 type 5
PARAM_VALUE 4 maxbit 17
PARAM_VALUE 5 maxlen 0-16383
PARAM_VALUE 7 compat 0-1
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
DATA_SOURCE 6 p $2
DATA_SOURCE 7 compat $3
HARD_MAX 7 compat 1
USER_DATA 5 maxlen 0-16383[c]
LOCK2 &evdev->mutex
TYPE_LOCK (struct evdev)->mutex