Lines Matching defs:fvalue
661 * @fvalue: function value to match, scaled by 1000000
664 u32 tfrc_calc_x_reverse_lookup(u32 fvalue)
668 if (fvalue == 0) /* f(p) = 0 whenever p = 0 */
672 if (fvalue < tfrc_calc_x_lookup[0][1]) {
673 DCCP_WARN("fvalue %u smaller than resolution\n", fvalue);
676 if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) {
677 DCCP_WARN("fvalue %u exceeds bounds!\n", fvalue);
681 if (fvalue <= tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][1]) {
682 index = tfrc_binsearch(fvalue, 1);
687 index = tfrc_binsearch(fvalue, 0);