Lines Matching refs:list_next
161 #define list_next(p) ((p)->list_next)
164 for (p = list_next(h), n = list_next(p); \
166 p = n, n = list_next(p))
170 (ptr)->list_next = (ptr); (ptr)->list_prev = (ptr); \
179 #define list_empty(l) ((l)->list_next == (l))
180 #define list_del(p) { (p)->list_next->list_prev = (p)->list_prev; \
181 (p)->list_prev->list_next = (p)->list_next; }
183 (head)->list_prev->list_next = (newnode); \
186 (newnode)->list_next = (head); \
209 for (pos = find_struct((head)->list_next, type, member), \
210 n = find_struct(pos->member.list_next, type, member); \
212 pos = n, n = find_struct(n->member.list_next, type, member))