Searched refs:rdwr_pa (Results 1 – 1 of 1) sorted by relevance
444 struct i2c_msg *rdwr_pa; in i2cdev_ioctl() local462 rdwr_pa = memdup_array_user(rdwr_arg.msgs, in i2cdev_ioctl()464 if (IS_ERR(rdwr_pa)) in i2cdev_ioctl()465 return PTR_ERR(rdwr_pa); in i2cdev_ioctl()467 res = i2cdev_ioctl_rdwr(client, rdwr_arg.nmsgs, rdwr_pa); in i2cdev_ioctl()468 kfree(rdwr_pa); in i2cdev_ioctl()541 struct i2c_msg *rdwr_pa; in compat_i2cdev_ioctl() local555 rdwr_pa = kmalloc_array(rdwr_arg.nmsgs, sizeof(struct i2c_msg), in compat_i2cdev_ioctl()557 if (!rdwr_pa) in compat_i2cdev_ioctl()564 kfree(rdwr_pa); in compat_i2cdev_ioctl()[all …]