Lines Matching refs:head1
219 #define CK_SLIST_MOVE(head1, head2, field) do { \ argument
220 ck_pr_store_ptr(&(head1)->cslh_first, (head2)->cslh_first); \
252 #define CK_STAILQ_CONCAT(head1, head2) do { \ argument
254 ck_pr_store_ptr((head1)->cstqh_last, (head2)->cstqh_first); \
256 (head1)->cstqh_last = (head2)->cstqh_last; \
338 #define CK_STAILQ_MOVE(head1, head2, field) do { \ argument
339 ck_pr_store_ptr(&(head1)->cstqh_first, (head2)->cstqh_first); \
340 (head1)->cstqh_last = (head2)->cstqh_last; \
342 (head1)->cstqh_last = &(head1)->cstqh_first; \
348 #define CK_STAILQ_SWAP(head1, head2, type) do { \ argument
349 struct type *swap_first = CK_STAILQ_FIRST(head1); \
350 struct type **swap_last = (head1)->cstqh_last; \
351 CK_STAILQ_FIRST(head1) = CK_STAILQ_FIRST(head2); \
352 (head1)->cstqh_last = (head2)->cstqh_last; \
355 if (CK_STAILQ_EMPTY(head1)) \
356 (head1)->cstqh_last = &(head1)->cstqh_first; \
434 #define CK_LIST_MOVE(head1, head2, field) do { \ argument
435 ck_pr_store_ptr(&(head1)->clh_first, (head2)->clh_first); \
436 if ((head1)->clh_first != NULL) \
437 (head1)->clh_first->field.cle_prev = &(head1)->clh_first; \
443 #define CK_LIST_SWAP(head1, head2, type, field) do { \ argument
444 struct type *swap_tmp = (head1)->clh_first; \
445 (head1)->clh_first = (head2)->clh_first; \
447 if ((swap_tmp = (head1)->clh_first) != NULL) \
448 swap_tmp->field.cle_prev = &(head1)->clh_first; \