Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/sys/
H A Dqueue.h355 #define STAILQ_CONCAT(head1, head2) do { \ argument
357 *(head1)->stqh_last = (head2)->stqh_first; \
358 (head1)->stqh_last = (head2)->stqh_last; \
448 #define STAILQ_SWAP(head1, head2, type) \ argument
452 struct type *swap_first = STAILQ_FIRST(head1); \
453 struct type **swap_last = (head1)->stqh_last; \
454 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
455 (head1)->stqh_last = (head2)->stqh_last; \
458 if (STAILQ_EMPTY(head1)) \
459 (head1)->stqh_last = &STAILQ_FIRST(head1); \
[all …]