Lines Matching refs:next
80 #define _NEXT(elt,list) ((char*)((list)->next))
81 #define _NEXTASGN(elt,list,to) { char **_alias = (char**)&((list)->next); *_alias=(char*)(to); }
88 #define _NEXT(elt,list) ((elt)->next)
89 #define _NEXTASGN(elt,list,to) ((elt)->next)=(to)
289 (add)->next = head; \
296 (add)->next=NULL; \
299 while (_tmp->next) { _tmp = _tmp->next; } \
300 _tmp->next=(add); \
310 (head)=(head)->next; \
313 while (_tmp->next && (_tmp->next != (del))) { \
314 _tmp = _tmp->next; \
316 if (_tmp->next) { \
317 _tmp->next = ((del)->next); \
326 (add)->next = head; /* use add->next as a temp variable */ \
327 while ((add)->next->next) { (add)->next = (add)->next->next; } \
328 (add)->next->next=(add); \
332 (add)->next=NULL; \
338 (head)=(head)->next; \
341 while (head->next && (head->next != (del))) { \
342 head = head->next; \
344 if (head->next) { \
345 head->next = ((del)->next); \
362 for(el=head;el;el=el->next)
365 for((el)=(head);(el) && (tmp = (el)->next, 1); (el) = tmp)
386 (add)->next = head; \
400 (head)->prev->next = (add); \
402 (add)->next = NULL; \
406 (head)->next = NULL; \
415 (del)->next->prev = (del)->prev; \
416 (head) = (del)->next; \
418 (del)->prev->next = (del)->next; \
419 if ((del)->next) { \
420 (del)->next->prev = (del)->prev; \
429 for(el=head;el;el=el->next)
433 for((el)=(head);(el) && (tmp = (el)->next, 1); (el) = tmp)
446 (add)->next = (head); \
448 (add)->prev->next = (add); \
451 (add)->next = (add); \
458 if ( ((head)==(del)) && ((head)->next == (head))) { \
461 (del)->next->prev = (del)->prev; \
462 (del)->prev->next = (del)->next; \
463 if ((del) == (head)) (head)=(del)->next; \
468 for(el=head;el;el=(el->next==head ? 0L : el->next))
472 (el) && ((tmp2)=(el)->next, 1); \