Home
last modified time | relevance | path

Searched refs:tdata (Results 1 – 1 of 1) sorted by relevance

/fs/
Dcompat_ioctl.c1701 struct i2c_rdwr_aligned __user *tdata; in do_i2c_rdwr_ioctl() local
1716 tdata = compat_alloc_user_space(sizeof(*tdata) + in do_i2c_rdwr_ioctl()
1718 tmsgs = &tdata->msgs[0]; in do_i2c_rdwr_ioctl()
1720 if (put_user(nmsgs, &tdata->cmd.nmsgs) || in do_i2c_rdwr_ioctl()
1721 put_user(tmsgs, &tdata->cmd.msgs)) in do_i2c_rdwr_ioctl()
1731 return sys_ioctl(fd, cmd, (unsigned long)tdata); in do_i2c_rdwr_ioctl()
1736 struct i2c_smbus_ioctl_data __user *tdata; in do_i2c_smbus_ioctl() local
1740 tdata = compat_alloc_user_space(sizeof(*tdata)); in do_i2c_smbus_ioctl()
1741 if (tdata == NULL) in do_i2c_smbus_ioctl()
1743 if (!access_ok(VERIFY_WRITE, tdata, sizeof(*tdata))) in do_i2c_smbus_ioctl()
[all …]