Lines Matching refs:prev
60 struct list_head *prev; member
64 #define LIST_HEAD_INIT(name) { .prev = &(name), .next = &(name) }
69 head->prev = head; in INIT_LIST_HEAD()
82 return head->prev; in list_last()
94 return node->prev; in list_prev()
109 if (head->next != head->prev) in list_is_singular()
115 __list_add_between(struct list_head *prev, struct list_head *node, in __list_add_between() argument
118 prev->next = node; in __list_add_between()
119 node->prev = prev; in __list_add_between()
121 next->prev = node; in __list_add_between()
133 __list_add_between(head->prev, node, head); in list_add_tail()
139 entry->prev->next = entry->next; in list_del()
140 entry->next->prev = entry->prev; in list_del()
144 __list_splice_between(struct list_head *prev, const struct list_head *list, in __list_splice_between() argument
148 struct list_head *last = list->prev; in __list_splice_between()
150 first->prev = prev; in __list_splice_between()
151 prev->next = first; in __list_splice_between()
154 next->prev = last; in __list_splice_between()
168 __list_splice_between(head->prev, list, head); in list_splice_tail()
188 new->prev = old->prev; in list_replace()
189 old->prev->next = new; in list_replace()
191 old->next->prev = new; in list_replace()