Lines Matching defs:nh
3091 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev()
3196 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_get()
3225 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_put()
3242 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_enable()
3269 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_disable()
3282 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_update()
3291 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3301 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3315 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3320 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
3328 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
3354 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif()
3361 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip()
3482 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local
3544 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_hash_obj() local
3669 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_insert()
3676 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_remove()
3739 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_eth_update()
3780 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_eth_update()
3799 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_ipip_update()
3811 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_ipip_update()
3829 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_update()
3852 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3991 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
4024 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance() local
4047 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_offload_refresh() local
4064 struct mlxsw_sp_nexthop *nh; in __mlxsw_sp_nexthop6_group_offload_refresh() local
4091 const struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_bucket_offload_refresh()
4134 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_offload_refresh() local
4163 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
4276 static void __mlxsw_sp_nexthop_neigh_update(struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_neigh_update()
4296 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4350 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4372 static void mlxsw_sp_nexthop_crif_init(struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_crif_init()
4382 static void mlxsw_sp_nexthop_crif_fini(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_crif_fini()
4392 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_init()
4451 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_fini()
4490 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_ipip_init()
4510 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ipip_fini()
4533 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_type_init()
4573 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_made()
4586 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_gone()
4599 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_fini()
4607 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop4_init()
4661 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop4_fini()
4673 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4696 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
4720 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_made_sync() local
4749 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_gone_sync() local
4899 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_single_validate()
4916 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_group_entry_validate()
4950 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_group_validate() local
5021 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_res_group_validate() local
5038 struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_validate() local
5087 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_init()
5099 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_fini()
5108 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_init()
5158 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_fini()
5174 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
5285 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_fini() local
5452 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_res_group_pre() local
5547 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_bucket_adj_update()
5602 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
5653 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[nhi]; in mlxsw_sp_nexthop_obj_mp_hw_stats_get() local
5674 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[bucket]; in mlxsw_sp_nexthop_obj_res_hw_stats_get() local
5763 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway() local
5775 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_group_info_init() local
5825 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_fini() local
5977 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_rt6_nexthop() local
6971 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop6_init()
7007 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop6_fini()
7028 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_info_init() local
7082 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_fini() local
9836 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_crif_unregister() local