Home
last modified time | relevance | path

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

/openbmc/linux/net/dccp/ccids/lib/
H A Dtfrc_equation.c695 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate) in tfrc_invert_loss_event_rate() argument
697 if (loss_event_rate == UINT_MAX) /* see RFC 4342, 8.5 */ in tfrc_invert_loss_event_rate()
699 if (unlikely(loss_event_rate == 0)) /* map 1/0 into 100% */ in tfrc_invert_loss_event_rate()
701 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
H A Dtfrc.h56 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate);