Lines Matching refs:iDst
651 int iDst = pSG->cSegsAlloc;
654 iDst--;
656 pSG->aSegs[iDst] = pSG->aSegs[iSrc];
661 iSrc = iDst;
662 iDst = 0;
663 while ( iDst < iSrc
664 && iDst < pSG->cSegsAlloc)
666 pSG->aSegs[iDst].Phys = NIL_RTHCPHYS;
667 pSG->aSegs[iDst].pv = pSG->aSegs[iSrc].pv;
668 pSG->aSegs[iDst].cb = RT_MIN(pSG->aSegs[iSrc].cb, VBOXNETFLT_DARWIN_TEST_SEG_SIZE);
669 if (pSG->aSegs[iDst].cb != pSG->aSegs[iSrc].cb)
671 pSG->aSegs[iSrc].cb -= pSG->aSegs[iDst].cb;
672 pSG->aSegs[iSrc].pv = (uint8_t *)pSG->aSegs[iSrc].pv + pSG->aSegs[iDst].cb;
676 pSG->cSegsUsed = iDst + 1;
679 iDst++;