Lines Matching defs:head2
71 #define SLIST_CONCAT(head1, head2, type, field) \
74 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \
75 SLIST_INIT(head2); \
76 } else if (!SLIST_EMPTY(head2)) { \
80 SLIST_NEXT(cur, field) = SLIST_FIRST(head2); \
81 SLIST_INIT(head2); \
124 #define SLIST_SWAP(head1, head2, type) \
127 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
128 SLIST_FIRST(head2) = first; \
187 #define STAILQ_CONCAT(head1, head2, type, field) \
189 if (!STAILQ_EMPTY(head2)) { \
190 *(head1)->stqh_last = (head2)->stqh_first; \
191 (head1)->stqh_last = (head2)->stqh_last; \
192 STAILQ_INIT(head2); \
248 #define STAILQ_SWAP(head1, head2, type) \
252 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
253 (head1)->stqh_last = (head2)->stqh_last; \
254 STAILQ_FIRST(head2) = first; \
255 (head2)->stqh_last = last; \
258 if (STAILQ_EMPTY(head2)) \
259 (head2)->stqh_last = &STAILQ_FIRST(head2); \