Lines Matching refs:hash

160 	struct fnhe_hash_bucket *hash;  in free_nh_exceptions()  local
163 hash = rcu_dereference_protected(nh->nh_exceptions, 1); in free_nh_exceptions()
164 if (!hash) in free_nh_exceptions()
169 fnhe = rcu_dereference_protected(hash[i].chain, 1); in free_nh_exceptions()
183 kfree(hash); in free_nh_exceptions()
304 unsigned int hash; in fib_find_info() local
306 hash = fib_info_hashfn(nfi); in fib_find_info()
307 head = &fib_info_hash[hash]; in fib_find_info()
336 unsigned int hash; in ip_fib_check_default() local
340 hash = fib_devindex_hashfn(dev->ifindex); in ip_fib_check_default()
341 head = &fib_info_devhash[hash]; in ip_fib_check_default()
683 static void fib_info_hash_free(struct hlist_head *hash, int bytes) in fib_info_hash_free() argument
685 if (!hash) in fib_info_hash_free()
689 kfree(hash); in fib_info_hash_free()
691 free_pages((unsigned long) hash, get_order(bytes)); in fib_info_hash_free()
967 unsigned int hash; in fib_create_info() local
971 hash = fib_devindex_hashfn(nexthop_nh->nh_dev->ifindex); in fib_create_info()
972 head = &fib_info_devhash[hash]; in fib_create_info()
1092 unsigned int hash = fib_laddr_hashfn(local); in fib_sync_down_addr() local
1093 struct hlist_head *head = &fib_info_laddrhash[hash]; in fib_sync_down_addr()
1115 unsigned int hash = fib_devindex_hashfn(dev->ifindex); in fib_sync_down_dev() local
1116 struct hlist_head *head = &fib_info_devhash[hash]; in fib_sync_down_dev()
1226 unsigned int hash; in fib_sync_up() local
1235 hash = fib_devindex_hashfn(dev->ifindex); in fib_sync_up()
1236 head = &fib_info_devhash[hash]; in fib_sync_up()