Searched refs:LIH_SIZE (Results 1 – 2 of 2) sorted by relevance
19 #define LIH_SIZE (NINTERVAL + 1) macro42 struct tfrc_loss_interval *ring[LIH_SIZE];59 return min(lh->counter, (u8)LIH_SIZE); in tfrc_lh_length()
18 return LIH_SIZE - 1 - (ctr % LIH_SIZE); in LIH_INDEX()50 for (lh->counter = 0; lh->counter < LIH_SIZE; lh->counter++) in tfrc_lh_cleanup()162 if (lh->counter > (2*LIH_SIZE)) in tfrc_lh_interval_add()163 lh->counter -= LIH_SIZE; in tfrc_lh_interval_add()