Lines Matching refs:queue_entry_t
89 * "queue_entry_t" within this module.
104 typedef struct queue_entry *queue_entry_t;
123 queue_entry_t elt);
128 queue_entry_t elt);
131 extern queue_entry_t dequeue_head(
135 extern queue_entry_t dequeue_tail(
140 queue_entry_t elt);
144 queue_entry_t entry,
145 queue_entry_t pred);
149 queue_entry_t elt);
157 (elt)->next = (queue_entry_t) 0; \
158 (elt)->prev = (queue_entry_t) 0; \
167 queue_entry_t elt)
178 queue_entry_t elt)
186 static __inline__ queue_entry_t
190 register queue_entry_t elt = (queue_entry_t) 0;
202 static __inline__ queue_entry_t
206 register queue_entry_t elt = (queue_entry_t) 0;
220 queue_entry_t elt)
229 queue_entry_t entry,
230 queue_entry_t pred)
240 register queue_entry_t elt)
268 * queue_entry_t queue_first(q)
278 * queue_entry_t queue_next(qc)
288 * queue_entry_t queue_last(q)
298 * queue_entry_t queue_prev(qc)
311 * queue_entry_t qe;
346 register queue_entry_t __prev; \
350 (head)->next = (queue_entry_t) (elt); \
353 ((type)__prev)->field.next = (queue_entry_t)(elt);\
357 (head)->prev = (queue_entry_t) elt; \
373 register queue_entry_t __next; \
377 (head)->prev = (queue_entry_t) (elt); \
380 ((type)__next)->field.prev = (queue_entry_t)(elt);\
384 (head)->next = (queue_entry_t) elt; \
401 register queue_entry_t __prev; \
403 if ((head) == (queue_entry_t)(cur)) { \
407 (head)->next = (queue_entry_t)(elt); \
410 ((type)__prev)->field.next = (queue_entry_t)(elt);\
412 (head)->prev = (queue_entry_t)(elt); \
414 (elt)->field.next = (queue_entry_t)(cur); \
415 if ((head)->next == (queue_entry_t)(cur)) { \
418 (head)->next = (queue_entry_t)(elt); \
421 ((type)__prev)->field.next = (queue_entry_t)(elt);\
423 (cur)->field.prev = (queue_entry_t)(elt); \
441 register queue_entry_t __next; \
443 if ((head) == (queue_entry_t)(cur)) { \
447 (head)->prev = (queue_entry_t)(elt); \
450 ((type)__next)->field.prev = (queue_entry_t)(elt);\
452 (head)->next = (queue_entry_t)(elt); \
454 (elt)->field.prev = (queue_entry_t)(cur); \
455 if ((head)->prev == (queue_entry_t)(cur)) { \
458 (head)->prev = (queue_entry_t)(elt); \
461 ((type)__next)->field.prev = (queue_entry_t)(elt);\
463 (cur)->field.next = (queue_entry_t)(elt); \
486 register queue_entry_t __next, __prev; \
516 register queue_entry_t __next; \
542 register queue_entry_t __prev; \
604 !queue_end((head), (queue_entry_t)(elt)); \