Searched refs:nmsgs (Results 1 – 1 of 1) sorted by relevance
1683 u32 nmsgs; member1705 int nmsgs, i; in do_i2c_rdwr_ioctl() local1707 if (get_user(nmsgs, &udata->nmsgs)) in do_i2c_rdwr_ioctl()1709 if (nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) in do_i2c_rdwr_ioctl()1717 nmsgs * sizeof(struct i2c_msg)); in do_i2c_rdwr_ioctl()1720 if (put_user(nmsgs, &tdata->cmd.nmsgs) || in do_i2c_rdwr_ioctl()1724 for (i = 0; i < nmsgs; i++) { in do_i2c_rdwr_ioctl()