Lines Matching refs:LIST_ENTRY

161 #define LIST_ENTRY(__type, __item, __field)   \  macro
176 LIST_ENTRY(type, (ptr)->next, member)
179 LIST_ENTRY(type, (ptr)->prev, member)
210 for (type *pos = LIST_ENTRY(type, (head)->next, member), \
211 *__next = LIST_ENTRY(type, pos->member.next, member); \
213 pos = LIST_ENTRY(type, pos->member.next, member), \
215 __next = LIST_ENTRY(type, __next->member.next, member))
218 for (type *pos = LIST_ENTRY(type, (head)->next, member), \
219 *__next = LIST_ENTRY(type, pos->member.next, member); \
222 __next = LIST_ENTRY(type, __next->member.next, member))
225 for (type *pos = LIST_ENTRY(type, (head)->prev, member), \
226 *__prev = LIST_ENTRY(type, pos->member.prev, member); \
228 pos = LIST_ENTRY(type, pos->member.prev, member), \
230 __prev = LIST_ENTRY(type, __prev->member.prev, member))
233 for (type *pos = LIST_ENTRY(type, (head)->prev, member), \
234 *__prev = LIST_ENTRY(type, pos->member.prev, member); \
237 __prev = LIST_ENTRY(type, __prev->member.prev, member))
240 for (type *pos = LIST_ENTRY(type, (start), member); \
242 pos = LIST_ENTRY(type, pos->member.next, member))
245 for (type *pos = LIST_ENTRY(type, (start), member), \
246 *__next = LIST_ENTRY(type, pos->member.next, member); \
249 __next = LIST_ENTRY(type, __next->member.next, member))
252 for (type *pos = LIST_ENTRY(type, (start), member); \
254 pos = LIST_ENTRY(type, pos->member.prev, member))
257 for (type *pos1 = LIST_ENTRY(type, (head1)->next, member), \
258 *pos2 = LIST_ENTRY(type, (head2)->next, member); \
260 pos1 = LIST_ENTRY(type, pos1->member.next, member), \
261 pos2 = LIST_ENTRY(type, pos2->member.next, member))