Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A 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/drivers/net/ethernet/netronome/nfp/flower/
H A 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
H A 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/io_uring/
H A Dpoll.c128 hlist_add_head(&req->hash_node, &table->hbs[index].list); in io_poll_req_insert()
345 hash_del(&req->hash_node); in io_poll_task_func()
548 INIT_HLIST_NODE(&req->hash_node); in __io_arm_poll_handler()
738 hlist_for_each_entry_safe(req, tmp, &hb->list, hash_node) { in io_poll_remove_all()
740 hlist_del_init(&req->hash_node); in io_poll_remove_all()
756 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_find()
780 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_file_find()
795 hash_del(&req->hash_node); in io_poll_disarm()
H A Dwaitid.c137 hlist_del_init(&req->hash_node); in io_waitid_complete()
313 hlist_add_head(&req->hash_node, &ctx->waitid_list); in io_waitid()
338 hlist_del_init(&req->hash_node); in io_waitid()
H A Dfdinfo.c229 hlist_for_each_entry(req, &hb->list, hash_node) in __io_uring_show_fdinfo()
/linux/block/
H A 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()
404 hlist_del(&slot->hash_node); in __blk_crypto_evict_key()
/linux/net/openvswitch/
H A 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()
H A Dvport.h81 struct hlist_node hash_node; member
/linux/fs/afs/
H A Dsecurity.c131 hash_del_rcu(&permits->hash_node); in afs_put_permits()
285 hash_for_each_possible(afs_permits_cache, xpermits, hash_node, new->h) { in afs_cache_permit()
303 hash_add_rcu(afs_permits_cache, &new->hash_node, new->h); in afs_cache_permit()
H A Dinternal.h772 struct hlist_node hash_node; /* Link in hash */ member
/linux/net/ipv4/
H A Dip_tunnel.c94 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
108 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
126 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
143 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
198 hlist_add_head_rcu(&t->hash_node, head); in ip_tunnel_add()
205 hlist_del_init_rcu(&t->hash_node); in ip_tunnel_del()
222 hlist_for_each_entry_rcu(t, head, hash_node, lockdep_rtnl_is_held()) { in ip_tunnel_find()
1182 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_delete_net()
/linux/include/linux/sched/
H A Dext.h79 struct rhash_head hash_node; member
/linux/fs/ocfs2/dlm/
H A 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()
H A 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()
H A Ddlmcommon.h276 struct hlist_node hash_node; member
H A Ddlmrecovery.c2160 hlist_for_each_entry(res, bucket, hash_node) { in dlm_finish_local_lockres_recovery()
2346 hlist_for_each_entry_safe(res, tmp, bucket, hash_node) { in dlm_do_local_recovery_cleanup()
/linux/net/mac80211/
H A Dsta_info.h705 struct rhlist_head hash_node; member
888 sta_info_hash_lookup(local, _addr), hash_node)
/linux/kernel/
H A 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()
4816 INIT_HLIST_NODE(&pool->hash_node); in init_worker_pool()
4981 hash_del(&pool->hash_node); in put_unbound_pool()
5055 hash_for_each_possible(unbound_pool_hash, pool, hash_node, hash) { in get_unbound_pool()
5087 hash_add(unbound_pool_hash, &pool->hash_node, hash); in get_unbound_pool()
7962 hash_for_each(unbound_pool_hash, bkt, pool, hash_node) in workqueue_init()
/linux/include/net/
H A Dip_tunnels.h147 struct hlist_node hash_node; member
/linux/kernel/sched/
H A Dext.c104 .head_offset = offsetof(struct scx_dispatch_q, hash_node),
3431 if (rhashtable_remove_fast(&sch->dsq_hash, &dsq->hash_node, in destroy_dsq()
6306 ret = rhashtable_lookup_insert_fast(&sch->dsq_hash, &dsq->hash_node, in scx_bpf_create_dsq()