Searched refs:elm2 (Results 1 – 1 of 1) 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 …]