Searched refs:curbufsize (Results 1 – 1 of 1) sorted by relevance
257 int buflen, curbufsize, i; in i2c_proc_chips() local271 curbufsize = 0; in i2c_proc_chips()279 if (buflen + curbufsize > *lenp) in i2c_proc_chips()280 buflen = *lenp - curbufsize; in i2c_proc_chips()283 curbufsize += buflen; in i2c_proc_chips()286 *lenp = curbufsize; in i2c_proc_chips()287 filp->f_pos += curbufsize; in i2c_proc_chips()562 int curbufsize = 0; in i2c_write_reals() local564 while ((nr < nrels) && (curbufsize < *bufsize)) { in i2c_write_reals()570 curbufsize++; in i2c_write_reals()[all …]