Home
last modified time | relevance | path

Searched refs:top_idx (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/perf/ui/
H A Dbrowser.c191 return browser->top_idx + row == browser->index; in ui_browser__is_current_entry()
258 browser->index = browser->top_idx = 0; in ui_browser__reset_index()
377 if (browser->top_idx < (u64)-offset) in ui_browser__update_nr_entries()
378 offset = -browser->top_idx; in ui_browser__update_nr_entries()
381 browser->top_idx += offset; in ui_browser__update_nr_entries()
385 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries()
429 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run()
430 ++browser->top_idx; in ui_browser__run()
438 if (browser->index < browser->top_idx) { in ui_browser__run()
439 --browser->top_idx; in ui_browser__run()
[all …]
H A Dbrowser.h18 u64 index, top_idx; member
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Diowait.c116 uint idx, uint top_idx) in iowait_priority_update_top() argument
127 return top_idx; in iowait_priority_update_top()
H A Dpio.c1577 uint i, n = 0, top_idx = 0; in sc_piobufavail() local
1602 priv = qps[top_idx]->priv; in sc_piobufavail()
1603 top_idx = iowait_priority_update_top(wait, in sc_piobufavail()
1605 n, top_idx); in sc_piobufavail()
1624 hfi1_qp_wakeup(qps[top_idx], in sc_piobufavail()
1627 if (i != top_idx) in sc_piobufavail()
H A Diowait.h401 uint idx, uint top_idx);
/openbmc/linux/tools/perf/ui/browsers/
H A Dannotate.c277 browser->b.top_idx = browser->b.index = idx; in annotate_browser__set_top()
279 while (browser->b.top_idx != 0 && back != 0) { in annotate_browser__set_top()
285 --browser->b.top_idx; in annotate_browser__set_top()
376 off_t offset = browser->b.index - browser->b.top_idx; in annotate_browser__toggle_source()
388 browser->b.top_idx = al->idx - offset; in annotate_browser__toggle_source()
406 browser->b.top_idx = al->idx_asm - offset; in annotate_browser__toggle_source()
859 browser->b.top_idx, in annotate_browser__run()
H A Dmap.c68 browser->b.index = browser->b.top_idx = *idx; in map_browser__search()
H A Dhists.c122 index_row = browser->index - browser->top_idx; in hist_browser__update_rows()
709 browser->b.index, browser->b.top_idx, h->row_offset, h->nr_rows); in hist_browser__handle_hotkey()