Lines Matching refs:to_copy
285 int to_copy = XEN_NUM_GREFS_PER_PAGE;
287 if (to_copy > grefs_left)
288 to_copy = grefs_left;
290 for (cur_gref = 0; cur_gref < to_copy; cur_gref++) {
301 grefs_left -= to_copy;
364 int cur_gref, grefs_left, to_copy, i, num_pages_dir;
380 to_copy = grefs_left;
383 to_copy = XEN_NUM_GREFS_PER_PAGE;
387 to_copy * sizeof(grant_ref_t));
389 grefs_left -= to_copy;
390 cur_gref += to_copy;