Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/i2c/i2c-dev.c compat_i2cdev_ioctl() -> i2cdev_ioctl_rdwr()

Type Parameter Key Value
PARAM_VALUE 1 nmsgs 1-42
PARAM_VALUE 2 msgs 4096-ptr_max
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 2 msgs 16-672
BUF_SIZE 2 msgs 16-672
CAPPED_DATA 1 nmsgs 1
DATA_SOURCE 2 msgs r _kmalloc_noprof
FUZZY_MAX 1 nmsgs 42
HARD_MAX 1 nmsgs 42
USER_DATA 1 nmsgs 1-42[c]
UNITS 1 nmsgs unit_array_size

drivers/i2c/i2c-dev.c i2cdev_ioctl() -> i2cdev_ioctl_rdwr()

Type Parameter Key Value
PARAM_VALUE 1 nmsgs 1-42
PARAM_VALUE 2 msgs 1-ptr_max
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 0 client s32min-(-2),1-s32max
BUF_SIZE 2 msgs 16
DATA_SOURCE 2 msgs r memdup_array_user
FUZZY_MAX 1 nmsgs 42
HARD_MAX 1 nmsgs 42
USER_DATA 1 nmsgs 1-42
USER_DATA 2 msgs->addr 0-u16max
USER_DATA 2 msgs->flags 0-u16max
USER_DATA 2 msgs->len 0-u16max
USER_DATA 2 *msgs s64min-s64max
USER_PTR 2 msgs