Lines Matching refs:current_node
79 struct list_node *current_node; in remove_list_node() local
86 current_node = head->next; in remove_list_node()
89 while (current_node && current_node != del_node) { in remove_list_node()
90 saved_node = current_node; in remove_list_node()
91 current_node = current_node->next; in remove_list_node()
95 if (current_node) { in remove_list_node()
96 saved_node->next = current_node->next; in remove_list_node()
112 struct list_node *current_node = head; in dump_list() local
119 while ((current_node = current_node->next)) { in dump_list()
120 if (current_node->dump) { in dump_list()
121 current_node->dump(current_node->data); in dump_list()
128 struct list_node *current_node = head; in find_node() local
133 while ((current_node = current_node->next)) { in find_node()
134 if (current_node->compare) { in find_node()
135 if (current_node->compare(current_node->data, in find_node()
138 return current_node; in find_node()