Lines Matching refs:bdl
97 struct browser_disasm_line *bdl = disasm_line__browser(dl); in annotate_browser__write() local
108 if (bdl->percent[i] > percent_max) in annotate_browser__write()
109 percent_max = bdl->percent[i]; in annotate_browser__write()
114 ui_browser__set_percent_color(browser, bdl->percent[i], in annotate_browser__write()
116 slsmg_printf("%6.2f ", bdl->percent[i]); in annotate_browser__write()
150 if (bdl->jump_sources) { in annotate_browser__write()
155 bdl->jump_sources); in annotate_browser__write()
156 prev = annotate_browser__set_jumps_percent_color(ab, bdl->jump_sources, in annotate_browser__write()
283 static void disasm_rb_tree__insert(struct rb_root *root, struct browser_disasm_line *bdl, in disasm_rb_tree__insert() argument
294 if (disasm__cmp(bdl, l, nr_events)) in disasm_rb_tree__insert()
299 rb_link_node(&bdl->rb_node, parent, p); in disasm_rb_tree__insert()
300 rb_insert_color(&bdl->rb_node, root); in disasm_rb_tree__insert()
394 struct browser_disasm_line *bdl; in annotate_browser__toggle_source() local
399 bdl = disasm_line__browser(dl); in annotate_browser__toggle_source()
402 if (bdl->idx_asm < offset) in annotate_browser__toggle_source()
403 offset = bdl->idx; in annotate_browser__toggle_source()
408 browser->b.top_idx = bdl->idx - offset; in annotate_browser__toggle_source()
409 browser->b.index = bdl->idx; in annotate_browser__toggle_source()
411 if (bdl->idx_asm < 0) { in annotate_browser__toggle_source()
417 if (bdl->idx_asm < offset) in annotate_browser__toggle_source()
418 offset = bdl->idx_asm; in annotate_browser__toggle_source()
423 browser->b.top_idx = bdl->idx_asm - offset; in annotate_browser__toggle_source()
424 browser->b.index = bdl->idx_asm; in annotate_browser__toggle_source()