Lines Matching refs:ordered_event
18 static void queue_event(struct ordered_events *oe, struct ordered_event *new)
20 struct ordered_event *last = oe->last;
48 last = list_entry(p, struct ordered_event, list);
58 last = list_entry(p, struct ordered_event, list);
98 #define MAX_SAMPLE_BUFFER (64 * 1024 / sizeof(struct ordered_event))
99 static struct ordered_event *alloc_event(struct ordered_events *oe,
103 struct ordered_event *new = NULL;
141 new = list_entry(cache->next, struct ordered_event, list);
171 static struct ordered_event *
175 struct ordered_event *new;
186 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event)
197 struct ordered_event *oevent;
226 struct ordered_event *tmp, *iter;
258 oe->last = list_entry(head->prev, struct ordered_event, list);
293 struct ordered_event *first, *last;
296 first = list_entry(head->next, struct ordered_event, list);
351 struct ordered_event *event;
356 event = list_first_entry(&oe->events, struct ordered_event, list);