Lines Matching refs:tbl
85 ip_vs_sh_get(int af, struct ip_vs_sh_bucket *tbl,
88 return (tbl[ip_vs_sh_hashkey(af, addr)]).dest;
96 ip_vs_sh_assign(struct ip_vs_sh_bucket *tbl, struct ip_vs_service *svc)
103 b = tbl;
127 static void ip_vs_sh_flush(struct ip_vs_sh_bucket *tbl)
132 b = tbl;
145 struct ip_vs_sh_bucket *tbl;
148 tbl = kmalloc(sizeof(struct ip_vs_sh_bucket)*IP_VS_SH_TAB_SIZE,
150 if (tbl == NULL) {
154 svc->sched_data = tbl;
160 ip_vs_sh_assign(tbl, svc);
168 struct ip_vs_sh_bucket *tbl = svc->sched_data;
171 ip_vs_sh_flush(tbl);
184 struct ip_vs_sh_bucket *tbl = svc->sched_data;
187 ip_vs_sh_flush(tbl);
190 ip_vs_sh_assign(tbl, svc);
213 struct ip_vs_sh_bucket *tbl;
220 tbl = (struct ip_vs_sh_bucket *)svc->sched_data;
221 dest = ip_vs_sh_get(svc->af, tbl, &iph.saddr);