Lines Matching refs:next
25 struct list_head * next, * prev; member
36 ptr->next = ptr; in list_init()
48 struct list_head * next) in __list_add() argument
50 next->prev = new_entry; in __list_add()
51 new_entry->next = next; in __list_add()
53 prev->next = new_entry; in __list_add()
66 __list_add(new_entry, head, head->next); in list_add()
90 struct list_head * next) in __list_del() argument
92 next->prev = prev; in __list_del()
93 prev->next = next; in __list_del()
103 __list_del(entry->prev, entry->next); in list_del()
112 __list_del(entry->prev, entry->next); in list_del_init()
122 return head->next == head; in list_empty()
132 struct list_head * first = list->next; in list_splice()
136 struct list_head * at = head->next; in list_splice()
139 head->next = first; in list_splice()
141 last->next = at; in list_splice()
161 for (pos = (head)->next; pos != (head); pos = pos->next)
170 for (pos = (head)->next, n = pos->next; pos != (head); \
171 pos = n, n = pos->next)