Lines Matching defs:fvalue
658 * @fvalue: function value to match, scaled by 1000000
662 u32 tfrc_calc_x_reverse_lookup(u32 fvalue)
666 if (fvalue == 0) /* f(p) = 0 whenever p = 0 */
670 if (fvalue < tfrc_calc_x_lookup[0][1]) {
671 DCCP_WARN("fvalue %u smaller than resolution\n", fvalue);
674 if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) {
675 DCCP_WARN("fvalue %u exceeds bounds!\n", fvalue);
679 if (fvalue <= tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][1]) {
680 index = tfrc_binsearch(fvalue, 1);
685 index = tfrc_binsearch(fvalue, 0);