Lines Matching refs:elm
81 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
82 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
83 SLIST_NEXT((slistelm), field) = (elm); \
86 #define SLIST_INSERT_HEAD(head, elm, field) do { \
87 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
88 SLIST_FIRST((head)) = (elm); \
91 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
93 #define SLIST_REMOVE(head, elm, type, field) do { \
94 if (SLIST_FIRST((head)) == (elm)) { \
99 while (SLIST_NEXT(curelm, field) != (elm)) \