Searched refs:loss_event_rate (Results 1 – 2 of 2) sorted by relevance
695 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate) in tfrc_invert_loss_event_rate() argument697 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()
56 u32 tfrc_invert_loss_event_rate(u32 loss_event_rate);