Lines Matching refs:sym_quehead
46 typedef struct sym_quehead {
47 struct sym_quehead *flink; /* Forward pointer */
48 struct sym_quehead *blink; /* Backward pointer */
55 static inline struct sym_quehead *sym_que_first(struct sym_quehead *head)
60 static inline struct sym_quehead *sym_que_last(struct sym_quehead *head)
65 static inline void __sym_que_add(struct sym_quehead * new,
66 struct sym_quehead * blink,
67 struct sym_quehead * flink)
75 static inline void __sym_que_del(struct sym_quehead * blink,
76 struct sym_quehead * flink)
82 static inline int sym_que_empty(struct sym_quehead *head)
87 static inline void sym_que_splice(struct sym_quehead *list,
88 struct sym_quehead *head)
90 struct sym_quehead *first = list->flink;
93 struct sym_quehead *last = list->blink;
94 struct sym_quehead *at = head->flink;
104 static inline void sym_que_move(struct sym_quehead *orig,
105 struct sym_quehead *dest)
107 struct sym_quehead *first, *last;
132 static inline struct sym_quehead *sym_remque_head(struct sym_quehead *head)
134 struct sym_quehead *elem = head->flink;
145 static inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head)
147 struct sym_quehead *elem = head->blink;
165 #define sym_qptr(p) ((struct sym_quehead *) (p))