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

/linux-4.1.27/net/dccp/ccids/lib/
H A Dloss_interval.c20 static inline u8 LIH_INDEX(const u8 ctr) LIH_INDEX() function
28 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; tfrc_lh_peek()
35 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; tfrc_lh_get_interval()
43 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) tfrc_lh_demand_next()
44 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, tfrc_lh_demand_next()
46 return lh->ring[LIH_INDEX(lh->counter)]; tfrc_lh_demand_next()
55 if (lh->ring[LIH_INDEX(lh->counter)] != NULL) { tfrc_lh_cleanup()
57 lh->ring[LIH_INDEX(lh->counter)]); tfrc_lh_cleanup()
58 lh->ring[LIH_INDEX(lh->counter)] = NULL; tfrc_lh_cleanup()

Completed in 163 milliseconds