Searched refs:smaplog_head (Results 1 – 1 of 1) sorted by relevance
114 static uint32_t smaplog_head = 0; variable123 index = smaplog_head; in smaplog_add_entry()124 } while (!OSCompareAndSwap(index, (index + 1) % SMAPLOG_BUFFER_SIZE, &smaplog_head)); in smaplog_add_entry()127 assert(smaplog_head < SMAPLOG_BUFFER_SIZE); in smaplog_add_entry()