Searched refs:loss_event_rate (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/dccp/ccids/lib/
H A Dtfrc_equation.c695 * When @loss_event_rate is large, there is a chance that p is truncated to 0.
698 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate) tfrc_invert_loss_event_rate() argument
700 if (loss_event_rate == UINT_MAX) /* see RFC 4342, 8.5 */ tfrc_invert_loss_event_rate()
702 if (unlikely(loss_event_rate == 0)) /* map 1/0 into 100% */ tfrc_invert_loss_event_rate()
704 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); tfrc_invert_loss_event_rate()
H A Dtfrc.h60 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate);

Completed in 90 milliseconds