Home
last modified time | relevance | path

Searched refs:old_hash (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/lib/
Drhashtable.c226 unsigned int old_hash) in rhashtable_rehash_one() argument
241 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash), in rhashtable_rehash_one()
242 old_tbl, old_hash) { in rhashtable_rehash_one()
244 next = rht_dereference_bucket(entry->next, old_tbl, old_hash); in rhashtable_rehash_one()
277 unsigned int old_hash) in rhashtable_rehash_chain() argument
280 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash); in rhashtable_rehash_chain()
288 while (!(err = rhashtable_rehash_one(ht, bkt, old_hash))) in rhashtable_rehash_chain()
320 unsigned int old_hash; in rhashtable_rehash_table() local
327 for (old_hash = 0; old_hash < old_tbl->size; old_hash++) { in rhashtable_rehash_table()
328 err = rhashtable_rehash_chain(ht, old_hash); in rhashtable_rehash_table()
/linux-6.6.21/kernel/trace/
Dftrace.c1942 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify() argument
1969 if (!new_hash || !old_hash) in __ftrace_hash_update_ipmodify()
1979 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify()
2027 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify()
2066 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update() local
2068 if (ftrace_hash_empty(old_hash)) in ftrace_hash_ipmodify_update()
2069 old_hash = NULL; in ftrace_hash_ipmodify_update()
2074 return __ftrace_hash_update_ipmodify(ops, old_hash, new_hash); in ftrace_hash_ipmodify_update()
2445 if (hash_contains_ip(ip, &removed_ops->old_hash)) in ftrace_find_tramp_ops_curr()
2486 hash_contains_ip(ip, &op->old_hash)) in ftrace_find_tramp_ops_curr()
[all …]
/linux-6.6.21/net/unix/
Daf_unix.c1148 unsigned int new_hash, old_hash = sk->sk_hash; in unix_autobind() local
1179 unix_table_double_lock(net, old_hash, new_hash); in unix_autobind()
1182 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1200 unix_table_double_unlock(net, old_hash, new_hash); in unix_autobind()
1212 unsigned int new_hash, old_hash = sk->sk_hash; in unix_bind_bsd() local
1252 unix_table_double_lock(net, old_hash, new_hash); in unix_bind_bsd()
1256 unix_table_double_unlock(net, old_hash, new_hash); in unix_bind_bsd()
1278 unsigned int new_hash, old_hash = sk->sk_hash; in unix_bind_abstract() local
1298 unix_table_double_lock(net, old_hash, new_hash); in unix_bind_abstract()
1304 unix_table_double_unlock(net, old_hash, new_hash); in unix_bind_abstract()
[all …]
/linux-6.6.21/include/linux/
Dftrace.h334 struct ftrace_ops_hash old_hash; member
/linux-6.6.21/net/netfilter/
Dnf_conntrack_core.c2591 struct hlist_nulls_head *hash, *old_hash; in nf_conntrack_hash_resize() local
2635 old_hash = nf_conntrack_hash; in nf_conntrack_hash_resize()
2647 kvfree(old_hash); in nf_conntrack_hash_resize()