Lines Matching refs:h1
137 unsigned int h1, h2; in rsvp_classify() local
172 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
175 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify()
231 unsigned int h1 = h & 0xFF; in rsvp_replace() local
234 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace()
257 unsigned int h1 = handle & 0xFF; in rsvp_get() local
263 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get()
297 int h1, h2; in rsvp_destroy() local
303 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy()
304 if (rcu_access_pointer(data->ht[h1])) in rsvp_destroy()
311 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy()
314 while ((s = rtnl_dereference(data->ht[h1])) != NULL) { in rsvp_destroy()
315 RCU_INIT_POINTER(data->ht[h1], s->next); in rsvp_destroy()
404 int h1, h2; in tunnel_recycle() local
408 for (h1 = 0; h1 < 256; h1++) { in tunnel_recycle()
410 for (s = rtnl_dereference(sht[h1]); s; in tunnel_recycle()
469 unsigned int h1, h2; in rsvp_change() local
538 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
541 if ((f->handle = gen_handle(tp, h1 | (h2<<8))) == 0) in rsvp_change()
555 for (sp = &data->ht[h1]; in rsvp_change()
608 sp = &data->ht[h1]; in rsvp_change()
629 unsigned int h, h1; in rsvp_walk() local
639 for (h1 = 0; h1 <= 16; h1++) { in rsvp_walk()
642 for (f = rtnl_dereference(s->ht[h1]); f; in rsvp_walk()