Lines Matching refs:next
35 WARN(n->prev != p || p->next != n, in plist_check_prev_next()
39 t, t->next, t->prev, in plist_check_prev_next()
40 p, p->next, p->prev, in plist_check_prev_next()
41 n, n->next, n->prev); in plist_check_prev_next()
46 struct list_head *prev = top, *next = top->next; in plist_check_list() local
48 plist_check_prev_next(top, prev, next); in plist_check_list()
49 while (next != top) { in plist_check_list()
50 prev = next; in plist_check_list()
51 next = prev->next; in plist_check_list()
52 plist_check_prev_next(top, prev, next); in plist_check_list()
94 iter = list_entry(iter->prio_list.next, in plist_add()
117 if (node->node_list.next != &head->node_list) { in plist_del()
118 struct plist_node *next; in plist_del() local
120 next = list_entry(node->node_list.next, in plist_del()
124 if (list_empty(&next->prio_list)) in plist_del()
125 list_add(&next->prio_list, &node->prio_list); in plist_del()
204 BUG_ON(prio_pos->prio_list.next != &node_pos->prio_list); in plist_test_check()
209 BUG_ON(prio_pos->prio_list.next != &first->prio_list); in plist_test_check()