Searched refs:listelm (Results 1 – 2 of 2) sorted by relevance
/external/openssh/openbsd-compat/ |
D | sys-queue.h | 291 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument 292 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \ 293 (listelm)->field.le_next->field.le_prev = \ 295 (listelm)->field.le_next = (elm); \ 296 (elm)->field.le_prev = &(listelm)->field.le_next; \ 299 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument 300 (elm)->field.le_prev = (listelm)->field.le_prev; \ 301 (elm)->field.le_next = (listelm); \ 302 *(listelm)->field.le_prev = (elm); \ 303 (listelm)->field.le_prev = &(elm)->field.le_next; \ [all …]
|
/external/ipsec-tools/src/include-glibc/sys/ |
D | queue.h | 286 #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 …]
|