Home
last modified time | relevance | path

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

/net/dccp/ccids/lib/
Dtfrc_equation.c694 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate) in tfrc_invert_loss_event_rate() argument
696 if (loss_event_rate == UINT_MAX) /* see RFC 4342, 8.5 */ in tfrc_invert_loss_event_rate()
698 if (unlikely(loss_event_rate == 0)) /* map 1/0 into 100% */ in tfrc_invert_loss_event_rate()
700 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
Dtfrc.h56 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate);