Searched refs:dist (Results 1 – 3 of 3) sorted by relevance
104 __u32 dist = (ca->last_max_cwnd - cwnd) in bictcp_update() local107 if (dist > max_increment) in bictcp_update()110 else if (dist <= 1U) in bictcp_update()115 ca->cnt = cwnd / dist; in bictcp_update()
231 u32 minip, maxip, j, dist; in find_best_ips_proto() local273 dist = maxip - minip + 1; in find_best_ips_proto()276 dist = ~0; in find_best_ips_proto()280 htonl(minip + reciprocal_scale(j, dist)); in find_best_ips_proto()
317 const struct disttable *dist) in tabledist() argument329 if (dist == NULL) in tabledist()332 t = dist->table[rnd % dist->size]; in tabledist()