Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/ui/
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()
375 if (browser->top_idx < (u64)-offset) in ui_browser__update_nr_entries()
376 offset = -browser->top_idx; in ui_browser__update_nr_entries()
379 browser->top_idx += offset; in ui_browser__update_nr_entries()
383 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries()
427 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run()
428 ++browser->top_idx; in ui_browser__run()
436 if (browser->index < browser->top_idx) { in ui_browser__run()
437 --browser->top_idx; in ui_browser__run()
[all …]
Dbrowser.h18 u64 index, top_idx; member
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Diowait.c116 uint idx, uint top_idx) in iowait_priority_update_top() argument
127 return top_idx; in iowait_priority_update_top()
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()
Diowait.h401 uint idx, uint top_idx);
/linux-6.6.21/tools/perf/ui/browsers/
Dannotate.c278 browser->b.top_idx = browser->b.index = idx; in annotate_browser__set_top()
280 while (browser->b.top_idx != 0 && back != 0) { in annotate_browser__set_top()
286 --browser->b.top_idx; in annotate_browser__set_top()
378 off_t offset = browser->b.index - browser->b.top_idx; in annotate_browser__toggle_source()
390 browser->b.top_idx = al->idx - offset; in annotate_browser__toggle_source()
408 browser->b.top_idx = al->idx_asm - offset; in annotate_browser__toggle_source()
862 browser->b.top_idx, in annotate_browser__run()
Dmap.c68 browser->b.index = browser->b.top_idx = *idx; in map_browser__search()
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()