Home
last modified time | relevance | path

Searched refs:HIEVENT_LOG_BUFFER (Results 1 – 1 of 1) sorted by relevance

/drivers/liteos/hievent/src/
Dhievent_driver.c56 #define HIEVENT_LOG_BUFFER 1024 macro
82 if (g_hieventDev.headOffset > HIEVENT_LOG_BUFFER) { in HieventBufferHead()
83 g_hieventDev.headOffset = g_hieventDev.headOffset % HIEVENT_LOG_BUFFER; in HieventBufferHead()
103 if (g_hieventDev.size + sz <= HIEVENT_LOG_BUFFER) { in HieventBufferInc()
106 g_hieventDev.writeOffset %= HIEVENT_LOG_BUFFER; in HieventBufferInc()
116 g_hieventDev.headOffset %= HIEVENT_LOG_BUFFER; in HieventBufferDec()
146 size_t bufLeft = HIEVENT_LOG_BUFFER - g_hieventDev.headOffset; in HieventReadRingBuffer()
219 size_t bufLeft = HIEVENT_LOG_BUFFER - g_hieventDev.writeOffset; in HieventWriteRingBuffer()
226 retval = HieventBufferCopy(g_hieventDev.buffer, HIEVENT_LOG_BUFFER, in HieventWriteRingBuffer()
258 while (totalSize + g_hieventDev.size > HIEVENT_LOG_BUFFER) { in HieventCoverOldLog()
[all …]