Lines Matching defs:ind
226 UInt32 type, IOGeneralMemoryDescriptor::Ranges r, UInt32 ind)
233 uio_getiov((uio_t) r.uio, ind, &addr, &us); len = us;
237 IOAddressRange cur = r.v64[ind];
243 IOVirtualRange cur = r.v[ind];
848 for (unsigned ind = 0; ind < count; ind++) {
853 getAddrLenForInd(addr, len, type, vec, ind);
1335 UInt ind, off2Ind = isP->fOffset2Index;
1339 ind = isP->fIndex;
1341 ind = off2Ind = 0; // Start from beginning
1354 for (len = 0; off2Ind <= offset; ind++) {
1355 len = physP[ind].length;
1361 address = physP[ind - 1].address + len - length;
1371 while (ind < _rangesCount && address + length == physP[ind].address) {
1372 len = physP[ind].length;
1375 ind++;
1380 ind--;
1391 for (len = 0; off2Ind <= offset; ind++) {
1392 len = physP[ind].length;
1398 address = physP[ind - 1].address + len - length;
1408 while (ind < _rangesCount && address + length == physP[ind].address) {
1409 len = physP[ind].length;
1412 ind++;
1416 ind--;
1434 while (ind < numIOPLs && offset >= ioplList[ind].fIOMDOffset)
1435 ind++;
1438 ioPLBlock ioplInfo = ioplList[ind - 1];
1441 if (ind < numIOPLs)
1442 length = ioplList[ind].fIOMDOffset;
1489 // This is indicated by pageList[ind].phys_addr being sequential.
1509 isP->fIndex = ind;
2526 for (UInt ind = 0; ind < count; ind++)
2527 if (ioplList[ind].fIOPL) {
2528 upl_commit(ioplList[ind].fIOPL, 0, 0);
2529 upl_deallocate(ioplList[ind].fIOPL);