Lines Matching refs:rifs

2322 	if (!mlxsw_sp->router->rifs[rif]) {  in mlxsw_sp_router_neigh_ent_ipv4_process()
2328 dev = mlxsw_sp->router->rifs[rif]->dev; in mlxsw_sp_router_neigh_ent_ipv4_process()
2351 if (!mlxsw_sp->router->rifs[rif]) { in mlxsw_sp_router_neigh_ent_ipv6_process()
2356 dev = mlxsw_sp->router->rifs[rif]->dev; in mlxsw_sp_router_neigh_ent_ipv6_process()
4750 nh->rif = mlxsw_sp->router->rifs[lb_rif_index]; in mlxsw_sp_nexthop_obj_blackhole_init()
7701 if (mlxsw_sp->router->rifs[i] && in mlxsw_sp_rif_find_by_dev()
7702 mlxsw_sp->router->rifs[i]->dev == dev) in mlxsw_sp_rif_find_by_dev()
7703 return mlxsw_sp->router->rifs[i]; in mlxsw_sp_rif_find_by_dev()
7834 if (!mlxsw_sp->router->rifs[i]) { in mlxsw_sp_rif_index_alloc()
7869 return mlxsw_sp->router->rifs[rif_index]; in mlxsw_sp_rif_by_index()
8113 mlxsw_sp->router->rifs[rif_index] = rif; in mlxsw_sp_rif_create()
8161 mlxsw_sp->router->rifs[rif_index] = NULL; in mlxsw_sp_rif_create()
8198 mlxsw_sp->router->rifs[rif->rif_index] = NULL; in mlxsw_sp_rif_destroy()
9787 mlxsw_sp->router->rifs[rif_index] = ul_rif; in mlxsw_sp_ul_rif_create()
9797 mlxsw_sp->router->rifs[rif_index] = NULL; in mlxsw_sp_ul_rif_create()
9808 mlxsw_sp->router->rifs[ul_rif->rif_index] = NULL; in mlxsw_sp_ul_rif_destroy()
9880 ul_rif = mlxsw_sp->router->rifs[ul_rif_index]; in mlxsw_sp_router_ul_rif_put()
9954 mlxsw_sp->router->rifs = kcalloc(max_rifs, in mlxsw_sp_rifs_init()
9957 if (!mlxsw_sp->router->rifs) in mlxsw_sp_rifs_init()
9982 WARN_ON_ONCE(mlxsw_sp->router->rifs[i]); in mlxsw_sp_rifs_fini()
9989 kfree(mlxsw_sp->router->rifs); in mlxsw_sp_rifs_fini()