Searched refs:NUM_PACKET_SIZE_BINS (Results 1 – 3 of 3) sorted by relevance
81 #define NUM_PACKET_SIZE_BINS 7 macro83 static const int packet_size_bins[NUM_PACKET_SIZE_BINS] = { 250, 1600, 4096, 8192, 16384, 32768, 6…100 struct rate_stats stats[NUM_PACKET_SIZE_BINS][SAMPLE_MAXRATES];101 int last_sample_rix[NUM_PACKET_SIZE_BINS];103 int current_sample_rix[NUM_PACKET_SIZE_BINS]; 104 int packets_sent[NUM_PACKET_SIZE_BINS];106 int current_rix[NUM_PACKET_SIZE_BINS];107 int packets_since_switch[NUM_PACKET_SIZE_BINS];108 int ticks_since_switch[NUM_PACKET_SIZE_BINS];110 int packets_since_sample[NUM_PACKET_SIZE_BINS];[all …]
249 #if NUM_PACKET_SIZE_BINS > 1 in size_to_bin()253 #if NUM_PACKET_SIZE_BINS > 2 in size_to_bin()257 #if NUM_PACKET_SIZE_BINS > 3 in size_to_bin()261 #if NUM_PACKET_SIZE_BINS > 4 in size_to_bin()265 #if NUM_PACKET_SIZE_BINS > 5 in size_to_bin()269 #if NUM_PACKET_SIZE_BINS > 6 in size_to_bin()273 #if NUM_PACKET_SIZE_BINS > 7 in size_to_bin()277 #if NUM_PACKET_SIZE_BINS > 8 in size_to_bin()280 return NUM_PACKET_SIZE_BINS-1; in size_to_bin()1369 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_rate_ctl_reset()[all …]
124 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()157 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()