• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/

Lines Matching refs:fLength

323     length = segment.fLength;
618 length = fMDSummary.fLength;
626 poMD->performOperation(kIOMemoryIncoherentIOStore, 0, fMDSummary.fLength);
690 poMD->performOperation(kIOMemoryIncoherentIOFlush, 0, fMDSummary.fLength);
756 UInt64 length = min(segment.fLength, context->remaining);
889 state->fLength = memLength - offset;
907 assert(state->fLength);
910 state->fIOVMAddr = state->fLength = 0; // At end
916 UInt64 length = state->fLength;
920 curSeg.fLength = length;
923 else if ((curSeg.fIOVMAddr + curSeg.fLength == state->fIOVMAddr)) {
924 UInt64 length = state->fLength;
926 curSeg.fLength += length;
935 if ((curSeg.fIOVMAddr + curSeg.fLength - 1) > maxPhys)
948 DEBG("trunc %qx, %qx-> %qx\n", curSeg.fIOVMAddr, curSeg.fLength, newLength);
949 remain = curSeg.fLength - newLength;
951 curSeg.fLength = newLength;
952 state->fLength = remain;
957 DEBG("sparse switch %qx, %qx ", curSeg.fIOVMAddr, curSeg.fLength);
964 internalState->fNextRemapIndex += atop_64(round_page(curSeg.fLength));
973 internalState->fNextRemapIndex = checkRemapIndex + atop_64(round_page(curSeg.fLength));
977 DEBG("-> %qx, %qx\n", curSeg.fIOVMAddr, curSeg.fLength);
982 if (curSeg.fLength > fMaxSegmentSize)
984 UInt64 remain = curSeg.fLength - fMaxSegmentSize;
987 curSeg.fLength = fMaxSegmentSize;
989 state->fLength = remain;
1003 curSeg.fLength -= (offset - memLength);
1005 state->fIOVMAddr = state->fLength = 0; // At end
1042 && ((segment.fIOVMAddr + segment.fLength - 1) >> target->fNumAddressBits))
1044 DEBG("kIOReturnMessageTooLarge(fNumAddressBits) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1050 DEBG("kIOReturnMessageTooLarge(fOutSeg) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1063 base[outSegIndex].fLength = (UInt32) segment.fLength;
1074 OSWriteBigInt32(vSegList, offLen, (UInt32) segment.fLength);
1085 OSWriteLittleInt32(vSegList, offLen, (UInt32) segment.fLength);
1105 OSWriteBigInt64(vSegList, offLen, (UInt64) segment.fLength);
1116 OSWriteLittleInt64(vSegList, offLen, (UInt64) segment.fLength);