Lines Matching refs:h1
133 unsigned int h1, h2; in rsvp_classify() local
167 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
170 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify()
226 unsigned int h1 = h & 0xFF; in rsvp_replace() local
229 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace()
252 unsigned int h1 = handle & 0xFF; in rsvp_get() local
258 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get()
315 int h1, h2; in rsvp_destroy() local
320 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy()
323 while ((s = rtnl_dereference(data->ht[h1])) != NULL) { in rsvp_destroy()
324 RCU_INIT_POINTER(data->ht[h1], s->next); in rsvp_destroy()
349 int i, h1; in rsvp_delete() local
381 for (h1 = 0; h1 < 256; h1++) { in rsvp_delete()
382 if (rcu_access_pointer(head->ht[h1])) { in rsvp_delete()
423 int h1, h2; in tunnel_recycle() local
427 for (h1 = 0; h1 < 256; h1++) { in tunnel_recycle()
429 for (s = rtnl_dereference(sht[h1]); s; in tunnel_recycle()
487 unsigned int h1, h2; in rsvp_change() local
567 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
570 if ((f->handle = gen_handle(tp, h1 | (h2<<8))) == 0) in rsvp_change()
584 for (sp = &data->ht[h1]; in rsvp_change()
637 sp = &data->ht[h1]; in rsvp_change()
660 unsigned int h, h1; in rsvp_walk() local
670 for (h1 = 0; h1 <= 16; h1++) { in rsvp_walk()
673 for (f = rtnl_dereference(s->ht[h1]); f; in rsvp_walk()