Lines Matching refs:al
49 struct annotation_line *al = list_entry(entry, struct annotation_line, node);
50 return annotation_line__filter(al, notes);
100 struct annotation_line *al = list_entry(entry, struct annotation_line, node);
122 annotation_line__write(al, notes, &ops, ab->opts);
125 ab->selection = al;
130 struct disasm_line *pos = list_prev_entry(cursor, al.node);
194 from = cursor->al.idx_asm;
197 from = (u64)cursor->al.idx;
245 struct annotation_line *al)
256 if (disasm__cmp(al, l, browser->opts->percent_type) < 0)
261 rb_link_node(&al->rb_node, parent, p);
262 rb_insert_color(&al->rb_node, root);
316 list_for_each_entry(pos, ¬es->src->source, al.node) {
320 if (pos->al.offset == -1) {
321 RB_CLEAR_NODE(&pos->al.rb_node);
325 for (i = 0; i < pos->al.data_nr; i++) {
328 percent = annotation_data__percent(&pos->al.data[i],
335 if (max_percent < 0.01 && pos->al.ipc == 0) {
336 RB_CLEAR_NODE(&pos->al.rb_node);
339 disasm_rb_tree__insert(browser, &pos->al);
349 struct annotation_line *al;
353 al = list_entry(browser->b.top, struct annotation_line, node);
356 if (al->idx_asm < offset)
357 offset = al->idx;
362 browser->b.top_idx = al->idx - offset;
363 browser->b.index = al->idx;
365 if (al->idx_asm < 0) {
371 if (al->idx_asm < offset)
372 offset = al->idx_asm;
377 browser->b.top_idx = al->idx_asm - offset;
378 browser->b.index = al->idx_asm;
451 list_for_each_entry(pos, ¬es->src->source, al.node) {
452 if (pos->al.offset == offset)
454 if (!annotation_line__filter(&pos->al, notes))
484 annotate_browser__set_top(browser, &dl->al, idx);
494 struct annotation_line *al = browser->selection;
497 list_for_each_entry_continue(al, ¬es->src->source, node) {
498 if (annotation_line__filter(al, notes))
503 if (al->line && strstr(al->line, s) != NULL)
504 return al;
512 struct annotation_line *al;
515 al = annotate_browser__find_string(browser, browser->search_bf, &idx);
516 if (al == NULL) {
521 annotate_browser__set_top(browser, al, idx);
531 struct annotation_line *al = browser->selection;
534 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) {
535 if (annotation_line__filter(al, notes))
540 if (al->line && strstr(al->line, s) != NULL)
541 return al;
549 struct annotation_line *al;
552 al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
553 if (al == NULL) {
558 annotate_browser__set_top(browser, al, idx);