Searched refs:new_weight (Results 1 – 2 of 2) sorted by relevance
94 int new_weight, weight = 0; in ip_vs_wrr_max_weight() local97 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight()98 if (new_weight > weight) in ip_vs_wrr_max_weight()99 weight = new_weight; in ip_vs_wrr_max_weight()
347 int new_weight, weight = 0; in ip_vs_mh_shift_weight() local358 new_weight = atomic_read(&dest->last_weight); in ip_vs_mh_shift_weight()359 if (new_weight > weight) in ip_vs_mh_shift_weight()360 weight = new_weight; in ip_vs_mh_shift_weight()