Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_router_hw.h66 struct rhash_head ht_node; /* node of prestera_vr */ member
88 struct rhash_head ht_node; /* node of prestera_vr */ member
117 struct rhash_head ht_node; /* node of prestera_vr */ member
Dprestera_acl.c29 struct rhash_head ht_node; member
53 struct rhash_head ht_node; /* Member of acl HT */ member
84 .head_offset = offsetof(struct prestera_acl_ruleset, ht_node),
91 .head_offset = offsetof(struct prestera_acl_rule, ht_node),
97 .head_offset = offsetof(struct prestera_acl_rule_entry, ht_node),
172 err = rhashtable_insert_fast(&acl->ruleset_ht, &ruleset->ht_node, in prestera_acl_ruleset_create()
246 rhashtable_remove_fast(&acl->ruleset_ht, &ruleset->ht_node, in prestera_acl_ruleset_destroy()
485 err = rhashtable_insert_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_add()
523 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_add()
535 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_del()
[all …]
Dprestera_router_hw.c37 .head_offset = offsetof(struct prestera_fib_node, ht_node),
45 .head_offset = offsetof(struct prestera_nh_neigh, ht_node),
51 .head_offset = offsetof(struct prestera_nexthop_group, ht_node),
292 &neigh->ht_node, in __prestera_nh_neigh_destroy()
312 &neigh->ht_node, in __prestera_nh_neigh_create()
429 &nh_grp->ht_node, in __prestera_nexthop_group_create()
463 &nh_grp->ht_node, in __prestera_nexthop_group_destroy()
606 rhashtable_remove_fast(&sw->router->fib_ht, &fib_node->ht_node, in prestera_fib_node_destroy()
669 err = rhashtable_insert_fast(&sw->router->fib_ht, &fib_node->ht_node, in prestera_fib_node_create()
Dprestera_router.c29 struct rhash_head ht_node; member
54 struct rhash_head ht_node; /* node of prestera_router */ member
69 .head_offset = offsetof(struct prestera_kern_neigh_cache, ht_node),
76 .head_offset = offsetof(struct prestera_kern_fib_cache, ht_node),
475 &n_cache->ht_node, in __prestera_kern_neigh_cache_destroy()
497 &n_cache->ht_node, in __prestera_kern_neigh_cache_create()
572 &fib_cache->ht_node, in prestera_kern_fib_cache_destroy()
635 &fib_cache->ht_node, in prestera_kern_fib_cache_create()
Dprestera_acl.h128 struct rhash_head ht_node; /* Member of acl HT */ member
/linux-6.1.9/drivers/net/netdevsim/
Dfib.c77 struct rhash_head ht_node; member
117 .head_offset = offsetof(struct nsim_fib_rt, ht_node),
123 struct rhash_head ht_node; member
131 .head_offset = offsetof(struct nsim_nexthop, ht_node),
363 &fib4_rt->common.ht_node, in nsim_fib4_rt_add()
396 &fib4_rt_old->common.ht_node, in nsim_fib4_rt_replace()
397 &fib4_rt->common.ht_node, in nsim_fib4_rt_replace()
451 rhashtable_remove_fast(&data->fib_rt_ht, &fib4_rt->common.ht_node, in nsim_fib4_rt_remove()
687 &fib6_rt->common.ht_node, in nsim_fib6_rt_add()
720 &fib6_rt_old->common.ht_node, in nsim_fib6_rt_replace()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c28 struct rhash_head ht_node; member
57 .head_offset = offsetof(struct mlxsw_sp_acl_atcam_lkey_id, ht_node),
63 .head_offset = offsetof(struct mlxsw_sp_acl_atcam_entry, ht_node),
193 &lkey_id->ht_node, in mlxsw_sp_acl_atcam_lkey_id_create()
214 rhashtable_remove_fast(&region_12kb->lkey_ht, &lkey_id->ht_node, in mlxsw_sp_acl_atcam_lkey_id_destroy()
514 &aentry->ht_node, in __mlxsw_sp_acl_atcam_entry_add()
536 rhashtable_remove_fast(&aregion->entries_ht, &aentry->ht_node, in __mlxsw_sp_acl_atcam_entry_add()
551 rhashtable_remove_fast(&aregion->entries_ht, &aentry->ht_node, in __mlxsw_sp_acl_atcam_entry_del()
Dcore_acl_flex_actions.c90 struct rhash_head ht_node; member
111 .head_offset = offsetof(struct mlxsw_afa_set, ht_node),
120 struct rhash_head ht_node; member
129 .head_offset = offsetof(struct mlxsw_afa_fwd_entry, ht_node),
134 struct rhash_head ht_node; member
175 .head_offset = offsetof(struct mlxsw_afa_cookie, ht_node),
183 struct rhash_head ht_node; member
193 .head_offset = offsetof(struct mlxsw_afa_policer, ht_node),
299 err = rhashtable_insert_fast(&mlxsw_afa->set_ht, &set->ht_node, in mlxsw_afa_set_share()
314 rhashtable_remove_fast(&mlxsw_afa->set_ht, &set->ht_node, in mlxsw_afa_set_share()
[all …]
Dspectrum_acl.c50 struct rhash_head ht_node; /* Member of acl HT */ member
61 struct rhash_head ht_node; /* Member of rule HT */ member
77 .head_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_node),
84 .head_offset = offsetof(struct mlxsw_sp_acl_rule, ht_node),
189 err = rhashtable_insert_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_create()
211 rhashtable_remove_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_destroy()
849 err = rhashtable_insert_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
874 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
897 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_del()
Dspectrum_nve.c75 struct rhash_head ht_node; member
82 .head_offset = offsetof(struct mlxsw_sp_nve_mc_list, ht_node),
226 err = rhashtable_insert_fast(&nve->mc_list_ht, &mc_list->ht_node, in mlxsw_sp_nve_mc_list_create()
243 rhashtable_remove_fast(&nve->mc_list_ht, &mc_list->ht_node, in mlxsw_sp_nve_mc_list_destroy()
806 struct rhash_head ht_node; member
815 .head_offset = offsetof(struct mlxsw_sp_nve_ipv6_ht_node, ht_node),
859 err = rhashtable_insert_fast(&nve->ipv6_ht, &ipv6_ht_node->ht_node, in mlxsw_sp_nve_ipv6_ht_insert()
880 rhashtable_remove_fast(&nve->ipv6_ht, &ipv6_ht_node->ht_node, in mlxsw_sp_nve_ipv6_ht_remove()
Dspectrum_mr.c80 struct rhash_head ht_node; member
96 .head_offset = offsetof(struct mlxsw_sp_mr_route, ht_node),
379 rhashtable_remove_fast(&mr_table->route_ht, &mr_route->ht_node, in __mlxsw_sp_mr_route_del()
433 &mr_route->ht_node, in mlxsw_sp_mr_route_add()
441 &mr_orig_route->ht_node, in mlxsw_sp_mr_route_add()
Dspectrum_ptp.c62 struct rhlist_head ht_node; member
72 .head_offset = offsetof(struct mlxsw_sp1_ptp_unmatched, ht_node),
547 err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_unmatched_save()
566 rhl_for_each_entry_rcu(unmatched, tmp, list, ht_node) { in mlxsw_sp1_ptp_unmatched_lookup()
582 &unmatched->ht_node, in mlxsw_sp1_ptp_unmatched_remove()
823 err = rhltable_remove(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_ht_gc_collect()
Dspectrum_acl_tcam.c234 struct rhash_head ht_node; /* Member of a chunk HT */ member
259 .head_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, ht_node),
1033 err = rhashtable_insert_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_create()
1062 rhashtable_remove_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_create()
1085 rhashtable_remove_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_destroy()
Dspectrum_acl_tcam.h185 struct rhash_head ht_node; member
Dspectrum_fid.c38 struct rhash_head ht_node; member
63 .head_offset = offsetof(struct mlxsw_sp_fid, ht_node),
1588 err = rhashtable_insert_fast(&mlxsw_sp->fid_core->fid_ht, &fid->ht_node, in mlxsw_sp_fid_get()
1617 &fid->ht_node, mlxsw_sp_fid_ht_params); in mlxsw_sp_fid_put()
Dspectrum_router.c436 struct rhash_head ht_node; member
2079 struct rhash_head ht_node; member
2094 .head_offset = offsetof(struct mlxsw_sp_neigh_entry, ht_node),
2181 &neigh_entry->ht_node, in mlxsw_sp_neigh_entry_insert()
2190 &neigh_entry->ht_node, in mlxsw_sp_neigh_entry_remove()
2906 struct rhash_head ht_node; member
2961 struct rhash_head ht_node; /* member in vr_ht */ member
2967 struct rhash_head ht_node; member
3094 .head_offset = offsetof(struct mlxsw_sp_nexthop_group_vr_entry, ht_node),
3127 err = rhashtable_insert_fast(&nh_grp->vr_ht, &vr_entry->ht_node, in mlxsw_sp_nexthop_group_vr_entry_create()
[all …]
Dspectrum.c2787 struct rhash_head ht_node; member
2794 .head_offset = offsetof(struct mlxsw_sp_sample_trigger_node, ht_node),
2842 &trigger_node->ht_node, in mlxsw_sp_sample_trigger_node_init()
2859 &trigger_node->ht_node, in mlxsw_sp_sample_trigger_node_fini()
2946 struct rhash_head ht_node; member
2953 .head_offset = offsetof(struct mlxsw_sp_ipv6_addr_node, ht_node),
2988 &node->ht_node, in mlxsw_sp_ipv6_addr_init()
3009 rhashtable_remove_fast(&mlxsw_sp->ipv6_addr_ht, &node->ht_node, in mlxsw_sp_ipv6_addr_fini()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c29 struct rhash_head ht_node; member
36 .head_offset = offsetof(struct nfp_fl_stats_ctx_to_flow, ht_node),
336 if (rhashtable_insert_fast(&priv->stats_ctx_table, &ctx_entry->ht_node, in nfp_compile_flow_metadata()
382 &ctx_entry->ht_node, in nfp_compile_flow_metadata()
427 &ctx_entry->ht_node, in nfp_modify_flow_metadata()
487 .head_offset = offsetof(struct nfp_merge_info, ht_node),
507 .head_offset = offsetof(struct nfp_neigh_entry, ht_node),
Dtunnel_conf.c181 struct rhash_head ht_node; member
191 .head_offset = offsetof(struct nfp_tun_offloaded_mac, ht_node),
411 rhashtable_remove_fast(&priv->neigh_table, &neigh->ht_node, in nfp_tun_cleanup_nn_entries()
511 &nn_entry->ht_node, in nfp_tun_write_neigh()
540 &nn_entry->ht_node, in nfp_tun_write_neigh()
1026 &entry->ht_node, in nfp_tunnel_add_shared_mac()
1048 rhashtable_remove_fast(&priv->tun.offloaded_macs, &entry->ht_node, in nfp_tunnel_add_shared_mac()
1126 &entry->ht_node, in nfp_tunnel_del_shared_mac()
Dmain.h169 struct rhash_head ht_node; member
463 struct rhash_head ht_node; member
480 struct rhash_head ht_node; member
Dqos_conf.c551 .head_offset = offsetof(struct nfp_meter_entry, ht_node),
582 if (rhashtable_insert_fast(&priv->meter_table, &meter_entry->ht_node, in nfp_flower_add_meter_entry()
607 &meter_entry->ht_node, in nfp_flower_del_meter_entry()
Doffload.c1074 err = rhashtable_insert_fast(&priv->merge_table, &merge_info->ht_node, in nfp_flower_merge_offloaded_flows()
1091 &merge_info->ht_node, in nfp_flower_merge_offloaded_flows()
1510 &merge_info->ht_node, in nfp_flower_remove_merge_flow()
/linux-6.1.9/lib/
Dobjagg.c26 struct rhash_head ht_node; /* member of objagg_hints->node_ht */ member
55 struct rhash_head ht_node; /* member of objagg->obj_ht */ member
380 err = rhashtable_insert_fast(&objagg->obj_ht, &objagg_obj->ht_node, in objagg_obj_create()
456 rhashtable_remove_fast(&objagg->obj_ht, &objagg_obj->ht_node, in objagg_obj_destroy()
538 objagg->ht_params.head_offset = offsetof(struct objagg_obj, ht_node); in objagg_create()
671 err = rhashtable_insert_fast(&objagg_hints->node_ht, &hnode->ht_node, in objagg_hints_node_create()
693 rhashtable_remove_fast(&objagg_hints->node_ht, &hnode->ht_node, in objagg_hints_flush()
957 offsetof(struct objagg_hints_node, ht_node); in objagg_hints_get()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_priv.h31 struct rhash_head ht_node; member
/linux-6.1.9/net/sched/
Dcls_flower.c84 struct rhash_head ht_node; member
112 struct rhash_head ht_node; member
135 .head_offset = offsetof(struct fl_flow_mask, ht_node),
393 rhashtable_remove_fast(&head->ht, &mask->ht_node, mask_ht_params); in fl_mask_put()
550 rhashtable_remove_fast(&f->mask->ht, &f->ht_node, in __fl_delete()
1889 .head_offset = offsetof(struct cls_fl_filter, ht_node),
2013 err = rhashtable_replace_fast(&head->ht, &mask->ht_node, in fl_create_new_mask()
2014 &newmask->ht_node, mask_ht_params); in fl_create_new_mask()
2047 &mask->ht_node, in fl_check_assign_mask()
2077 rhashtable_remove_fast(&head->ht, &mask->ht_node, in fl_check_assign_mask()
[all …]

12