Home
last modified time | relevance | path

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

/external/qemu/
Dqemu-queue.h103 #define QLIST_INSERT_AFTER(listelm, elm, field) do { \ argument
104 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
105 (listelm)->field.le_next->field.le_prev = \
107 (listelm)->field.le_next = (elm); \
108 (elm)->field.le_prev = &(listelm)->field.le_next; \
111 #define QLIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
112 (elm)->field.le_prev = (listelm)->field.le_prev; \
113 (elm)->field.le_next = (listelm); \
114 *(listelm)->field.le_prev = (elm); \
115 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/external/chromium/third_party/libevent/compat/sys/
Dqueue.h174 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
175 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
176 (listelm)->field.le_next->field.le_prev = \
178 (listelm)->field.le_next = (elm); \
179 (elm)->field.le_prev = &(listelm)->field.le_next; \
182 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
183 (elm)->field.le_prev = (listelm)->field.le_prev; \
184 (elm)->field.le_next = (listelm); \
185 *(listelm)->field.le_prev = (elm); \
186 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/external/openssh/openbsd-compat/
Dsys-queue.h286 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
287 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
288 (listelm)->field.le_next->field.le_prev = \
290 (listelm)->field.le_next = (elm); \
291 (elm)->field.le_prev = &(listelm)->field.le_next; \
294 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
295 (elm)->field.le_prev = (listelm)->field.le_prev; \
296 (elm)->field.le_next = (listelm); \
297 *(listelm)->field.le_prev = (elm); \
298 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/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/chromium/third_party/libevent/
Devent-internal.h82 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ argument
83 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
84 (elm)->field.tqe_next = (listelm); \
85 *(listelm)->field.tqe_prev = (elm); \
86 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \