Lines Matching refs:first
54 #define CDBL_LIST_ADD_REAR(first, newp) \
59 if (unlikely ((first) == NULL)) \
60 (first) = _newp->next = _newp->previous = _newp; \
63 _newp->next = (first); \
64 _newp->previous = (first)->previous; \
70 #define CDBL_LIST_DEL(first, elem) \
74 assert (first != NULL && _elem != NULL \
75 && (first != elem \
76 || ({ __typeof (elem) _runp = first->next; \
77 while (_runp != first) \
84 first = NULL; \
89 if (unlikely (first == _elem)) \
90 first = _elem->next; \
97 #define SNGL_LIST_PUSH(first, newp) \
101 _newp->next = first; \
102 first = _newp; \
107 #define CSNGL_LIST_ADD_REAR(first, newp) \
111 if (unlikely ((first) == NULL)) \
112 (first) = _newp->next = _newp; \
115 _newp->next = (first)->next; \
116 (first) = (first)->next = _newp; \