Searched refs:TFRC_SMALLEST_P (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 15 #define TFRC_SMALLEST_P (TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE) macro 67 TFRC_SMALLEST_P = TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE 78 lookup[0][1] = g(TFRC_SMALLEST_P) = 1000000 * f(0.01%) 628 if (p < TFRC_SMALLEST_P) { /* 0.0000 < p < 0.0001 */ in tfrc_calc_x() 630 "Substituting %d\n", p, TFRC_SMALLEST_P); in tfrc_calc_x() 633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x() 672 return TFRC_SMALLEST_P; in tfrc_calc_x_reverse_lookup() 692 * To avoid re-entering slow-start in that case, we set p = TFRC_SMALLEST_P > 0. 700 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
|
/kernel/linux/linux-6.6/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 15 #define TFRC_SMALLEST_P (TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE) macro 67 TFRC_SMALLEST_P = TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE 78 lookup[0][1] = g(TFRC_SMALLEST_P) = 1000000 * f(0.01%) 628 if (p < TFRC_SMALLEST_P) { /* 0.0000 < p < 0.0001 */ in tfrc_calc_x() 630 "Substituting %d\n", p, TFRC_SMALLEST_P); in tfrc_calc_x() 633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x() 672 return TFRC_SMALLEST_P; in tfrc_calc_x_reverse_lookup() 693 * To avoid re-entering slow-start in that case, we set p = TFRC_SMALLEST_P > 0. 701 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
|
Completed in 2 milliseconds