Lines Matching refs:list
30 list_add(&new->list, &oe->events); in queue_event()
42 p = last->list.next; in queue_event()
44 list_add_tail(&new->list, &oe->events); in queue_event()
48 last = list_entry(p, struct ordered_event, list); in queue_event()
50 list_add_tail(&new->list, &last->list); in queue_event()
53 p = last->list.prev; in queue_event()
55 list_add(&new->list, &oe->events); in queue_event()
58 last = list_entry(p, struct ordered_event, list); in queue_event()
60 list_add(&new->list, &last->list); in queue_event()
141 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
142 list_del_init(&new->list); in alloc_event()
158 list_add(&oe->buffer->list, &oe->to_free); in alloc_event()
188 list_move(&event->list, &oe->cache); in ordered_events__delete()
238 list_for_each_entry_safe(iter, tmp, head, list) { in do_flush()
258 oe->last = list_entry(head->prev, struct ordered_event, list); in do_flush()
296 first = list_entry(head->next, struct ordered_event, list); in __ordered_events__flush()
356 event = list_first_entry(&oe->events, struct ordered_event, list); in ordered_events__first_time()
398 list_del_init(&oe->buffer->list); in ordered_events__free()
403 list_for_each_entry_safe(buffer, tmp, &oe->to_free, list) { in ordered_events__free()
404 list_del_init(&buffer->list); in ordered_events__free()