Lines Matching refs:internalState
842 IODMACommandInternal * internalState = fInternalState;
855 UInt64 offset = *offsetP + internalState->fPreparedOffset;
856 UInt64 memLength = internalState->fPreparedOffset + internalState->fPreparedLength;
861 if ((offset == internalState->fPreparedOffset) || (offset != state->fOffset) || internalState->fNewMD) {
864 internalState->fNextRemapIndex = 0;
865 internalState->fNewMD = false;
891 if (internalState->fCopyContig && (kWalkClient & op))
893 state->fIOVMAddr = ptoa_64(internalState->fCopyPageAlloc)
894 + offset - internalState->fPreparedOffset;
900 internalState->fCopyMD ? internalState->fCopyMD : fMemory;
937 if (internalState->fCursor)
959 ptoa_64(internalState->fCopyPageAlloc + internalState->fNextRemapIndex)))
962 curSeg.fIOVMAddr = ptoa_64(internalState->fCopyPageAlloc + internalState->fNextRemapIndex)
964 internalState->fNextRemapIndex += atop_64(round_page(curSeg.fLength));
966 else for (UInt checkRemapIndex = 0; checkRemapIndex < internalState->fCopyPageCount; checkRemapIndex++)
969 ptoa_64(internalState->fCopyPageAlloc + checkRemapIndex)))
971 curSeg.fIOVMAddr = ptoa_64(internalState->fCopyPageAlloc + checkRemapIndex)
973 internalState->fNextRemapIndex = checkRemapIndex + atop_64(round_page(curSeg.fLength));
993 if (internalState->fCursor
1028 *offsetP = offset - internalState->fPreparedOffset;