Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 3 of 3) sorted by relevance

/kernel/trace/
Dtrace_branch.c249 long percent; in get_incorrect_percent() local
252 percent = p->incorrect * 100; in get_incorrect_percent()
253 percent /= p->correct + p->incorrect; in get_incorrect_percent()
255 percent = p->incorrect ? 100 : -1; in get_incorrect_percent()
257 return percent; in get_incorrect_percent()
274 long percent; in branch_stat_show() local
279 percent = get_incorrect_percent(p); in branch_stat_show()
281 if (percent < 0) in branch_stat_show()
284 seq_printf(m, "%3ld ", percent); in branch_stat_show()
/kernel/sched/
Dcore.c10651 s64 percent; member
10660 .percent = UCLAMP_PERCENT_SCALE, in capacity_from_percent()
10668 &req.percent); in capacity_from_percent()
10671 if ((u64)req.percent > UCLAMP_PERCENT_SCALE) { in capacity_from_percent()
10676 req.util = req.percent << SCHED_CAPACITY_SHIFT; in capacity_from_percent()
10707 tg->uclamp_pct[clamp_id] = req.percent; in cpu_uclamp_write()
10737 u64 percent; in cpu_uclamp_print() local
10750 percent = tg->uclamp_pct[clamp_id]; in cpu_uclamp_print()
10751 percent = div_u64_rem(percent, POW10(UCLAMP_PERCENT_SHIFT), &rem); in cpu_uclamp_print()
10752 seq_printf(sf, "%llu.%0*u\n", percent, UCLAMP_PERCENT_SHIFT, rem); in cpu_uclamp_print()
/kernel/dma/
DKconfig165 If 0 percent is selected, CMA is disabled by default, but it can be