Searched refs:event_tail (Results 1 – 1 of 1) sorted by relevance
53 unsigned int event_tail; member174 return q->event_head == q->event_tail; in queue_empty()179 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_get_event()180 return q->events[q->event_tail]; in queue_get_event()186 if (q->event_head == q->event_tail) { in queue_add_event()191 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_add_event()