Home
last modified time | relevance | path

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

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dqueue.h190 #define SLIST_CONCAT(head1, head2, type, field) do { \ argument
191 QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head1); \
193 if ((SLIST_FIRST(head1) = SLIST_FIRST(head2)) != NULL) \
271 #define SLIST_SWAP(head1, head2, type) do { \ argument
272 QUEUE_TYPEOF(type) *swap_first = SLIST_FIRST(head1); \
273 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
308 #define STAILQ_CONCAT(head1, head2) do { \ argument
310 *(head1)->stqh_last = (head2)->stqh_first; \
311 (head1)->stqh_last = (head2)->stqh_last; \
396 #define STAILQ_SWAP(head1, head2, type) do { \ argument
[all …]
/haiku/headers/compatibility/bsd/sys/
H A Dqueue.h233 #define STAILQ_CONCAT(head1, head2) do { \ argument
235 *(head1)->stqh_last = (head2)->stqh_first; \
236 (head1)->stqh_last = (head2)->stqh_last; \
464 #define TAILQ_CONCAT(head1, head2, field) do { \ argument
466 *(head1)->tqh_last = (head2)->tqh_first; \
467 (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \
468 (head1)->tqh_last = (head2)->tqh_last; \
470 QMD_TRACE_HEAD(head1); \
/haiku/headers/private/firewire/
H A Dqueue.h228 #define STAILQ_CONCAT(head1, head2) do { \ argument
230 *(head1)->stqh_last = (head2)->stqh_first; \
231 (head1)->stqh_last = (head2)->stqh_last; \
459 #define TAILQ_CONCAT(head1, head2, field) do { \ argument
461 *(head1)->tqh_last = (head2)->tqh_first; \
462 (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \
463 (head1)->tqh_last = (head2)->tqh_last; \
465 QMD_TRACE_HEAD(head1); \