Lines Matching refs:svc
628 static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc) in ip_vs_lblcr_init_svc() argument
641 svc->sched_data = tbl; in ip_vs_lblcr_init_svc()
673 static int ip_vs_lblcr_done_svc(struct ip_vs_service *svc) in ip_vs_lblcr_done_svc() argument
675 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_done_svc()
684 kfree(svc->sched_data); in ip_vs_lblcr_done_svc()
692 static int ip_vs_lblcr_update_svc(struct ip_vs_service *svc) in ip_vs_lblcr_update_svc() argument
699 __ip_vs_wlc_schedule(struct ip_vs_service *svc, struct iphdr *iph) in __ip_vs_wlc_schedule() argument
723 l = &svc->destinations; in __ip_vs_wlc_schedule()
765 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded() argument
771 l = &svc->destinations; in is_overloaded()
788 ip_vs_lblcr_schedule(struct ip_vs_service *svc, struct iphdr *iph) in ip_vs_lblcr_schedule() argument
796 tbl = (struct ip_vs_lblcr_table *)svc->sched_data; in ip_vs_lblcr_schedule()
799 dest = __ip_vs_wlc_schedule(svc, iph); in ip_vs_lblcr_schedule()
812 if (!dest || is_overloaded(dest, svc)) { in ip_vs_lblcr_schedule()
813 dest = __ip_vs_wlc_schedule(svc, iph); in ip_vs_lblcr_schedule()