Searched refs:listelm (Results 1 – 1 of 1) sorted by relevance
107 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument108 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 { \ argument116 (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 …]