Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dsys-queue.h322 #define LIST_REPLACE(elm, elm2, field) do { \ argument
323 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 { \ argument
513 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
514 (elm2)->field.tqe_next->field.tqe_prev = \
515 &(elm2)->field.tqe_next; \
[all …]
/external/dhcpcd-6.8.2/compat/
Dqueue.h140 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument
141 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); \