Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c248 unsigned long local_hash; in test_server() local
286 local_hash = hash_djb2(data, data_len); in test_server()
288 local_hash = 0; in test_server()
294 if (remote_hash != local_hash) { in test_server()
406 unsigned long local_hash, remote_hash; in test_stream_msgzcopy_mangle_server() local
424 local_hash = hash_djb2(rbuf, GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
426 if (local_hash != remote_hash) { in test_stream_msgzcopy_mangle_server()
H A Dvsock_uring_test.c116 unsigned long local_hash; in vsock_io_uring_server() local
169 local_hash = hash_djb2(data, data_len); in vsock_io_uring_server()
172 if (remote_hash != local_hash) { in vsock_io_uring_server()
/linux/net/batman-adv/
H A Dtranslation-table.c178 tt_common_entry = batadv_tt_hash_find(bat_priv->tt.local_hash, addr, in batadv_tt_local_hash_find()
536 if (bat_priv->tt.local_hash) in batadv_tt_local_init()
539 bat_priv->tt.local_hash = batadv_hash_new(1024); in batadv_tt_local_init()
541 if (!bat_priv->tt.local_hash) in batadv_tt_local_init()
544 batadv_hash_set_lock_class(bat_priv->tt.local_hash, in batadv_tt_local_init()
701 hash_added = batadv_hash_add(bat_priv->tt.local_hash, batadv_compare_tt, in batadv_tt_local_add()
1159 hash = bat_priv->tt.local_hash; in batadv_tt_local_dump()
1246 tt_removed_node = batadv_hash_remove(bat_priv->tt.local_hash, in batadv_tt_local_remove()
1309 struct batadv_hashtable *hash = bat_priv->tt.local_hash; in batadv_tt_local_purge()
1334 if (!bat_priv->tt.local_hash) in batadv_tt_local_table_free()
[all …]
/linux/kernel/trace/
H A Dftrace.c75 .func_hash = &opsname.local_hash, \
76 .local_hash.regex_lock = __MUTEX_INITIALIZER(opsname.local_hash.regex_lock), \
163 mutex_init(&ops->local_hash.regex_lock); in ftrace_ops_init()
165 ops->func_hash = &ops->local_hash; in ftrace_ops_init()
1093 .local_hash.notrace_hash = EMPTY_HASH,
1094 .local_hash.filter_hash = EMPTY_HASH,
1962 if (ops->func_hash != &global_ops.local_hash) in ftrace_hash_rec_update_modify()
1973 if (op->func_hash == &global_ops.local_hash) in ftrace_hash_rec_update_modify()
5019 if (ops->func_hash != &global_ops.local_hash) in ftrace_ops_update_code()
5023 if (op->func_hash == &global_ops.local_hash && in ftrace_ops_update_code()
[all …]
H A Dfgraph.c1019 dst_ops->func_hash = &src_ops->local_hash; in fgraph_init_ops()
1020 mutex_init(&dst_ops->local_hash.regex_lock); in fgraph_init_ops()
/linux/include/linux/
H A Dftrace.h454 struct ftrace_ops_hash local_hash; member