Home
last modified time | relevance | path

Searched refs:rhashtable (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v6.1/include/linux/
Drhashtable.h113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj()
125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash()
156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn()
165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn()
182 static inline bool rht_grow_above_75(const struct rhashtable *ht, in rht_grow_above_75()
195 static inline bool rht_shrink_below_30(const struct rhashtable *ht, in rht_shrink_below_30()
208 static inline bool rht_grow_above_100(const struct rhashtable *ht, in rht_grow_above_100()
220 static inline bool rht_grow_above_max(const struct rhashtable *ht, in rht_grow_above_max()
227 int lockdep_rht_mutex_is_held(struct rhashtable *ht);
230 static inline int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held()
[all …]
Drhashtable-types.h34 struct rhashtable *ht;
81 struct rhashtable { struct
98 struct rhashtable ht; argument
121 struct rhashtable *ht;
130 int rhashtable_init(struct rhashtable *ht,
Dipc_namespace.h28 struct rhashtable key_ht;
/Linux-v6.1/lib/
Drhashtable.c37 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn()
47 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held()
122 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc()
147 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc()
175 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc()
211 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table()
224 static int rhashtable_rehash_one(struct rhashtable *ht, in rhashtable_rehash_one()
274 static int rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain()
295 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach()
312 static int rhashtable_rehash_table(struct rhashtable *ht) in rhashtable_rehash_table()
[all …]
Dtest_rhashtable.c115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry()
137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup()
175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats()
208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable()
266 static struct rhashtable ht;
473 struct rhashtable *ht; in print_ht()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Dmain.h97 struct rhashtable offloaded_macs;
296 struct rhashtable flow_table;
299 struct rhashtable stats_ctx_table;
317 struct rhashtable meter_table;
319 struct rhashtable merge_table;
320 struct rhashtable ct_zone_table;
322 struct rhashtable ct_map_table;
324 struct rhashtable neigh_table;
Dconntrack.h72 struct rhashtable tc_merge_tb;
78 struct rhashtable nft_merge_tb;
Dmetadata.c611 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
630 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
656 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
/Linux-v6.1/include/net/
Dioam6.h43 struct rhashtable namespaces;
44 struct rhashtable schemas;
Dinet_frag.h22 struct rhashtable rhashtable ____cacheline_aligned_in_smp;
Dseg6.h40 struct rhashtable hmac_infos;
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera.h316 struct rhashtable nh_neigh_ht;
317 struct rhashtable nexthop_group_ht;
318 struct rhashtable fib_ht;
319 struct rhashtable kern_neigh_cache_ht;
320 struct rhashtable kern_fib_cache_ht;
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve.h25 struct rhashtable mc_list_ht;
26 struct rhashtable ipv6_ht;
Dspectrum_router.h26 struct rhashtable neigh_ht;
27 struct rhashtable nexthop_group_ht;
28 struct rhashtable nexthop_ht;
/Linux-v6.1/net/netfilter/
Dnf_flow_table_core.c289 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add()
295 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add()
299 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_add()
342 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del()
345 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del()
367 tuplehash = rhashtable_lookup(&flow_table->rhashtable, tuple, in flow_offload_lookup()
395 rhashtable_walk_enter(&flow_table->rhashtable, &hti); in nf_flow_table_iterate()
550 err = rhashtable_init(&flowtable->rhashtable, in nf_flow_table_init()
613 rhashtable_destroy(&flow_table->rhashtable); in nf_flow_table_free()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h185 int mlx5e_tc_ht_init(struct rhashtable *tc_ht);
186 void mlx5e_tc_ht_cleanup(struct rhashtable *tc_ht);
327 static inline int mlx5e_tc_ht_init(struct rhashtable *tc_ht) { return 0; } in mlx5e_tc_ht_init()
328 static inline void mlx5e_tc_ht_cleanup(struct rhashtable *tc_ht) {} in mlx5e_tc_ht_cleanup()
Den_rep.h47 struct rhashtable neigh_ht;
115 struct rhashtable tc_ht;
/Linux-v6.1/net/ipv4/
Dinet_fragment.c180 rhashtable_free_and_destroy(&fqdir->rhashtable, inet_frags_free_cb, NULL); in fqdir_work_fn()
195 res = rhashtable_init(&fqdir->rhashtable, &fqdir->f->rhash_params); in fqdir_init()
241 rhashtable_remove_fast(&fqdir->rhashtable, &fq->node, in inet_frag_kill()
341 *prev = rhashtable_lookup_get_insert_key(&fqdir->rhashtable, &q->key, in inet_frag_create()
364 prev = rhashtable_lookup(&fqdir->rhashtable, key, fqdir->f->rhash_params); in inet_frag_find()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dpeer.c171 struct rhashtable *rtbl, in ath11k_peer_rhash_insert()
191 struct rhashtable *rtbl, in ath11k_peer_rhash_remove()
505 struct rhashtable *rhash_id_tbl; in ath11k_peer_rhash_id_tbl_init()
560 struct rhashtable *rhash_addr_tbl; in ath11k_peer_rhash_addr_tbl_init()
/Linux-v6.1/net/netlink/
Daf_netlink.h58 struct rhashtable hash;
/Linux-v6.1/drivers/net/ethernet/sfc/
Dtc.h94 struct rhashtable match_action_ht;
/Linux-v6.1/net/ipv6/ila/
Dila.h100 struct rhashtable rhash_table;
/Linux-v6.1/include/net/netfilter/
Dnf_flow_table.h75 struct rhashtable rhashtable; member
/Linux-v6.1/net/tipc/
Dcore.h124 struct rhashtable sk_rht;
/Linux-v6.1/net/bridge/
Dbr_vlan_tunnel.c37 static struct net_bridge_vlan *br_vlan_tunnel_lookup(struct rhashtable *tbl, in br_vlan_tunnel_lookup()

1234