Searched refs:g_logBufSize (Results 1 – 1 of 1) sorted by relevance
64 #define BUF_MAX_INDEX (g_logBufSize - 1)69 STATIC UINT32 g_logBufSize = 0; variable109 if (g_dmesgInfo->logSize > g_logBufSize) { in OsCheckError()113 if (((g_dmesgInfo->logSize == g_logBufSize) || (g_dmesgInfo->logSize == 0)) && in OsCheckError()147 if (readLen <= (g_logBufSize - head)) { in OsDmesgRead()155 ret = memcpy_s(buf, len, logBuf + head, g_logBufSize - head); in OsDmesgRead()160 ret = memcpy_s(buf + g_logBufSize - head, len - (g_logBufSize - head), in OsDmesgRead()161 logBuf, readLen - (g_logBufSize - head)); in OsDmesgRead()165 g_dmesgInfo->logHead = readLen - (g_logBufSize - head); in OsDmesgRead()241 g_logBufSize = size - sizeof(DmesgInfo); in OsDmesgResetMem()[all …]