/kernel/linux/linux-5.10/lib/ |
H A D | rhashtable.c | 226 unsigned int old_hash) in rhashtable_rehash_one() 240 rht_for_each_from(entry, rht_ptr(bkt, old_tbl, old_hash), in rhashtable_rehash_one() 241 old_tbl, old_hash) { in rhashtable_rehash_one() 243 next = rht_dereference_bucket(entry->next, old_tbl, old_hash); in rhashtable_rehash_one() 275 unsigned int old_hash) in rhashtable_rehash_chain() 278 struct rhash_lock_head __rcu **bkt = rht_bucket_var(old_tbl, old_hash); in rhashtable_rehash_chain() 285 while (!(err = rhashtable_rehash_one(ht, bkt, old_hash))) in rhashtable_rehash_chain() 317 unsigned int old_hash; in rhashtable_rehash_table() local 324 for (old_hash = 0; old_hash < old_tb in rhashtable_rehash_table() 224 rhashtable_rehash_one(struct rhashtable *ht, struct rhash_lock_head __rcu **bkt, unsigned int old_hash) rhashtable_rehash_one() argument 274 rhashtable_rehash_chain(struct rhashtable *ht, unsigned int old_hash) rhashtable_rehash_chain() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | rhashtable.c | 226 unsigned int old_hash) in rhashtable_rehash_one() 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() 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_tb in rhashtable_rehash_table() 224 rhashtable_rehash_one(struct rhashtable *ht, struct rhash_lock_head __rcu **bkt, unsigned int old_hash) rhashtable_rehash_one() argument 276 rhashtable_rehash_chain(struct rhashtable *ht, unsigned int old_hash) rhashtable_rehash_chain() argument [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | ftrace.c | 1929 * Note that old_hash and new_hash has below meanings 1942 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify() 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() 1941 __ftrace_hash_update_ipmodify(struct ftrace_ops *ops, struct ftrace_hash *old_hash, struct ftrace_hash *new_hash) __ftrace_hash_update_ipmodify() argument 2928 ftrace_run_modify_code(struct ftrace_ops *ops, int command, struct ftrace_ops_hash *old_hash) ftrace_run_modify_code() argument 4346 ftrace_ops_update_code(struct ftrace_ops *ops, struct ftrace_ops_hash *old_hash) ftrace_ops_update_code() argument 4383 struct ftrace_hash *old_hash; ftrace_hash_move_and_update_ops() local 4803 struct ftrace_hash *old_hash; register_ftrace_function_probe() local 4949 struct ftrace_hash *old_hash; unregister_ftrace_function_probe_func() local 6214 struct ftrace_hash *old_hash, *new_hash; ftrace_graph_release() local [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | ftrace.c | 1862 * Note that old_hash and new_hash has below meanings 1868 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify() 1886 if (!new_hash || !old_hash) in __ftrace_hash_update_ipmodify() 1896 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify() 1924 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify() 1963 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update() local 1965 if (ftrace_hash_empty(old_hash)) in ftrace_hash_ipmodify_update() 1966 old_hash = NULL; in ftrace_hash_ipmodify_update() 1971 return __ftrace_hash_update_ipmodify(ops, old_hash, new_hash); in ftrace_hash_ipmodify_update() 2309 if (hash_contains_ip(ip, &removed_ops->old_hash)) in ftrace_find_tramp_ops_curr() 1867 __ftrace_hash_update_ipmodify(struct ftrace_ops *ops, struct ftrace_hash *old_hash, struct ftrace_hash *new_hash) __ftrace_hash_update_ipmodify() argument 2784 ftrace_run_modify_code(struct ftrace_ops *ops, int command, struct ftrace_ops_hash *old_hash) ftrace_run_modify_code() argument 4079 ftrace_ops_update_code(struct ftrace_ops *ops, struct ftrace_ops_hash *old_hash) ftrace_ops_update_code() argument 4116 struct ftrace_hash *old_hash; ftrace_hash_move_and_update_ops() local 4538 struct ftrace_hash *old_hash; register_ftrace_function_probe() local 4682 struct ftrace_hash *old_hash; unregister_ftrace_function_probe_func() local 5960 struct ftrace_hash *old_hash, *new_hash; ftrace_graph_release() local [all...] |
/kernel/linux/linux-6.6/net/unix/ |
H A D | af_unix.c | 1148 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_has in unix_bind_abstract() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ftrace.h | 209 struct ftrace_ops_hash old_hash; member
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_core.c | 2458 struct hlist_nulls_head *hash, *old_hash; in nf_conntrack_hash_resize() local 2499 old_hash = nf_conntrack_hash; in nf_conntrack_hash_resize() 2511 kvfree(old_hash); in nf_conntrack_hash_resize()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ftrace.h | 334 struct ftrace_ops_hash old_hash; member
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_core.c | 2591 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()
|