Lines Matching refs:next
14 * sometimes we already know the next/prev entries and we can
20 struct list_head *next, *prev;
29 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
32 void __list_add(struct list_head * add, struct list_head * prev, struct list_head * next);
35 void __list_del(struct list_head * prev, struct list_head * next);
56 for (pos = (head)->next; pos != (head); pos = pos->next)
62 * @pnext: the &struct list_head to use as a pointer to the next item.
66 for (pos = (head)->next, pnext = pos->next; pos != (head); \
67 pos = pnext, pnext = pos->next)