Lines Matching refs:ratio
458 static unsigned long compute_sfb_extent(unsigned long ratio, unsigned long base) in compute_sfb_extent() argument
465 if (ratio <= 5) in compute_sfb_extent()
467 if (ratio <= 25) in compute_sfb_extent()
469 if (ratio <= 50) in compute_sfb_extent()
471 if (ratio <= 75) in compute_sfb_extent()
473 if (ratio <= 100) in compute_sfb_extent()
475 if (ratio <= 250) in compute_sfb_extent()
484 unsigned long ratio, num; in sfb_account_overflows() local
496 ratio = DIV_ROUND_UP(100 * OVERFLOW_REG(hwc) * cpuhw->sfb.num_sdb, in sfb_account_overflows()
500 num = compute_sfb_extent(ratio, cpuhw->sfb.num_sdb); in sfb_account_overflows()
505 " num=%lu\n", OVERFLOW_REG(hwc), ratio, num); in sfb_account_overflows()