Searched refs:NumBytesToWrite (Results 1 – 1 of 1) sorted by relevance
332 unsigned NumBytesToWrite; in _WriteBlocking() local347 NumBytesToWrite = RdOff - WrOff - 1u; in _WriteBlocking()349 NumBytesToWrite = pRing->SizeOfBuffer - (WrOff - RdOff + 1u); in _WriteBlocking()351 …NumBytesToWrite = MIN(NumBytesToWrite, (pRing->SizeOfBuffer - WrOff)); // Number of bytes tha… in _WriteBlocking()352 NumBytesToWrite = MIN(NumBytesToWrite, NumBytes); in _WriteBlocking()355 NumBytesWritten += NumBytesToWrite; in _WriteBlocking()356 NumBytes -= NumBytesToWrite; in _WriteBlocking()357 WrOff += NumBytesToWrite; in _WriteBlocking()358 while (NumBytesToWrite--) { in _WriteBlocking()362 SEGGER_RTT_MEMCPY(pRing->pBuffer + WrOff, pBuffer, NumBytesToWrite); in _WriteBlocking()[all …]