Lines Matching refs:next
25 struct list_head *next, *prev; member
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 n = list_entry(pos->member.next, typeof(*pos), member); \
65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
73 return head->next == head; in list_empty()
84 struct list_head *next) in __list_add() argument
86 next->prev = _new; in __list_add()
87 _new->next = next; in __list_add()
89 prev->next = _new; in __list_add()
112 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
114 next->prev = prev; in __list_del()
115 prev->next = next; in __list_del()
128 __list_del(entry->prev, entry->next); in list_del()
129 entry->next = (struct list_head*)LIST_POISON1; in list_del()