Lines Matching defs:nh
3094 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev()
3199 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_get()
3228 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_put()
3245 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_enable()
3272 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_disable()
3285 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_update()
3294 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3304 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3318 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3323 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
3331 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
3357 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif()
3364 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip()
3485 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local
3547 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_hash_obj() local
3672 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_insert()
3679 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_remove()
3742 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_eth_update()
3783 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_eth_update()
3802 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_ipip_update()
3814 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_ipip_update()
3832 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_update()
3855 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3994 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
4027 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance() local
4050 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_offload_refresh() local
4067 struct mlxsw_sp_nexthop *nh; in __mlxsw_sp_nexthop6_group_offload_refresh() local
4094 const struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_bucket_offload_refresh()
4137 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_offload_refresh() local
4166 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
4279 static void __mlxsw_sp_nexthop_neigh_update(struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_neigh_update()
4299 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4353 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4375 static void mlxsw_sp_nexthop_crif_init(struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_crif_init()
4385 static void mlxsw_sp_nexthop_crif_fini(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_crif_fini()
4395 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_init()
4454 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_fini()
4493 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_ipip_init()
4513 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ipip_fini()
4536 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_type_init()
4576 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_made()
4589 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_gone()
4602 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_fini()
4610 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop4_init()
4664 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop4_fini()
4676 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4699 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
4723 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_made_sync() local
4752 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_gone_sync() local
4902 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_single_validate()
4919 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_group_entry_validate()
4953 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_group_validate() local
5024 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_res_group_validate() local
5041 struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_validate() local
5090 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_init()
5102 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_fini()
5111 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_init()
5161 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_fini()
5177 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
5288 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_fini() local
5455 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_res_group_pre() local
5550 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_bucket_adj_update()
5605 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
5656 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[nhi]; in mlxsw_sp_nexthop_obj_mp_hw_stats_get() local
5677 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[bucket]; in mlxsw_sp_nexthop_obj_res_hw_stats_get() local
5766 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway() local
5778 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_group_info_init() local
5828 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_fini() local
5980 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_rt6_nexthop() local
6974 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop6_init()
7010 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop6_fini()
7031 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_info_init() local
7085 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_fini() local
9791 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_crif_unregister() local