Lines Matching refs:flink
47 struct sym_quehead *flink; /* Forward pointer */ member
52 (ptr)->flink = (ptr); (ptr)->blink = (ptr); \
57 return (head->flink == head) ? 0 : head->flink; in sym_que_first()
67 struct sym_quehead * flink) in __sym_que_add() argument
69 flink->blink = new; in __sym_que_add()
70 new->flink = flink; in __sym_que_add()
72 blink->flink = new; in __sym_que_add()
76 struct sym_quehead * flink) in __sym_que_del() argument
78 flink->blink = blink; in __sym_que_del()
79 blink->flink = flink; in __sym_que_del()
84 return head->flink == head; in sym_que_empty()
90 struct sym_quehead *first = list->flink; in sym_que_splice()
94 struct sym_quehead *at = head->flink; in sym_que_splice()
97 head->flink = first; in sym_que_splice()
99 last->flink = at; in sym_que_splice()
109 first = orig->flink; in sym_que_move()
112 dest->flink = first; in sym_que_move()
114 last->flink = dest; in sym_que_move()
116 orig->flink = orig; in sym_que_move()
119 dest->flink = dest; in sym_que_move()
126 #define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink)
128 #define sym_remque(el) __sym_que_del((el)->blink, (el)->flink)
130 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink)
134 struct sym_quehead *elem = head->flink; in sym_remque_head()
137 __sym_que_del(head, elem->flink); in sym_remque_head()
160 for (qp = (head)->flink; qp != (head); qp = qp->flink)