Home
last modified time | relevance | path

Searched refs:hash_node (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/kernel/bpf/
Dhashtab.c51 struct hlist_nulls_node hash_node; member
250 offsetof(struct htab_elem, hash_node.pprev)); in htab_map_alloc_check()
252 offsetof(struct htab_elem, hash_node.pprev)); in htab_map_alloc_check()
430 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_elem_raw()
449 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_nulls_elem_raw()
576 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in htab_lru_map_delete_node()
578 hlist_nulls_del_rcu(&l->hash_node); in htab_lru_map_delete_node()
614 next_l = hlist_nulls_entry_safe(rcu_dereference_raw(hlist_nulls_next_rcu(&l->hash_node)), in htab_map_get_next_key()
615 struct htab_elem, hash_node); in htab_map_get_next_key()
634 struct htab_elem, hash_node); in htab_map_get_next_key()
[all …]
Dsockmap.c81 struct hlist_node hash_node; member
273 hlist_for_each_entry_rcu(l, head, hash_node) { in lookup_elem_raw()
359 hlist_del_rcu(&link->hash_node); in bpf_tcp_remove()
2271 hlist_for_each_entry_safe(l, n, head, hash_node) { in sock_hash_free()
2275 hlist_del_rcu(&l->hash_node); in sock_hash_free()
2346 rcu_dereference_raw(hlist_next_rcu(&l->hash_node)), in sock_hash_get_next_key()
2347 struct htab_elem, hash_node); in sock_hash_get_next_key()
2365 struct htab_elem, hash_node); in sock_hash_get_next_key()
2445 hlist_add_head_rcu(&l_new->hash_node, head); in sock_hash_ctx_update_elem()
2449 hlist_del_rcu(&l_old->hash_node); in sock_hash_ctx_update_elem()
[all …]
/Linux-v4.19/net/openvswitch/
Dvport.c112 hlist_for_each_entry_rcu(vport, bucket, hash_node) in ovs_vport_locate()
220 hlist_add_head_rcu(&vport->hash_node, bucket); in ovs_vport_add()
266 hlist_del_rcu(&vport->hash_node); in ovs_vport_del()
Dvport.h89 struct hlist_node hash_node; member
/Linux-v4.19/fs/afs/
Dsecurity.c73 hash_del_rcu(&permits->hash_node); in afs_put_permits()
230 hash_for_each_possible(afs_permits_cache, xpermits, hash_node, new->h) { in afs_cache_permit()
248 hash_add_rcu(afs_permits_cache, &new->hash_node, new->h); in afs_cache_permit()
Dinternal.h565 struct hlist_node hash_node; /* Link in hash */ member
/Linux-v4.19/net/ipv4/
Dip_tunnel.c108 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
123 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
141 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
161 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
214 hlist_add_head_rcu(&t->hash_node, head); in ip_tunnel_add()
221 hlist_del_init_rcu(&t->hash_node); in ip_tunnel_del()
236 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_find()
1061 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_destroy()
/Linux-v4.19/net/mac80211/
Dsta_info.h490 struct rhlist_head hash_node; member
691 sta_info_hash_lookup(local, _addr), hash_node)
Dsta_info.c73 .head_offset = offsetof(struct sta_info, hash_node),
83 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
266 return rhltable_insert(&local->sta_hash, &sta->hash_node, in sta_info_hash_add()
/Linux-v4.19/fs/ocfs2/dlm/
Ddlmdomain.c164 if (hlist_unhashed(&res->hash_node)) in __dlm_unhash_lockres()
169 hlist_del_init(&res->hash_node); in __dlm_unhash_lockres()
184 hlist_add_head(&res->hash_node, bucket); in __dlm_insert_lockres()
204 hlist_for_each_entry(res, bucket, hash_node) { in __dlm_lookup_lockres_full()
441 hash_node); in dlm_migrate_all_locks()
451 iter = res->hash_node.next; in dlm_migrate_all_locks()
Ddlmmaster.c498 if (!hlist_unhashed(&res->hash_node) || in dlm_lockres_release()
509 !hlist_unhashed(&res->hash_node) ? 'H' : ' ', in dlm_lockres_release()
522 BUG_ON(!hlist_unhashed(&res->hash_node)); in dlm_lockres_release()
558 INIT_HLIST_NODE(&res->hash_node); in dlm_init_lockres()
751 if (hlist_unhashed(&tmpres->hash_node)) { in dlm_get_lock_resource()
1463 if (hlist_unhashed(&res->hash_node)) { in dlm_master_request_handler()
Ddlmcommon.h297 struct hlist_node hash_node; member
Ddlmrecovery.c2188 hlist_for_each_entry(res, bucket, hash_node) { in dlm_finish_local_lockres_recovery()
2374 hlist_for_each_entry_safe(res, tmp, bucket, hash_node) { in dlm_do_local_recovery_cleanup()
/Linux-v4.19/include/net/
Dip_tunnels.h106 struct hlist_node hash_node; member
/Linux-v4.19/kernel/
Dworkqueue.c175 struct hlist_node hash_node; /* PL: unbound_pool_hash node */ member
3307 INIT_HLIST_NODE(&pool->hash_node); in init_worker_pool()
3369 hash_del(&pool->hash_node); in put_unbound_pool()
3426 hash_for_each_possible(unbound_pool_hash, pool, hash_node, hash) { in get_unbound_pool()
3467 hash_add(unbound_pool_hash, &pool->hash_node, hash); in get_unbound_pool()
5809 hash_for_each(unbound_pool_hash, bkt, pool, hash_node) in workqueue_init()