Searched refs:w_q_lookup (Results 1 – 4 of 4) sorted by relevance
746 if (fs->w_q_lookup) in fsk_detach()747 free(fs->w_q_lookup, M_DUMMYNET); in fsk_detach()748 fs->w_q_lookup = NULL; in fsk_detach()1226 if (fs->w_q_lookup) { in config_red()1227 free(fs->w_q_lookup, M_DUMMYNET); in config_red()1228 fs->w_q_lookup = NULL; in config_red()1238 fs->w_q_lookup = (u_int *)malloc(fs->lookup_depth * sizeof(int), in config_red()1240 if (fs->w_q_lookup == NULL) { in config_red()1248 fs->w_q_lookup[0] = SCALE(1) - fs->w_q; in config_red()1251 fs->w_q_lookup[i] = in config_red()[all …]
238 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
124 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
371 SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0; in red_drops()