Lines Matching defs:ind
304 UInt32 type, IOGeneralMemoryDescriptor::Ranges r, UInt32 ind)
311 uio_getiov((uio_t) r.uio, ind, &addr, &us); len = us;
314 IOAddressRange cur = r.v64[ind];
319 IOVirtualRange cur = r.v[ind];
939 for (unsigned ind = 0; ind < count; ind++) {
944 getAddrLenForInd(addr, len, type, vec, ind);
1243 UInt ind, off2Ind = isP->fOffset2Index;
1247 ind = isP->fIndex;
1249 ind = off2Ind = 0; // Start from beginning
1260 for (len = 0; off2Ind <= offset; ind++) {
1261 len = physP[ind].length;
1267 address = physP[ind - 1].address + len - length;
1270 while (ind < _rangesCount && address + length == physP[ind].address) {
1271 len = physP[ind].length;
1274 ind++;
1278 ind--;
1288 for (len = 0; off2Ind <= offset; ind++) {
1289 len = physP[ind].length;
1295 address = physP[ind - 1].address + len - length;
1298 while (ind < _rangesCount && address + length == physP[ind].address) {
1299 len = physP[ind].length;
1302 ind++;
1306 ind--;
1323 while (ind < numIOPLs && offset >= ioplList[ind].fIOMDOffset)
1324 ind++;
1327 ioPLBlock ioplInfo = ioplList[ind - 1];
1330 if (ind < numIOPLs)
1331 length = ioplList[ind].fIOMDOffset;
1374 // This is indicated by pageList[ind].phys_addr being sequential.
1394 isP->fIndex = ind;
2082 for (UInt ind = 0; ind < count; ind++)
2083 if (ioplList[ind].fIOPL) {
2084 upl_commit(ioplList[ind].fIOPL, 0, 0);
2085 upl_deallocate(ioplList[ind].fIOPL);