Searched refs:readLen (Results 1 – 1 of 1) sorted by relevance
123 UINT32 readLen; in OsDmesgRead() local137 readLen = len < logSize ? len : logSize; in OsDmesgRead()140 ret = memcpy_s(buf, len, logBuf + head, readLen); in OsDmesgRead()144 g_dmesgInfo->logHead += readLen; in OsDmesgRead()145 g_dmesgInfo->logSize -= readLen; in OsDmesgRead()147 if (readLen <= (g_logBufSize - head)) { in OsDmesgRead()148 ret = memcpy_s(buf, len, logBuf + head, readLen); in OsDmesgRead()152 g_dmesgInfo->logHead += readLen; in OsDmesgRead()153 g_dmesgInfo->logSize -= readLen; in OsDmesgRead()161 logBuf, readLen - (g_logBufSize - head)); in OsDmesgRead()[all …]