Searched refs:elm2 (Results 1 – 2 of 2) sorted by relevance
322 #define LIST_REPLACE(elm, elm2, field) do { \ argument323 if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \324 (elm2)->field.le_next->field.le_prev = \325 &(elm2)->field.le_next; \326 (elm2)->field.le_prev = (elm)->field.le_prev; \327 *(elm2)->field.le_prev = (elm2); \512 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument513 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \514 (elm2)->field.tqe_next->field.tqe_prev = \515 &(elm2)->field.tqe_next; \[all …]
140 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument141 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != \143 (elm2)->field.tqe_next->field.tqe_prev = \144 &(elm2)->field.tqe_next; \146 (head)->tqh_last = &(elm2)->field.tqe_next; \147 (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \148 *(elm2)->field.tqe_prev = (elm2); \