Lines Matching refs:tocopy
3421 int count, error, i, pos, tocopy;
3425 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
3426 pos += tocopy) {
3427 tocopy = MIN(count, BATCH_SIZE);
3428 error = copyin(upp + pos, uaddrs, tocopy * sizeof(char *));
3431 for (i = 0; i < tocopy; ++i)
4288 int count, error, i, pos, tocopy;
4292 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
4293 pos += tocopy) {
4294 tocopy = MIN(count, BATCH_SIZE);
4295 error = copyin(upp + pos, uaddrs, tocopy * sizeof(uint32_t));
4298 for (i = 0; i < tocopy; ++i)