Lines Matching refs:weight
57 int weight; in ip_vs_wrr_gcd_weight() local
63 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight()
64 if (weight > 0) { in ip_vs_wrr_gcd_weight()
65 g = weight; in ip_vs_wrr_gcd_weight()
74 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight()
75 if (weight > 0) in ip_vs_wrr_gcd_weight()
76 g = gcd(weight, g); in ip_vs_wrr_gcd_weight()
90 int weight = 0; in ip_vs_wrr_max_weight() local
95 if (atomic_read(&dest->weight) > weight) in ip_vs_wrr_max_weight()
96 weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight()
99 return weight; in ip_vs_wrr_max_weight()
196 if (atomic_read(&dest->weight) >= mark->cw) { in ip_vs_wrr_schedule()
208 atomic_read(&dest->weight)); in ip_vs_wrr_schedule()