Lines Matching refs:add
64 #define LL_PREPEND(head, add) \
66 (add)->next = head; \
67 head = add; \
82 #define LL_APPEND(head, add) \
85 (add)->next = NULL; \
90 _tmp->next = (add); \
92 (head) = (add); \
143 #define DL_PREPEND(head, add) \
145 (add)->next = head; \
147 (add)->prev = (head)->prev; \
148 (head)->prev = (add); \
150 (add)->prev = (add); \
151 (head) = (add); \
154 #define DL_APPEND(head, add) \
157 (add)->prev = (head)->prev; \
158 (head)->prev->next = (add); \
159 (head)->prev = (add); \
160 (add)->next = NULL; \
162 (head) = (add); \