Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_arena_htab.h36 struct arena_list_node hash_node; member
44 list_for_each_entry(l, head, hash_node) in lookup_elem_raw()
85 list_add_head(&l_new->hash_node, head); in htab_update_elem()
87 list_del(&l_old->hash_node); in htab_update_elem()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.h61 struct rhash_head hash_node; member
160 struct rhash_head hash_node; member
186 struct rhash_head hash_node; member
205 struct rhash_head hash_node; member
Dmetadata.c492 .head_offset = offsetof(struct nfp_fl_ct_zone_entry, hash_node),
499 .head_offset = offsetof(struct nfp_fl_ct_map_entry, hash_node),
624 &map->hash_node, in nfp_zone_table_entry_destroy()
643 &map->hash_node, in nfp_zone_table_entry_destroy()
669 &map->hash_node, in nfp_zone_table_entry_destroy()
Dconntrack.c12 hash_node),
20 hash_node),
1243 err = rhashtable_insert_fast(&zt->nft_merge_tb, &nft_m_entry->hash_node, in nfp_ct_do_nft_merge()
1319 err = rhashtable_insert_fast(&zt->tc_merge_tb, &m_entry->hash_node, in nfp_ct_do_tc_merge()
1384 &zt->hash_node, in get_nfp_zone_entry()
1584 &map->hash_node, in nfp_fl_ct_add_flow()
1624 &m_entry->hash_node, in cleanup_nft_merge_entry()
1676 &m_ent->hash_node, in nfp_del_tc_merge_entry()
2266 rhashtable_remove_fast(m_table, &ct_map_ent->hash_node, in nfp_fl_ct_del_flow()
2283 rhashtable_remove_fast(m_table, &ct_map_ent->hash_node, in nfp_fl_ct_del_flow()
[all …]
/linux-6.12.1/io_uring/
Dfutex.c50 hlist_del_init(&req->hash_node); in __io_futex_complete()
110 hlist_del_init(&req->hash_node); in __io_futex_cancel()
127 hlist_for_each_entry_safe(req, tmp, &ctx->futex_list, hash_node) { in io_futex_cancel()
153 hlist_for_each_entry_safe(req, tmp, &ctx->futex_list, hash_node) { in io_futex_remove_all()
156 hlist_del_init(&req->hash_node); in io_futex_remove_all()
309 hlist_add_head(&req->hash_node, &ctx->futex_list); in io_futexv_wait()
349 hlist_add_head(&req->hash_node, &ctx->futex_list); in io_futex_wait()
Dwaitid.c128 hlist_del_init(&req->hash_node); in io_waitid_complete()
170 hlist_for_each_entry_safe(req, tmp, &ctx->waitid_list, hash_node) { in io_waitid_cancel()
196 hlist_for_each_entry_safe(req, tmp, &ctx->waitid_list, hash_node) { in io_waitid_remove_all()
199 hlist_del_init(&req->hash_node); in io_waitid_remove_all()
331 hlist_add_head(&req->hash_node, &ctx->waitid_list); in io_waitid()
357 hlist_del_init(&req->hash_node); in io_waitid()
Dpoll.c128 hlist_add_head(&req->hash_node, &hb->list); in io_poll_req_insert()
139 hash_del(&req->hash_node); in io_poll_req_delete()
150 hlist_add_head(&req->hash_node, &table->hbs[index].list); in io_poll_req_insert_locked()
165 hash_del(&req->hash_node); in io_poll_tw_hash_eject()
585 INIT_HLIST_NODE(&req->hash_node); in __io_arm_poll_handler()
778 hlist_for_each_entry_safe(req, tmp, &hb->list, hash_node) { in io_poll_remove_all_table()
780 hlist_del_init(&req->hash_node); in io_poll_remove_all_table()
816 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_find()
847 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_file_find()
865 hash_del(&req->hash_node); in io_poll_disarm()
During_cmd.c59 hash_node) { in io_uring_try_cancel_uring_cmd()
91 hlist_del(&req->hash_node); in io_uring_cmd_del_cancelable()
113 hlist_add_head(&req->hash_node, &ctx->cancelable_uring_cmd); in io_uring_cmd_mark_cancelable()
Dfdinfo.c199 hlist_for_each_entry(req, &hb->list, hash_node) in io_uring_show_fdinfo()
206 hlist_for_each_entry(req, &hbl->list, hash_node) in io_uring_show_fdinfo()
/linux-6.12.1/kernel/bpf/
Dhashtab.c114 struct hlist_nulls_node hash_node; member
431 offsetof(struct htab_elem, hash_node.pprev)); in htab_map_alloc_check()
647 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_elem_raw()
666 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_nulls_elem_raw()
824 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in htab_lru_map_delete_node()
826 hlist_nulls_del_rcu(&l->hash_node); in htab_lru_map_delete_node()
864 next_l = hlist_nulls_entry_safe(rcu_dereference_raw(hlist_nulls_next_rcu(&l->hash_node)), in htab_map_get_next_key()
865 struct htab_elem, hash_node); in htab_map_get_next_key()
884 struct htab_elem, hash_node); in htab_map_get_next_key()
1183 hlist_nulls_add_head_rcu(&l_new->hash_node, head); in htab_map_update_elem()
[all …]
/linux-6.12.1/block/
Dblk-crypto-profile.c40 struct hlist_node hash_node; member
197 hlist_for_each_entry(slotp, head, hash_node) { in blk_crypto_find_keyslot()
304 hlist_del(&slot->hash_node); in blk_crypto_get_keyslot()
306 hlist_add_head(&slot->hash_node, in blk_crypto_get_keyslot()
402 hlist_del(&slot->hash_node); in __blk_crypto_evict_key()
/linux-6.12.1/net/openvswitch/
Dvport.c100 hlist_for_each_entry_rcu(vport, bucket, hash_node, in ovs_vport_locate()
225 hlist_add_head_rcu(&vport->hash_node, bucket); in ovs_vport_add()
269 hlist_del_rcu(&vport->hash_node); in ovs_vport_del()
Dvport.h81 struct hlist_node hash_node; member
/linux-6.12.1/fs/afs/
Dsecurity.c98 hash_del_rcu(&permits->hash_node); in afs_put_permits()
252 hash_for_each_possible(afs_permits_cache, xpermits, hash_node, new->h) { in afs_cache_permit()
270 hash_add_rcu(afs_permits_cache, &new->hash_node, new->h); in afs_cache_permit()
/linux-6.12.1/net/ipv4/
Dip_tunnel.c93 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
107 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
125 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
142 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
197 hlist_add_head_rcu(&t->hash_node, head); in ip_tunnel_add()
204 hlist_del_init_rcu(&t->hash_node); in ip_tunnel_del()
221 hlist_for_each_entry_rcu(t, head, hash_node, lockdep_rtnl_is_held()) { in ip_tunnel_find()
1192 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_destroy()
/linux-6.12.1/include/linux/sched/
Dext.h66 struct rhash_head hash_node; member
/linux-6.12.1/fs/ocfs2/dlm/
Ddlmdomain.c147 if (hlist_unhashed(&res->hash_node)) in __dlm_unhash_lockres()
152 hlist_del_init(&res->hash_node); in __dlm_unhash_lockres()
167 hlist_add_head(&res->hash_node, bucket); in __dlm_insert_lockres()
187 hlist_for_each_entry(res, bucket, hash_node) { in __dlm_lookup_lockres_full()
423 hash_node); in dlm_migrate_all_locks()
433 iter = res->hash_node.next; in dlm_migrate_all_locks()
Ddlmmaster.c481 if (!hlist_unhashed(&res->hash_node) || in dlm_lockres_release()
492 !hlist_unhashed(&res->hash_node) ? 'H' : ' ', in dlm_lockres_release()
505 BUG_ON(!hlist_unhashed(&res->hash_node)); in dlm_lockres_release()
541 INIT_HLIST_NODE(&res->hash_node); in dlm_init_lockres()
734 if (hlist_unhashed(&tmpres->hash_node)) { in dlm_get_lock_resource()
1446 if (hlist_unhashed(&res->hash_node)) { in dlm_master_request_handler()
Ddlmcommon.h276 struct hlist_node hash_node; member
Ddlmrecovery.c2162 hlist_for_each_entry(res, bucket, hash_node) { in dlm_finish_local_lockres_recovery()
2348 hlist_for_each_entry_safe(res, tmp, bucket, hash_node) { in dlm_do_local_recovery_cleanup()
/linux-6.12.1/net/mac80211/
Dsta_info.h654 struct rhlist_head hash_node; member
838 sta_info_hash_lookup(local, _addr), hash_node)
Dsta_info.c76 .head_offset = offsetof(struct sta_info, hash_node),
94 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
452 return rhltable_insert(&local->sta_hash, &sta->hash_node, in sta_info_hash_add()
/linux-6.12.1/include/linux/
Dio_uring_types.h647 struct hlist_node hash_node; member
/linux-6.12.1/kernel/
Dworkqueue.c223 struct hlist_node hash_node; /* PL: unbound_pool_hash node */ member
1302 struct hlist_node hash_node; member
1314 hash_for_each_possible_rcu(wci_hash, ent, hash_node, in wci_find_ent()
1368 hash_add_rcu(wci_hash, &ent->hash_node, (unsigned long)func); in wq_cpu_intensive_report()
4756 INIT_HLIST_NODE(&pool->hash_node); in init_worker_pool()
4918 hash_del(&pool->hash_node); in put_unbound_pool()
4992 hash_for_each_possible(unbound_pool_hash, pool, hash_node, hash) { in get_unbound_pool()
5024 hash_add(unbound_pool_hash, &pool->hash_node, hash); in get_unbound_pool()
7906 hash_for_each(unbound_pool_hash, bkt, pool, hash_node) in workqueue_init()
/linux-6.12.1/include/net/
Dip_tunnels.h144 struct hlist_node hash_node; member

12