Lines Matching refs:curr
184 struct symbol *curr, *next; in symbols__fixup_duplicate() local
192 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
194 nd = rb_next(&curr->rb_node); in symbols__fixup_duplicate()
200 if (curr->start != next->start) in symbols__fixup_duplicate()
203 if (choose_best_symbol(curr, next) == SYMBOL_A) { in symbols__fixup_duplicate()
208 nd = rb_next(&curr->rb_node); in symbols__fixup_duplicate()
209 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
210 symbol__delete(curr); in symbols__fixup_duplicate()
219 struct symbol *curr, *prev; in symbols__fixup_end() local
224 curr = rb_entry(prevnd, struct symbol, rb_node); in symbols__fixup_end()
227 prev = curr; in symbols__fixup_end()
228 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_end()
245 !strchr(curr->name, '['))) in symbols__fixup_end()
248 prev->end = curr->start; in symbols__fixup_end()
256 if (curr->end == curr->start) in symbols__fixup_end()
257 curr->end = roundup(curr->start, 4096) + 4096; in symbols__fixup_end()
262 struct map *prev = NULL, *curr; in maps__fixup_end() local
266 maps__for_each_entry(maps, curr) { in maps__fixup_end()
268 prev->end = curr->start; in maps__fixup_end()
270 prev = curr; in maps__fixup_end()
277 if (curr && !curr->end) in maps__fixup_end()
278 curr->end = ~0ULL; in maps__fixup_end()