Home | History | Annotate | Download | only in emul

Lines Matching refs:upto

83 	int upto, todo;
97 for (upto = 0; *ptr && upto < length; ptr++, upto += todo) {
98 todo = min(length - upto, (int)(*ptr)->bLength);
100 memcpy(buffer + upto, *ptr, todo);
103 return upto ? upto : length ? -EIO : 0;
265 int upto;
272 for (cdesc = NULL, upto = 0; *ptr; upto += (*ptr)->bLength, ptr++) {
273 debug(" - upto=%d, type=%d\n", upto, (*ptr)->bDescriptorType);
276 cdesc->wTotalLength = upto;
282 upto = 0;
286 cdesc->wTotalLength = upto;