Lines Matching refs:iter
75 struct plist_node *first, *iter, *prev = NULL; in plist_add() local
85 first = iter = plist_first(head); in plist_add()
88 if (node->prio < iter->prio) { in plist_add()
89 node_next = &iter->node_list; in plist_add()
93 prev = iter; in plist_add()
94 iter = list_entry(iter->prio_list.next, in plist_add()
96 } while (iter != first); in plist_add()
99 list_add_tail(&node->prio_list, &iter->prio_list); in plist_add()
147 struct plist_node *iter; in plist_requeue() local
157 iter = plist_next(node); in plist_requeue()
159 if (node->prio != iter->prio) in plist_requeue()
164 plist_for_each_continue(iter, head) { in plist_requeue()
165 if (node->prio != iter->prio) { in plist_requeue()
166 node_next = &iter->node_list; in plist_requeue()