Home
last modified time | relevance | path

Searched refs:listelm (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/include-glibc/sys/
Dqueue.h286 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
287 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
288 LIST_NEXT((listelm), field)->field.le_prev = \
290 LIST_NEXT((listelm), field) = (elm); \
291 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
294 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
295 (elm)->field.le_prev = (listelm)->field.le_prev; \
296 LIST_NEXT((elm), field) = (listelm); \
297 *(listelm)->field.le_prev = (elm); \
298 (listelm)->field.le_prev = &LIST_NEXT((elm), field); \
[all …]
/external/dhcpcd-6.8.2/compat/
Dqueue.h111 #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ argument
112 if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != \
118 (listelm)->field.tqe_next = (elm); \
119 (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
122 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ argument
123 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
124 (elm)->field.tqe_next = (listelm); \
125 *(listelm)->field.tqe_prev = (elm); \
126 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
/external/libevent/
Devent-internal.h332 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ argument
333 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
334 (elm)->field.tqe_next = (listelm); \
335 *(listelm)->field.tqe_prev = (elm); \
336 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \