Home | History | Annotate | Download | only in inc

Lines Matching refs:queue

2  * queue.h, queue
28 struct queue {
34 void __queue_init(struct queue *queue);
35 struct queue *queue_alloc(void);
37 inline void __queue_free(struct queue *queue);
39 void queue_free_all(struct queue *queue);
41 void __queue_push_head(struct queue *queue, struct list *entry);
42 int queue_push_head(struct queue *queue, void *data);
43 void __queue_push_tail(struct queue *queue, struct list *entry);
44 int queue_push_tail(struct queue *queue, void *data);
46 struct list *__queue_pop_head(struct queue *queue);
47 void *queue_pop_head(struct queue *queue);
48 struct list *__queue_pop_tail(struct queue *queue);
49 void *queue_pop_tail(struct queue *queue);
51 inline struct list *__queue_peek_head(struct queue *queue);
52 inline struct list *__queue_peek_tail(struct queue *queue);
53 inline void *queue_peek_head(struct queue *queue);
54 inline void *queue_peek_tail(struct queue *queue);
56 int queue_length(struct queue *queue);