Lines Matching refs:curr
128 struct fn_node* curr = list->head; in fn_list_remove() local
132 while (curr) { in fn_list_remove()
133 next = curr->next; in fn_list_remove()
135 if (curr->id == CURRENT_ID) { in fn_list_remove()
136 if (curr == list->head) { in fn_list_remove()
140 if (curr == list->tail) { in fn_list_remove()
148 free(curr); in fn_list_remove()
150 prev = curr; in fn_list_remove()
153 curr = next; in fn_list_remove()
543 struct fn_node *curr = writeout_fn_list.head; in llvm_writeout_files() local
545 while (curr) { in llvm_writeout_files()
546 if (curr->id == CURRENT_ID) { in llvm_writeout_files()
547 curr->fn(); in llvm_writeout_files()
549 curr = curr->next; in llvm_writeout_files()
577 struct fn_node *curr = reset_fn_list.head; in llvm_reset_counters() local
579 while (curr) { in llvm_reset_counters()
580 if (curr->id == CURRENT_ID) { in llvm_reset_counters()
581 curr->fn(); in llvm_reset_counters()
583 curr = curr->next; in llvm_reset_counters()