Home
last modified time | relevance | path

Searched refs:new_hash (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/lib/
Drhashtable.c167 unsigned int new_hash; in rhashtable_rehash_one() local
182 new_hash = head_hashfn(ht, new_tbl, entry); in rhashtable_rehash_one()
184 new_bucket_lock = rht_bucket_lock(new_tbl, new_hash); in rhashtable_rehash_one()
187 head = rht_dereference_bucket(new_tbl->buckets[new_hash], in rhashtable_rehash_one()
188 new_tbl, new_hash); in rhashtable_rehash_one()
191 INIT_RHT_NULLS_HEAD(entry->next, ht, new_hash); in rhashtable_rehash_one()
195 rcu_assign_pointer(new_tbl->buckets[new_hash], entry); in rhashtable_rehash_one()
/linux-4.1.27/kernel/trace/
Dftrace.c1362 struct ftrace_hash *new_hash; in alloc_and_copy_ftrace_hash() local
1367 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1368 if (!new_hash) in alloc_and_copy_ftrace_hash()
1373 return new_hash; in alloc_and_copy_ftrace_hash()
1378 ret = add_hash_entry(new_hash, entry->ip); in alloc_and_copy_ftrace_hash()
1384 FTRACE_WARN_ON(new_hash->count != hash->count); in alloc_and_copy_ftrace_hash()
1386 return new_hash; in alloc_and_copy_ftrace_hash()
1389 free_ftrace_hash(new_hash); in alloc_and_copy_ftrace_hash()
1399 struct ftrace_hash *new_hash);
1408 struct ftrace_hash *new_hash; in ftrace_hash_move() local
[all …]
/linux-4.1.27/net/ipv4/
Dfib_semantics.c714 unsigned int new_hash; in fib_info_hash_move() local
718 new_hash = fib_info_hashfn(fi); in fib_info_hash_move()
719 dest = &new_info_hash[new_hash]; in fib_info_hash_move()
732 unsigned int new_hash; in fib_info_hash_move() local
736 new_hash = fib_laddr_hashfn(fi->fib_prefsrc); in fib_info_hash_move()
737 ldest = &new_laddrhash[new_hash]; in fib_info_hash_move()
Dudp.c1444 u16 new_hash = udp4_portaddr_hash(sock_net(sk), in udp_v4_rehash() local
1447 udp_lib_rehash(sk, new_hash); in udp_v4_rehash()
/linux-4.1.27/include/net/
Dudp.h186 void udp_lib_rehash(struct sock *sk, u16 new_hash);
/linux-4.1.27/net/ipv6/
Dudp.c137 u16 new_hash = udp6_portaddr_hash(sock_net(sk), in udp_v6_rehash() local
141 udp_lib_rehash(sk, new_hash); in udp_v6_rehash()