Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/sfc/
H A Dtc.h308 struct rhashtable counter_ht;
309 struct rhashtable counter_id_ht;
310 struct rhashtable encap_ht;
311 struct rhashtable mac_ht;
312 struct rhashtable encap_match_ht;
313 struct rhashtable match_action_ht;
314 struct rhashtable lhs_rule_ht;
315 struct rhashtable ct_zone_ht;
316 struct rhashtable ct_ht;
317 struct rhashtable neigh_ht;
[all …]
/linux/include/linux/
H A 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 …]
/linux/lib/
H A 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()
148 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc()
177 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc()
215 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table()
228 static int rhashtable_rehash_one(struct rhashtable *ht, in rhashtable_rehash_one()
280 static int rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain()
302 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach()
319 static int rhashtable_rehash_table(struct rhashtable *ht) in rhashtable_rehash_table()
[all …]
H A Dtest_rhashtable.c20 #include <linux/rhashtable.h>
116 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry()
138 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup()
176 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats()
209 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable()
267 static struct rhashtable ht;
472 struct rhashtable *ht; in print_ht()
704 pr_info("Running rhashtable test nelem=%d, max_size=%d, shrinking=%d\n", in test_rht_init()
744 pr_info("Testing concurrent rhashtable access from %d threads\n", in test_rht_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c11 struct rhashtable ht;
66 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_add()
115 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_del_flow()
170 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_fill_stats()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.h99 struct rhashtable offloaded_macs;
313 struct rhashtable flow_table;
316 struct rhashtable stats_ctx_table;
334 struct rhashtable meter_table;
336 struct rhashtable merge_table;
337 struct rhashtable ct_zone_table;
339 struct rhashtable ct_map_table;
341 struct rhashtable neigh_table;
H A Dconntrack.h72 struct rhashtable tc_merge_tb;
78 struct rhashtable nft_merge_tb;
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h23 struct rhashtable crif_ht;
31 struct rhashtable neigh_ht;
32 struct rhashtable nexthop_group_ht;
33 struct rhashtable nexthop_ht;
H A Dspectrum_nve.h25 struct rhashtable mc_list_ht;
26 struct rhashtable ipv6_ht;
/linux/include/net/
H A Dioam6.h44 struct rhashtable namespaces;
45 struct rhashtable schemas;
H A Dinet_frag.h23 struct rhashtable rhashtable ____cacheline_aligned_in_smp;
H A Dseg6.h40 struct rhashtable hmac_infos;
/linux/drivers/net/ethernet/marvell/prestera/
H A 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/net/netfilter/
H A Dnf_flow_table_core.c281 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add()
287 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add()
291 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_add()
334 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del()
337 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del()
359 tuplehash = rhashtable_lookup(&flow_table->rhashtable, tuple, in flow_offload_lookup()
387 rhashtable_walk_enter(&flow_table->rhashtable, &hti); in nf_flow_table_iterate()
549 err = rhashtable_init(&flowtable->rhashtable, in nf_flow_table_init()
612 rhashtable_destroy(&flow_table->rhashtable); in nf_flow_table_free()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h190 int mlx5e_tc_ht_init(struct rhashtable *tc_ht);
191 void mlx5e_tc_ht_cleanup(struct rhashtable *tc_ht);
336 static inline int mlx5e_tc_ht_init(struct rhashtable *tc_ht) { return 0; } in mlx5e_tc_ht_init()
337 static inline void mlx5e_tc_ht_cleanup(struct rhashtable *tc_ht) {} in mlx5e_tc_ht_cleanup()
H A Den_rep.h47 struct rhashtable neigh_ht;
120 struct rhashtable tc_ht;
/linux/Documentation/mm/
H A Dallocation-profiling.rst88 "on behalf of" some other code - for example, the rhashtable code. This way,
89 instead of seeing a large line in /proc/allocinfo for rhashtable.c, we can
90 break it out by rhashtable type.
/linux/net/ipv4/
H A Dinet_fragment.c184 rhashtable_free_and_destroy(&fqdir->rhashtable, inet_frags_free_cb, NULL); in fqdir_work_fn()
199 res = rhashtable_init(&fqdir->rhashtable, &fqdir->f->rhash_params); in fqdir_init()
245 rhashtable_remove_fast(&fqdir->rhashtable, &fq->node, in inet_frag_kill()
350 *prev = rhashtable_lookup_get_insert_key(&fqdir->rhashtable, &q->key, in inet_frag_create()
373 prev = rhashtable_lookup(&fqdir->rhashtable, key, fqdir->f->rhash_params); in inet_frag_find()
/linux/fs/bcachefs/
H A Dbtree_key_cache_types.h8 struct rhashtable table;
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_priv.h206 struct rhashtable fdb_ht;
209 struct rhashtable mdb_ht;
/linux/fs/xfs/scrub/
H A Dquotacheck.h54 struct rhashtable shadow_dquot_acct;
/linux/drivers/net/wireless/ath/ath11k/
H A Dpeer.c171 struct rhashtable *rtbl, in ath11k_peer_rhash_insert()
191 struct rhashtable *rtbl, in ath11k_peer_rhash_remove()
506 struct rhashtable *rhash_id_tbl; in ath11k_peer_rhash_id_tbl_init()
561 struct rhashtable *rhash_addr_tbl; in ath11k_peer_rhash_addr_tbl_init()
/linux/net/netlink/
H A Daf_netlink.h64 struct rhashtable hash;
/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.h61 struct rhashtable fdb_ht;
/linux/net/ipv6/ila/
H A Dila.h100 struct rhashtable rhash_table;

1234