Searched refs:SMAPLOG_BUFFER_SIZE (Results 1 – 1 of 1) sorted by relevance
112 #define SMAPLOG_BUFFER_SIZE (50) macro113 static smaplog_entry_t smaplog_cbuf[SMAPLOG_BUFFER_SIZE];124 } while (!OSCompareAndSwap(index, (index + 1) % SMAPLOG_BUFFER_SIZE, &smaplog_head)); in smaplog_add_entry()126 assert(index < SMAPLOG_BUFFER_SIZE); in smaplog_add_entry()127 assert(smaplog_head < SMAPLOG_BUFFER_SIZE); in smaplog_add_entry()