Lines Matching refs:queue
132 struct queue { struct
140 static void queue_init(struct queue *q) in queue_init() argument
155 static unsigned queue_size(struct queue *q) in queue_size()
160 static bool queue_empty(struct queue *q) in queue_empty()
168 static void queue_push(struct queue *q, unsigned level, struct list_head *elt) in queue_push()
174 static void queue_remove(struct queue *q, struct list_head *elt) in queue_remove()
180 static bool is_sentinel(struct queue *q, struct list_head *h) in is_sentinel()
189 static struct list_head *queue_peek(struct queue *q) in queue_peek()
202 static struct list_head *queue_pop(struct queue *q) in queue_pop()
217 static struct list_head *queue_pop_old(struct queue *q) in queue_pop_old()
245 static struct list_head *writeback_sentinel(struct queue *q, unsigned level) in writeback_sentinel()
253 static void queue_update_writeback_sentinels(struct queue *q) in queue_update_writeback_sentinels()
275 static void queue_tick(struct queue *q) in queue_tick()
286 static void queue_iterate_tick(struct queue *q, iter_fn fn, void *context) in queue_iterate_tick()
439 struct queue pre_cache;
440 struct queue cache_clean;
441 struct queue cache_dirty;
589 static struct entry *pop(struct mq_policy *mq, struct queue *q) in pop()
603 static struct entry *pop_old(struct mq_policy *mq, struct queue *q) in pop_old()
617 static struct entry *peek(struct queue *q) in peek()
1120 static int mq_save_hints(struct mq_policy *mq, struct queue *q, in mq_save_hints()