Lines Matching refs:head2
214 #define CK_SLIST_MOVE(head1, head2, field) do { \
215 ck_pr_store_ptr(&(head1)->cslh_first, (head2)->cslh_first); \
247 #define CK_STAILQ_CONCAT(head1, head2) do { \
248 if ((head2)->cstqh_first != NULL) { \
249 ck_pr_store_ptr((head1)->cstqh_last, (head2)->cstqh_first); \
251 (head1)->cstqh_last = (head2)->cstqh_last; \
252 CK_STAILQ_INIT((head2)); \
328 #define CK_STAILQ_MOVE(head1, head2, field) do { \
329 ck_pr_store_ptr(&(head1)->cstqh_first, (head2)->cstqh_first); \
330 (head1)->cstqh_last = (head2)->cstqh_last; \
331 if ((head2)->cstqh_last == &(head2)->cstqh_first) \
338 #define CK_STAILQ_SWAP(head1, head2, type) do { \
341 CK_STAILQ_FIRST(head1) = CK_STAILQ_FIRST(head2); \
342 (head1)->cstqh_last = (head2)->cstqh_last; \
343 CK_STAILQ_FIRST(head2) = swap_first; \
344 (head2)->cstqh_last = swap_last; \
347 if (CK_STAILQ_EMPTY(head2)) \
348 (head2)->cstqh_last = &(head2)->cstqh_first; \
419 #define CK_LIST_MOVE(head1, head2, field) do { \
420 ck_pr_store_ptr(&(head1)->clh_first, (head2)->clh_first); \
428 #define CK_LIST_SWAP(head1, head2, type, field) do { \
430 (head1)->clh_first = (head2)->clh_first; \
431 (head2)->clh_first = swap_tmp; \
434 if ((swap_tmp = (head2)->clh_first) != NULL) \
435 swap_tmp->field.cle_prev = &(head2)->clh_first; \