Lines Matching defs:svc
89 ip_vs_dh_assign(struct ip_vs_dh_bucket *tbl, struct ip_vs_service *svc)
97 p = &svc->destinations;
102 if (p == &svc->destinations)
136 static int ip_vs_dh_init_svc(struct ip_vs_service *svc)
147 svc->sched_data = tbl;
153 ip_vs_dh_assign(tbl, svc);
159 static int ip_vs_dh_done_svc(struct ip_vs_service *svc)
161 struct ip_vs_dh_bucket *tbl = svc->sched_data;
167 kfree(svc->sched_data);
175 static int ip_vs_dh_update_svc(struct ip_vs_service *svc)
177 struct ip_vs_dh_bucket *tbl = svc->sched_data;
183 ip_vs_dh_assign(tbl, svc);
203 ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
211 tbl = (struct ip_vs_dh_bucket *)svc->sched_data;