Searched refs:tfrc_rx_hist_index (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/net/dccp/ccids/lib/ |
D | packet_history.c | 150 const u8 idx_a = tfrc_rx_hist_index(h, a), in tfrc_rx_hist_swap() 151 idx_b = tfrc_rx_hist_index(h, b); in tfrc_rx_hist_swap() 198 h->loss_start = tfrc_rx_hist_index(h, 1); in __one_after_loss() 208 h->loss_start = tfrc_rx_hist_index(h, 3); in __one_after_loss() 251 h->loss_start = tfrc_rx_hist_index(h, 2); in __two_after_loss() 255 h->loss_start = tfrc_rx_hist_index(h, 1); in __two_after_loss() 270 h->loss_start = tfrc_rx_hist_index(h, 3); in __two_after_loss() 296 h->loss_start = tfrc_rx_hist_index(h, 3); in __three_after_loss() 300 h->loss_start = tfrc_rx_hist_index(h, 2); in __three_after_loss() 305 h->loss_start = tfrc_rx_hist_index(h, 1); in __three_after_loss()
|
D | packet_history.h | 104 static inline u8 tfrc_rx_hist_index(const struct tfrc_rx_hist *h, const u8 n) in tfrc_rx_hist_index() function 115 return h->ring[tfrc_rx_hist_index(h, h->loss_count)]; in tfrc_rx_hist_last_rcv() 124 return h->ring[tfrc_rx_hist_index(h, n)]; in tfrc_rx_hist_entry()
|