Searched refs:event_head (Results 1 – 3 of 3) sorted by relevance
46 unsigned int event_head; member 165 return q->event_head == q->event_tail; in queue_empty() 176 q->event_head = (q->event_head + 1) % APM_MAX_EVENTS; in queue_add_event() 177 if (q->event_head == q->event_tail) { in queue_add_event() 184 q->events[q->event_head] = event; in queue_add_event()
200 struct list_head event_head; member 208 INIT_LIST_HEAD(&queue->event_head); in init_event_queue()
1865 struct list_head *head = &queue->event_head; in push_gpib_event_nolock() 1921 struct list_head *head = &queue->event_head; in pop_gpib_event_nolock()