Home
last modified time | relevance | path

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

/spdk/include/spdk/
H A Dqueue_extras.h171 #define STAILQ_SWAP(head1, head2, type) do { \ argument
174 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
175 (head1)->stqh_last = (head2)->stqh_last; \
176 STAILQ_FIRST(head2) = swap_first; \
177 (head2)->stqh_last = swap_last; \
180 if (STAILQ_EMPTY(head2)) \
181 (head2)->stqh_last = &STAILQ_FIRST(head2); \
255 #define LIST_SWAP(head1, head2, type, field) do { \ argument
257 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
258 LIST_FIRST((head2)) = swap_tmp; \
[all …]