Lines Matching refs:weight
181 if ((atomic_read(&least->weight) > 0) in ip_vs_dest_set_min()
197 if ((loh * atomic_read(&dest->weight) > in ip_vs_dest_set_min()
198 doh * atomic_read(&least->weight)) in ip_vs_dest_set_min()
211 atomic_read(&least->weight), loh); in ip_vs_dest_set_min()
230 if (atomic_read(&most->weight) > 0) { in ip_vs_dest_set_max()
246 if ((moh * atomic_read(&dest->weight) < in ip_vs_dest_set_max()
247 doh * atomic_read(&most->weight)) in ip_vs_dest_set_max()
248 && (atomic_read(&dest->weight) > 0)) { in ip_vs_dest_set_max()
260 atomic_read(&most->weight), moh); in ip_vs_dest_set_max()
726 if (atomic_read(&least->weight) > 0) { in __ip_vs_wlc_schedule()
742 if (loh * atomic_read(&dest->weight) > in __ip_vs_wlc_schedule()
743 doh * atomic_read(&least->weight)) { in __ip_vs_wlc_schedule()
754 atomic_read(&least->weight), loh); in __ip_vs_wlc_schedule()
767 if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)) { in is_overloaded()
775 < atomic_read(&d->weight)) { in is_overloaded()