Lines Matching refs:_next
31 t *name##_next, *name##_prev
44 _item->name##_prev = _item->name##_next = NULL; \
52 if ((_item->name##_next = *_head)) \
53 _item->name##_next->name##_prev = _item; \
63 if (_item->name##_next) \
64 _item->name##_next->name##_prev = _item->name##_prev; \
66 _item->name##_prev->name##_next = _item->name##_next; \
69 *_head = _item->name##_next; \
71 _item->name##_next = _item->name##_prev = NULL; \
94 while (_item->name##_next) \
95 _item = _item->name##_next; \
106 if ((_b->name##_next = *_head)) \
107 _b->name##_next->name##_prev = _b; \
111 if ((_b->name##_next = _a->name##_next)) \
112 _b->name##_next->name##_prev = _b; \
114 _a->name##_next = _b; \
119 (!(item)->name##_prev && !(item)->name##_next) \
122 for ((i) = (head); (i); (i) = (i)->name##_next)
125 for ((i) = (head); (i) && (((n) = (i)->name##_next), 1); (i) = (n))
131 for ((i) = (p)->name##_next; (i); (i) = (i)->name##_next)
136 for ((i) = (p)->name##_next ? (p)->name##_next : (head); \
138 (i) = (i)->name##_next ? (i)->name##_next : (head))