Lines Matching defs:nh

3087 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh)  in mlxsw_sp_nexthop_dev()
3154 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc()
3170 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free()
3179 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3189 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3203 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3208 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
3216 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
3242 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif()
3249 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip()
3370 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local
3432 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_hash_obj() local
3557 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_insert()
3564 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_remove()
3627 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_eth_update()
3667 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_eth_update()
3686 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_ipip_update()
3698 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_ipip_update()
3716 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_update()
3739 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3873 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
3906 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance() local
3929 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_offload_refresh() local
3946 struct mlxsw_sp_nexthop *nh; in __mlxsw_sp_nexthop6_group_offload_refresh() local
3973 const struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_bucket_offload_refresh()
4016 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_offload_refresh() local
4045 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
4158 static void __mlxsw_sp_nexthop_neigh_update(struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_neigh_update()
4178 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4232 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4254 static void mlxsw_sp_nexthop_crif_init(struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_crif_init()
4264 static void mlxsw_sp_nexthop_crif_fini(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_crif_fini()
4274 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_init()
4333 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_fini()
4372 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_ipip_init()
4392 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ipip_fini()
4415 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_type_init()
4455 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_made()
4468 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_rif_gone()
4481 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_fini()
4489 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop4_init()
4539 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop4_fini()
4551 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4574 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
4598 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_made_sync() local
4627 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_gone_sync() local
4777 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_single_validate()
4794 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_group_entry_validate()
4828 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_group_validate() local
4899 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_res_group_validate() local
4916 struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_validate() local
4965 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_init()
4977 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_fini()
4986 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_init()
5037 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_fini()
5053 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
5157 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_fini() local
5380 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_bucket_adj_update()
5435 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
5516 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway() local
5528 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_group_info_init() local
5578 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_fini() local
5730 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_rt6_nexthop() local
6724 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop6_init()
6757 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop6_fini()
6778 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_info_init() local
6832 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_fini() local
9572 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_crif_unregister() local