Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dqueue.h107 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
108 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
109 (listelm)->field.le_next->field.le_prev = \
111 (listelm)->field.le_next = (elm); \
112 (elm)->field.le_prev = &(listelm)->field.le_next; \
115 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
116 (elm)->field.le_prev = (listelm)->field.le_prev; \
117 (elm)->field.le_next = (listelm); \
118 *(listelm)->field.le_prev = (elm); \
119 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]