Lines Matching refs:next

34 	struct list_head *next, *prev;  member
42 struct hlist_node *next, **pprev; member
45 #define INIT_LIST_HEAD(ptr) do { (ptr)->next = (ptr); (ptr)->prev = (ptr); } \
49 struct list_head *next) in list_add_node() argument
51 next->prev = new_node; in list_add_node()
52 new_node->next = next; in list_add_node()
54 prev->next = new_node; in list_add_node()
59 list_add_node(new_node, head, head->next); in list_add()
68 static inline void list_del_node(struct list_head *prev, struct list_head *next) in list_del_node() argument
70 next->prev = prev; in list_del_node()
71 prev->next = next; in list_del_node()
76 list_del_node(entry->prev, entry->next); in list_del()
81 list_del_node(entry->prev, entry->next); in list_del_init()
87 return head->next == head; in list_empty()
93 struct list_head *first = list->next; in list_splice_node()
95 struct list_head *at = head->next; in list_splice_node()
98 head->next = first; in list_splice_node()
100 last->next = at; in list_splice_node()
124 for ((pos) = (head)->next; (pos) != (head); (pos) = (pos)->next)
127 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \
128 (pos) = (n), (n) = (pos)->next)
131 ((type *)((char *)((attached)->next)-(uint64_t)(&((type *)0)->member)))
137 if (n->next != NULL) { in hlist_del()
138 n->next->pprev = n->pprev; in hlist_del()
140 *n->pprev = n->next; in hlist_del()
147 n->next = h->first; in hlist_add_head()
149 h->first->pprev = &n->next; in hlist_add_head()
158 for ((pos) = (head)->first; (pos) != NULL; (pos) = (pos)->next)