Searched refs:w_q_lookup (Results 1 – 4 of 4) sorted by relevance
743 if (fs->w_q_lookup) in fsk_detach()744 free(fs->w_q_lookup, M_DUMMYNET); in fsk_detach()745 fs->w_q_lookup = NULL; in fsk_detach()1223 if (fs->w_q_lookup) { in config_red()1224 free(fs->w_q_lookup, M_DUMMYNET); in config_red()1225 fs->w_q_lookup = NULL; in config_red()1235 fs->w_q_lookup = (u_int *)malloc(fs->lookup_depth * sizeof(int), in config_red()1237 if (fs->w_q_lookup == NULL) { in config_red()1245 fs->w_q_lookup[0] = SCALE(1) - fs->w_q; in config_red()1248 fs->w_q_lookup[i] = in config_red()[all …]
235 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member
334 SCALE_MUL(q->avg, fs->w_q_lookup[t]) : 0; in red_drops()
122 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ member