Lines Matching defs:cur
483 unsigned int cur = 0;
492 while (cur < batch->end) {
494 next_iova + batch->npfns[cur] * PAGE_SIZE -
499 PFN_PHYS(batch->pfns[cur]) + page_offset,
503 PFN_PHYS(batch->pfns[cur]) + page_offset,
510 cur++;
628 unsigned int cur = 0;
631 if (batch->npfns[cur] > first_page_off)
633 first_page_off -= batch->npfns[cur];
634 cur++;
639 batch->npfns[cur] - first_page_off);
642 pfn_to_page(batch->pfns[cur] + first_page_off),
645 cur++;
672 unsigned int cur = 0;
674 while (cur < batch->end) {
677 copy_data_page(pfn_to_page(batch->pfns[cur] + npage), data,
684 if (npage == batch->npfns[cur]) {
686 cur++;