Home
last modified time | relevance | path

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

/openthread-latest/third_party/tcplp/bsdtcp/sys/
Dqueue.h255 #define SLIST_SWAP(head1, head2, type) do { \ argument
256 QUEUE_TYPEOF(type) *swap_first = SLIST_FIRST(head1); \
257 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
292 #define STAILQ_CONCAT(head1, head2) do { \ argument
294 *(head1)->stqh_last = (head2)->stqh_first; \
295 (head1)->stqh_last = (head2)->stqh_last; \
380 #define STAILQ_SWAP(head1, head2, type) do { \ argument
381 QUEUE_TYPEOF(type) *swap_first = STAILQ_FIRST(head1); \
382 QUEUE_TYPEOF(type) **swap_last = (head1)->stqh_last; \
383 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
[all …]