Home
last modified time | relevance | path

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

/drivers/liteos/hievent/src/
Dhievent_driver.c101 static void HieventBufferInc(size_t sz) in HieventBufferInc() argument
103 if (g_hieventDev.size + sz <= HIEVENT_LOG_BUFFER) { in HieventBufferInc()
104 g_hieventDev.size += sz; in HieventBufferInc()
105 g_hieventDev.writeOffset += sz; in HieventBufferInc()
111 static void HieventBufferDec(size_t sz) in HieventBufferDec() argument
113 if (g_hieventDev.size >= sz) { in HieventBufferDec()
114 g_hieventDev.size -= sz; in HieventBufferDec()
115 g_hieventDev.headOffset += sz; in HieventBufferDec()