Searched refs:curSeg (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/iokit/Kernel/ |
| H A D | IOMemoryCursor.cpp | 137 PhysicalSegment curSeg = { 0, 0 }; in genPhysicalSegments() local 152 if (!curSeg.location) { in genPhysicalSegments() 154 curSeg = seg; in genPhysicalSegments() 156 } else if ((curSeg.location + curSeg.length == seg.location)) { in genPhysicalSegments() 158 curSeg.length += seg.length; in genPhysicalSegments() 163 if ((curSeg.length > maxSegmentSize)) { in genPhysicalSegments() 165 seg.length = curSeg.length - maxSegmentSize; in genPhysicalSegments() 167 curSeg.length -= seg.length; in genPhysicalSegments() 182 curSeg.location = 0; in genPhysicalSegments() 186 if (curSeg.location) { in genPhysicalSegments() [all …]
|
| H A D | IODMACommand.cpp | 1451 if (curSegValid && ((curSeg.fIOVMAddr + curSeg.fLength) == state->fIOVMAddr)) { in genIOVMSegments() 1476 if ((kWalkClient & op) && (curSeg.fIOVMAddr + curSeg.fLength - 1) > maxPhys) { in genIOVMSegments() 1485 DEBG("trunc %qx, %qx-> %qx\n", curSeg.fIOVMAddr, curSeg.fLength, newLength); in genIOVMSegments() 1527 DEBG("-> %qx, %qx offset %qx\n", curSeg.fIOVMAddr, curSeg.fLength, offset); in genIOVMSegments() 1538 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments() 1548 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments() 1558 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments() 1565 curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments() 1584 DEBG("cursor misaligned %qx:%qx\n", curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments() 1606 IOLog("DMA[%p] outseg 0x%qx, 0x%qx\n", this, curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments() [all …]
|