Lines Matching refs:to_copy
276 int to_copy = XEN_NUM_GREFS_PER_PAGE;
278 if (to_copy > grefs_left)
279 to_copy = grefs_left;
281 for (cur_gref = 0; cur_gref < to_copy; cur_gref++) {
292 grefs_left -= to_copy;
362 int cur_gref, grefs_left, to_copy, i, num_pages_dir;
378 to_copy = grefs_left;
381 to_copy = XEN_NUM_GREFS_PER_PAGE;
385 to_copy * sizeof(grant_ref_t));
387 grefs_left -= to_copy;
388 cur_gref += to_copy;