Home
last modified time | relevance | path

Searched refs:head1 (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.61.12/bsd/sys/
H A Dqueue.h356 #define STAILQ_CONCAT(head1, head2) do { \ argument
358 *(head1)->stqh_last = (head2)->stqh_first; \
359 (head1)->stqh_last = (head2)->stqh_last; \
449 #define STAILQ_SWAP(head1, head2, type) \ argument
453 struct type *swap_first = STAILQ_FIRST(head1); \
454 struct type **swap_last = (head1)->stqh_last; \
455 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
456 (head1)->stqh_last = (head2)->stqh_last; \
459 if (STAILQ_EMPTY(head1)) \
460 (head1)->stqh_last = &STAILQ_FIRST(head1); \
[all …]