Searched refs:gcd (Results 1 – 3 of 3) sorted by relevance
66 int gcd; member134 if (s->gcd < 1) in ip_vs_mh_permutate()152 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); in ip_vs_mh_permutate()172 if (s->gcd < 1) { in ip_vs_mh_populate()333 g = gcd(weight, g); in ip_vs_mh_gcd_weight()344 static int ip_vs_mh_shift_weight(struct ip_vs_service *svc, int gcd) in ip_vs_mh_shift_weight() argument354 if (gcd < 1) in ip_vs_mh_shift_weight()366 mw = weight / gcd; in ip_vs_mh_shift_weight()400 s->gcd = ip_vs_mh_gcd_weight(svc); in ip_vs_mh_init_svc()401 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_init_svc()[all …]
79 g = gcd(weight, g); in ip_vs_wrr_gcd_weight()
1791 *beacon_int_gcd = gcd(*beacon_int_gcd, wdev->beacon_interval); in cfg80211_calculate_bi_data()1797 *beacon_int_gcd = gcd(*beacon_int_gcd, new_beacon_int); in cfg80211_calculate_bi_data()