Lines Matching defs:logBuf
127 CHAR *logBuf = g_dmesgInfo->logBuf;
140 ret = memcpy_s(buf, len, logBuf + head, readLen);
148 ret = memcpy_s(buf, len, logBuf + head, readLen);
155 ret = memcpy_s(buf, len, logBuf + head, g_logBufSize - head);
161 logBuf, readLen - (g_logBufSize - head));
243 g_dmesgInfo->logBuf = (CHAR *)addr + sizeof(DmesgInfo);
291 g_dmesgInfo->logBuf = (CHAR *)newString + sizeof(DmesgInfo);
337 g_dmesgInfo->logBuf = buffer + sizeof(DmesgInfo);
345 *(g_dmesgInfo->logBuf + g_dmesgInfo->logTail++) = c;
377 CHAR *buf = g_dmesgInfo->logBuf;
432 CHAR *buf = g_dmesgInfo->logBuf;
466 CHAR *buf = g_dmesgInfo->logBuf;
540 *(p + i) = *(g_dmesgInfo->logBuf + index++);
617 (VOID)memset_s(g_dmesgInfo->logBuf, g_logBufSize, 0, g_logBufSize);
675 CHAR *logBuf = NULL;
686 logBuf = g_dmesgInfo->logBuf;
700 ret = memcpy_s(buf, logSize, logBuf + head, logSize);
705 ret = memcpy_s(buf, logSize, logBuf + head, bufSize - head);
709 ret = memcpy_s(buf + bufSize - head, logSize - (bufSize - head), logBuf, tail);