Lines Matching refs:ordered_event
18 static void queue_event(struct ordered_events *oe, struct ordered_event *new) in queue_event()
20 struct ordered_event *last = oe->last; in queue_event()
48 last = list_entry(p, struct ordered_event, list); in queue_event()
58 last = list_entry(p, struct ordered_event, list); in queue_event()
98 #define MAX_SAMPLE_BUFFER (64 * 1024 / sizeof(struct ordered_event))
99 static struct ordered_event *alloc_event(struct ordered_events *oe, in alloc_event()
103 struct ordered_event *new = NULL; in alloc_event()
141 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
171 static struct ordered_event *
175 struct ordered_event *new; in ordered_events__new_event()
186 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event) in ordered_events__delete()
197 struct ordered_event *oevent; in ordered_events__queue()
227 struct ordered_event *tmp, *iter; in do_flush()
259 oe->last = list_entry(head->prev, struct ordered_event, list); in do_flush()
294 struct ordered_event *first, *last; in __ordered_events__flush()
297 first = list_entry(head->next, struct ordered_event, list); in __ordered_events__flush()
352 struct ordered_event *event; in ordered_events__first_time()
357 event = list_first_entry(&oe->events, struct ordered_event, list); in ordered_events__first_time()