Lines Matching refs:bdl
115 struct browser_disasm_line *bdl = disasm_line__browser(dl); in annotate_browser__write() local
126 if (bdl->samples[i].percent > percent_max) in annotate_browser__write()
127 percent_max = bdl->samples[i].percent; in annotate_browser__write()
134 bdl->samples[i].percent, in annotate_browser__write()
138 bdl->samples[i].nr); in annotate_browser__write()
141 bdl->samples[i].percent); in annotate_browser__write()
190 if (bdl->jump_sources) { in annotate_browser__write()
195 bdl->jump_sources); in annotate_browser__write()
196 prev = annotate_browser__set_jumps_percent_color(ab, bdl->jump_sources, in annotate_browser__write()
319 static void disasm_rb_tree__insert(struct rb_root *root, struct browser_disasm_line *bdl, in disasm_rb_tree__insert() argument
330 if (disasm__cmp(bdl, l, nr_events)) in disasm_rb_tree__insert()
335 rb_link_node(&bdl->rb_node, parent, p); in disasm_rb_tree__insert()
336 rb_insert_color(&bdl->rb_node, root); in disasm_rb_tree__insert()
433 struct browser_disasm_line *bdl; in annotate_browser__toggle_source() local
438 bdl = disasm_line__browser(dl); in annotate_browser__toggle_source()
441 if (bdl->idx_asm < offset) in annotate_browser__toggle_source()
442 offset = bdl->idx; in annotate_browser__toggle_source()
447 browser->b.top_idx = bdl->idx - offset; in annotate_browser__toggle_source()
448 browser->b.index = bdl->idx; in annotate_browser__toggle_source()
450 if (bdl->idx_asm < 0) { in annotate_browser__toggle_source()
456 if (bdl->idx_asm < offset) in annotate_browser__toggle_source()
457 offset = bdl->idx_asm; in annotate_browser__toggle_source()
462 browser->b.top_idx = bdl->idx_asm - offset; in annotate_browser__toggle_source()
463 browser->b.index = bdl->idx_asm; in annotate_browser__toggle_source()