Lines Matching defs:nh
2985 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc()
3001 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free()
3010 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3020 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3034 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3039 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
3047 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
3073 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif()
3078 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip()
3199 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local
3261 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_hash_obj() local
3386 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_insert()
3393 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_remove()
3456 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_eth_update()
3495 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_eth_update()
3514 struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_ipip_update()
3526 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_ipip_update()
3544 struct mlxsw_sp_nexthop *nh, bool force, in mlxsw_sp_nexthop_update()
3567 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3701 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
3734 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_group_rebalance() local
3757 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_offload_refresh() local
3774 struct mlxsw_sp_nexthop *nh; in __mlxsw_sp_nexthop6_group_offload_refresh() local
3801 const struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_bucket_offload_refresh()
3844 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_offload_refresh() local
3873 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
3986 static void __mlxsw_sp_nexthop_neigh_update(struct mlxsw_sp_nexthop *nh, in __mlxsw_sp_nexthop_neigh_update()
4006 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4058 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4080 static void mlxsw_sp_nexthop_rif_init(struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_rif_init()
4090 static void mlxsw_sp_nexthop_rif_fini(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif_fini()
4100 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_init()
4154 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_neigh_fini()
4193 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_ipip_init()
4208 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ipip_fini()
4231 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_type_init()
4267 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_type_fini()
4283 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop4_init()
4333 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop4_fini()
4345 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4367 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
4392 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_migrate() local
4403 struct mlxsw_sp_nexthop *nh, *tmp; in mlxsw_sp_nexthop_rif_gone_sync() local
4552 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_single_validate()
4569 const struct nh_notifier_single_info *nh, in mlxsw_sp_nexthop_obj_group_entry_validate()
4603 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_group_validate() local
4674 const struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_res_group_validate() local
4691 struct nh_notifier_single_info *nh; in mlxsw_sp_nexthop_obj_validate() local
4740 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_init()
4754 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_blackhole_fini()
4763 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_init()
4814 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_obj_fini()
4830 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
4934 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop_obj_group_info_fini() local
5157 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop_obj_bucket_adj_update()
5212 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
5293 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway() local
5305 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_group_info_init() local
5355 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop4_group_info_fini() local
5507 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; in mlxsw_sp_rt6_nexthop() local
6499 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_nexthop6_init()
6532 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop6_fini()
6553 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_info_init() local
6607 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; in mlxsw_sp_nexthop6_group_info_fini() local