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