Lines Matching refs:tocopy
3537 int count, error, i, pos, tocopy;
3541 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
3542 pos += tocopy) {
3543 tocopy = MIN(count, BATCH_SIZE);
3544 error = copyin(upp + pos, uaddrs, tocopy * sizeof(char *));
3547 for (i = 0; i < tocopy; ++i) {
3559 int count, error, i, pos, tocopy;
3563 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
3564 pos += tocopy) {
3565 tocopy = MIN(count, BATCH_SIZE);
3566 error = copyin(upp + pos, uaddrs, tocopy * sizeof(uint32_t));
3569 for (i = 0; i < tocopy; ++i) {