Lines Matching refs:svc
84 ip_vs_sh_assign(struct ip_vs_sh_bucket *tbl, struct ip_vs_service *svc) in ip_vs_sh_assign() argument
92 p = &svc->destinations; in ip_vs_sh_assign()
97 if (p == &svc->destinations) in ip_vs_sh_assign()
131 static int ip_vs_sh_init_svc(struct ip_vs_service *svc) in ip_vs_sh_init_svc() argument
142 svc->sched_data = tbl; in ip_vs_sh_init_svc()
148 ip_vs_sh_assign(tbl, svc); in ip_vs_sh_init_svc()
154 static int ip_vs_sh_done_svc(struct ip_vs_service *svc) in ip_vs_sh_done_svc() argument
156 struct ip_vs_sh_bucket *tbl = svc->sched_data; in ip_vs_sh_done_svc()
162 kfree(svc->sched_data); in ip_vs_sh_done_svc()
170 static int ip_vs_sh_update_svc(struct ip_vs_service *svc) in ip_vs_sh_update_svc() argument
172 struct ip_vs_sh_bucket *tbl = svc->sched_data; in ip_vs_sh_update_svc()
178 ip_vs_sh_assign(tbl, svc); in ip_vs_sh_update_svc()
201 ip_vs_sh_schedule(struct ip_vs_service *svc, struct iphdr *iph) in ip_vs_sh_schedule() argument
208 tbl = (struct ip_vs_sh_bucket *)svc->sched_data; in ip_vs_sh_schedule()