Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/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.6.21/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.c55 struct rhash_head ht_node; /* Member of acl HT */ member
66 struct rhash_head ht_node; /* Member of rule HT */ member
82 .head_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_node),
89 .head_offset = offsetof(struct mlxsw_sp_acl_rule, ht_node),
194 err = rhashtable_insert_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_create()
216 rhashtable_remove_fast(&acl->ruleset_ht, &ruleset->ht_node, in mlxsw_sp_acl_ruleset_destroy()
870 err = rhashtable_insert_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
895 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
918 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),
535 err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_unmatched_save()
554 rhl_for_each_entry_rcu(unmatched, tmp, list, ht_node) { in mlxsw_sp1_ptp_unmatched_lookup()
570 &unmatched->ht_node, in mlxsw_sp1_ptp_unmatched_remove()
811 err = rhltable_remove(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_ht_gc_collect()
Dspectrum_acl_tcam.c174 struct rhash_head ht_node; /* Member of a chunk HT */ member
199 .head_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, ht_node),
938 err = rhashtable_insert_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_create()
967 rhashtable_remove_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_create()
990 rhashtable_remove_fast(&vgroup->vchunk_ht, &vchunk->ht_node, in mlxsw_sp_acl_tcam_vchunk_destroy()
Dspectrum_acl_tcam.h180 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),
1578 err = rhashtable_insert_fast(&mlxsw_sp->fid_core->fid_ht, &fid->ht_node, in mlxsw_sp_fid_get()
1607 &fid->ht_node, mlxsw_sp_fid_ht_params); in mlxsw_sp_fid_put()
/linux-6.6.21/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.c193 struct rhash_head ht_node; member
203 .head_offset = offsetof(struct nfp_tun_offloaded_mac, ht_node),
428 rhashtable_remove_fast(&priv->neigh_table, &neigh->ht_node, in nfp_tun_cleanup_nn_entries()
540 &nn_entry->ht_node, in nfp_tun_write_neigh()
569 &nn_entry->ht_node, in nfp_tun_write_neigh()
1130 &entry->ht_node, in nfp_tunnel_add_shared_mac()
1152 rhashtable_remove_fast(&priv->tun.offloaded_macs, &entry->ht_node, in nfp_tunnel_add_shared_mac()
1230 &entry->ht_node, in nfp_tunnel_del_shared_mac()
Dmain.h185 struct rhash_head ht_node; member
481 struct rhash_head ht_node; member
498 struct rhash_head ht_node; member
Dqos_conf.c557 .head_offset = offsetof(struct nfp_meter_entry, ht_node),
588 if (rhashtable_insert_fast(&priv->meter_table, &meter_entry->ht_node, in nfp_flower_add_meter_entry()
613 &meter_entry->ht_node, in nfp_flower_del_meter_entry()
/linux-6.6.21/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.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_priv.h145 struct rhash_head ht_node; member
162 struct rhash_head ht_node; member
Dbridge_mcast.c13 .head_offset = offsetof(struct mlx5_esw_bridge_mdb_entry, ht_node),
162 err = rhashtable_insert_fast(&bridge->mdb_ht, &entry->ht_node, mdb_ht_params); in mlx5_esw_bridge_port_mdb_entry_init()
182 rhashtable_remove_fast(&bridge->mdb_ht, &entry->ht_node, mdb_ht_params); in mlx5_esw_bridge_port_mdb_entry_cleanup()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.h26 struct rhash_head ht_node; member
Dice_eswitch_br.c17 .head_offset = offsetof(struct ice_esw_br_fdb_entry, ht_node),
334 rhashtable_remove_fast(&bridge->fdb_ht, &fdb_entry->ht_node, in ice_eswitch_br_fdb_entry_delete()
447 err = rhashtable_insert_fast(&bridge->fdb_ht, &fdb_entry->ht_node, in ice_eswitch_br_fdb_entry_create()
/linux-6.6.21/net/sched/
Dcls_flower.c88 struct rhash_head ht_node; member
116 struct rhash_head ht_node; member
140 .head_offset = offsetof(struct fl_flow_mask, ht_node),
399 rhashtable_remove_fast(&head->ht, &mask->ht_node, mask_ht_params); in fl_mask_put()
562 rhashtable_remove_fast(&f->mask->ht, &f->ht_node, in __fl_delete()
2004 .head_offset = offsetof(struct cls_fl_filter, ht_node),
2132 err = rhashtable_replace_fast(&head->ht, &mask->ht_node, in fl_create_new_mask()
2133 &newmask->ht_node, mask_ht_params); in fl_create_new_mask()
2166 &mask->ht_node, in fl_check_assign_mask()
2196 rhashtable_remove_fast(&head->ht, &mask->ht_node, in fl_check_assign_mask()
[all …]

12