Home
last modified time | relevance | path

Searched refs:min_percent (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c24 int min_percent = 100; in ixgbe_ieee_credits() local
32 if (bw[i] < min_percent && bw[i]) in ixgbe_ieee_credits()
33 min_percent = bw[i]; in ixgbe_ieee_credits()
36 multiplier = (min_credit / min_percent) + 1; in ixgbe_ieee_credits()
69 int min_percent = 100; in ixgbe_dcb_calculate_tc_credits() local
91 if (link_percentage && link_percentage < min_percent) in ixgbe_dcb_calculate_tc_credits()
92 min_percent = link_percentage; in ixgbe_dcb_calculate_tc_credits()
103 min_multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits()
/linux/tools/perf/
H A Dbuiltin-report.c111 float min_percent; member
137 rep->min_percent = pcnt; in report__config()
138 callchain_param.min_percent = pcnt; in report__config()
553 rep->min_percent, pos, in evlist__tui_block_hists_browse()
594 rep->min_percent, pos, NULL); in evlist__tty_browse_hists()
598 hists__fprintf(hists, !quiet, 0, 0, rep->min_percent, stdout, in evlist__tty_browse_hists()
661 return hist_browser(rep->session->evlist, help, NULL, rep->min_percent); in report__gtk_browse_hists()
688 ret = evlist__tui_browse_hists(evlist, help, NULL, rep->min_percent, in report__browse_hists()
1269 rep->min_percent = pcnt; in parse_percent_limit()
1270 callchain_param.min_percent = pcnt; in parse_percent_limit()
H A Dbuiltin-annotate.c65 float min_percent; member
432 if (ann->min_percent) { in hists__find_annotations()
439 if (percent < ann->min_percent) in hists__find_annotations()
680 ann->min_percent = pcnt; in parse_percent_limit()
H A Dbuiltin-top.c356 top->min_percent, stdout, !symbol_conf.use_callchain); in perf_top__print_sym_table()
649 ret = evlist__tui_browse_hists(top->evlist, help, &hbt, top->min_percent, in display_thread_tui()
1436 top->min_percent = strtof(arg, NULL); in parse_percent_limit()
H A Dbuiltin-c2c.c2948 callchain_param.min_percent = 0; in setup_callchain()
/linux/tools/perf/util/
H A Dtop.h49 float min_percent; member
H A Dblock-info.h71 int report__browse_block_hists(struct block_hist *bh, float min_percent,
H A Dblock-info.c502 int report__browse_block_hists(struct block_hist *bh, float min_percent, in report__browse_block_hists() argument
510 hists__fprintf(&bh->block_hists, true, 0, 0, min_percent, in report__browse_block_hists()
515 ret = block_hists_tui_browse(bh, evsel, min_percent, env); in report__browse_block_hists()
H A Dcallchain.c40 .min_percent = 0.5, \
222 callchain_param.min_percent = strtod(tok, &endptr); in __parse_callchain_report_opt()
372 callchain_param.min_percent = strtod(value, &endptr); in perf_callchain_config()
490 double min_percent) in __sort_chain_graph_rel() argument
497 min_hit = ceil(node->children_hit * min_percent); in __sort_chain_graph_rel()
504 __sort_chain_graph_rel(child, min_percent); in __sort_chain_graph_rel()
515 __sort_chain_graph_rel(&chain_root->node, param->min_percent / 100.0); in sort_chain_graph_rel()
H A Dcallchain.h107 double min_percent; member
H A Dhist.h736 float min_percent, struct perf_env *env);
783 float min_percent __maybe_unused, in block_hists_tui_browse()
H A Dhist.c2007 min_callchain_hits = total * (callchain_param.min_percent / 100); in hists__hierarchy_output_resort()
2033 min_callchain_hits = total * (callchain_param.min_percent / 100); in __hists__insert_output_entry()
2075 min_callchain_hits = callchain_total * (callchain_param.min_percent / 100); in output_resort()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c449 static unsigned long min_percent(unsigned int percent, unsigned long base, in min_percent() function
465 return min_percent(1, base, 1); in compute_sfb_extent()
467 return min_percent(1, base, 1); in compute_sfb_extent()
469 return min_percent(2, base, 2); in compute_sfb_extent()
471 return min_percent(3, base, 3); in compute_sfb_extent()
473 return min_percent(4, base, 4); in compute_sfb_extent()
475 return min_percent(5, base, 8); in compute_sfb_extent()
/linux/fs/btrfs/
H A Dblock-rsv.c228 int btrfs_block_rsv_check(struct btrfs_block_rsv *block_rsv, int min_percent) in btrfs_block_rsv_check() argument
234 num_bytes = mult_perc(block_rsv->size, min_percent); in btrfs_block_rsv_check()
/linux/tools/perf/ui/browsers/
H A Dhists.c2965 hb->min_pcnt = callchain_param.min_percent = percent; in hist_browser__update_percent_limit()
3711 float min_percent, struct perf_env *env) in block_hists_tui_browse() argument
3728 browser->min_pcnt = min_percent; in block_hists_tui_browse()