Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/trace/
Dftrace.c1356 struct ftrace_hash *new_hash; in alloc_and_copy_ftrace_hash() local
1360 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1361 if (!new_hash) in alloc_and_copy_ftrace_hash()
1365 new_hash->flags = hash->flags; in alloc_and_copy_ftrace_hash()
1369 return new_hash; in alloc_and_copy_ftrace_hash()
1374 if (add_hash_entry(new_hash, entry->ip) == NULL) in alloc_and_copy_ftrace_hash()
1379 FTRACE_WARN_ON(new_hash->count != hash->count); in alloc_and_copy_ftrace_hash()
1381 return new_hash; in alloc_and_copy_ftrace_hash()
1384 free_ftrace_hash(new_hash); in alloc_and_copy_ftrace_hash()
1392 struct ftrace_hash *new_hash);
[all …]
/linux-6.12.1/scripts/
Dparse-maintainers.pl178 my %new_hash;
185 $new_hash{$key} = $hash{$key};
192 alpha_output(\%new_hash, $output_section);
/linux-6.12.1/net/unix/
Daf_unix.c1195 unsigned int new_hash, old_hash; in unix_autobind() local
1225 new_hash = unix_abstract_hash(addr->name, addr->len, sk->sk_type); in unix_autobind()
1226 unix_table_double_lock(net, old_hash, new_hash); in unix_autobind()
1228 if (__unix_find_socket_byname(net, addr->name, addr->len, new_hash)) { in unix_autobind()
1229 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1246 __unix_set_addr_hash(net, sk, addr, new_hash); in unix_autobind()
1247 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1260 unsigned int new_hash, old_hash; in unix_bind_bsd() local
1299 new_hash = unix_bsd_hash(d_backing_inode(dentry)); in unix_bind_bsd()
1300 unix_table_double_lock(net, old_hash, new_hash); in unix_bind_bsd()
[all …]
/linux-6.12.1/lib/
Drhashtable.c237 unsigned int new_hash; in rhashtable_rehash_one() local
259 new_hash = head_hashfn(ht, new_tbl, entry); in rhashtable_rehash_one()
261 flags = rht_lock_nested(new_tbl, &new_tbl->buckets[new_hash], in rhashtable_rehash_one()
264 head = rht_ptr(new_tbl->buckets + new_hash, new_tbl, new_hash); in rhashtable_rehash_one()
268 rht_assign_unlock(new_tbl, &new_tbl->buckets[new_hash], entry, flags); in rhashtable_rehash_one()
/linux-6.12.1/fs/bcachefs/
Dbtree_update_interior.c2329 struct btree *b, struct btree *new_hash, in __bch2_btree_node_update_key() argument
2350 if (new_hash) { in __bch2_btree_node_update_key()
2351 bkey_copy(&new_hash->key, new_key); in __bch2_btree_node_update_key()
2353 new_hash, b->c.level, b->c.btree_id); in __bch2_btree_node_update_key()
2398 if (new_hash) { in __bch2_btree_node_update_key()
2400 bch2_btree_node_hash_remove(&c->btree_cache, new_hash); in __bch2_btree_node_update_key()
2417 if (new_hash) { in __bch2_btree_node_update_key()
2430 struct btree *new_hash = NULL; in bch2_btree_node_update_key() local
2453 new_hash = bch2_btree_node_mem_alloc(trans, false); in bch2_btree_node_update_key()
2454 ret = PTR_ERR_OR_ZERO(new_hash); in bch2_btree_node_update_key()
[all …]
/linux-6.12.1/include/net/
Dudp.h196 void udp_lib_rehash(struct sock *sk, u16 new_hash);
/linux-6.12.1/net/ipv4/
Dfib_semantics.c1293 unsigned int new_hash; in fib_info_hash_move() local
1295 new_hash = fib_info_hashfn(fi); in fib_info_hash_move()
1296 dest = &new_info_hash[new_hash]; in fib_info_hash_move()
Dudp.c2046 u16 new_hash = ipv4_portaddr_hash(sock_net(sk), in udp_v4_rehash() local
2049 udp_lib_rehash(sk, new_hash); in udp_v4_rehash()
/linux-6.12.1/net/ipv6/
Dudp.c110 u16 new_hash = ipv6_portaddr_hash(sock_net(sk), in udp_v6_rehash() local
114 udp_lib_rehash(sk, new_hash); in udp_v6_rehash()