Home
last modified time | relevance | path

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

12

/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 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()
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/kernel/bpf/
H A Dhashtab.c113 struct hlist_nulls_node hash_node; member
426 offsetof(struct htab_elem, hash_node.pprev)); in htab_map_alloc_check()
623 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_elem_raw()
642 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_nulls_elem_raw()
803 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in htab_lru_map_delete_node()
805 hlist_nulls_del_rcu(&l->hash_node); in htab_lru_map_delete_node()
844 next_l = hlist_nulls_entry_safe(rcu_dereference_raw(hlist_nulls_next_rcu(&l->hash_node)), in htab_map_get_next_key()
845 struct htab_elem, hash_node); in htab_map_get_next_key()
864 struct htab_elem, hash_node); in htab_map_get_next_key()
1160 hlist_nulls_add_head_rcu(&l_new->hash_node, head); in htab_map_update_elem()
[all …]
/linux/io_uring/
H A Dfutex.c47 hlist_del_init(&req->hash_node); in __io_futex_complete()
105 hlist_del_init(&req->hash_node); in __io_futex_cancel()
261 hlist_add_head(&req->hash_node, &ctx->futex_list); in io_futexv_wait()
300 hlist_add_head(&req->hash_node, &ctx->futex_list); in io_futex_wait()
H A During_cmd.c59 hash_node) { in io_uring_try_cancel_uring_cmd()
88 hlist_del(&req->hash_node); in io_uring_cmd_del_cancelable()
110 hlist_add_head(&req->hash_node, &ctx->cancelable_uring_cmd); in io_uring_cmd_mark_cancelable()
H A Dwaitid.c123 hlist_del_init(&req->hash_node); in io_waitid_complete()
291 hlist_add_head(&req->hash_node, &ctx->waitid_list); in io_waitid()
317 hlist_del_init(&req->hash_node); in io_waitid()
H A Dcancel.c355 hlist_for_each_entry_safe(req, tmp, list, hash_node) { in io_cancel_remove_all()
358 hlist_del_init(&req->hash_node); in io_cancel_remove_all()
375 hlist_for_each_entry_safe(req, tmp, list, hash_node) { in io_cancel_remove()
/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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc_complex.h14 struct rhash_head hash_node; member
H A Dbwc_complex.c17 hash_node),
1099 &node->hash_node, in hws_bwc_rule_complex_hash_node_get()
1145 &node->hash_node, in hws_bwc_rule_complex_hash_node_put()
/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.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/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()
1196 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_delete_net()
/linux/include/linux/sched/
H A Dext.h66 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
/linux/net/mac80211/
H A Dsta_info.h705 struct rhlist_head hash_node; member
888 sta_info_hash_lookup(local, _addr), hash_node)
H A Dsta_info.c75 .head_offset = offsetof(struct sta_info, hash_node),
93 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
499 return rhltable_insert(&local->sta_hash, &sta->hash_node, in sta_info_hash_add()
/linux/include/linux/
H A Dio_uring_types.h703 struct hlist_node hash_node; member
/linux/kernel/
H A Dworkqueue.c223 struct hlist_node hash_node; /* PL: unbound_pool_hash node */ member
1306 struct hlist_node hash_node; member
1318 hash_for_each_possible_rcu(wci_hash, ent, hash_node, in wci_find_ent()
1372 hash_add_rcu(wci_hash, &ent->hash_node, (unsigned long)func); in wq_cpu_intensive_report()
4783 INIT_HLIST_NODE(&pool->hash_node); in init_worker_pool()
4945 hash_del(&pool->hash_node); in put_unbound_pool()
5019 hash_for_each_possible(unbound_pool_hash, pool, hash_node, hash) { in get_unbound_pool()
5051 hash_add(unbound_pool_hash, &pool->hash_node, hash); in get_unbound_pool()
7922 hash_for_each(unbound_pool_hash, bkt, pool, hash_node) in workqueue_init()
/linux/include/net/
H A Dip_tunnels.h145 struct hlist_node hash_node; member

12