Lines Matching refs:rifs

2426 	if (!mlxsw_sp->router->rifs[rif]) {  in mlxsw_sp_router_neigh_ent_ipv4_process()
2432 dev = mlxsw_sp_rif_dev(mlxsw_sp->router->rifs[rif]); in mlxsw_sp_router_neigh_ent_ipv4_process()
2455 if (!mlxsw_sp->router->rifs[rif]) { in mlxsw_sp_router_neigh_ent_ipv6_process()
2460 dev = mlxsw_sp_rif_dev(mlxsw_sp->router->rifs[rif]); in mlxsw_sp_router_neigh_ent_ipv6_process()
8180 if (mlxsw_sp->router->rifs[i] && in mlxsw_sp_rif_find_by_dev()
8181 mlxsw_sp_rif_dev_is(mlxsw_sp->router->rifs[i], dev)) in mlxsw_sp_rif_find_by_dev()
8182 return mlxsw_sp->router->rifs[i]; in mlxsw_sp_rif_find_by_dev()
8407 return mlxsw_sp->router->rifs[rif_index]; in mlxsw_sp_rif_by_index()
8667 mlxsw_sp->router->rifs[rif_index] = rif; in mlxsw_sp_rif_create()
8722 mlxsw_sp->router->rifs[rif_index] = NULL; in mlxsw_sp_rif_create()
8764 mlxsw_sp->router->rifs[rif->rif_index] = NULL; in mlxsw_sp_rif_destroy()
10909 mlxsw_sp->router->rifs[rif_index] = ul_rif; in mlxsw_sp_ul_rif_create()
10920 mlxsw_sp->router->rifs[rif_index] = NULL; in mlxsw_sp_ul_rif_create()
10935 mlxsw_sp->router->rifs[ul_rif->rif_index] = NULL; in mlxsw_sp_ul_rif_destroy()
11009 ul_rif = mlxsw_sp->router->rifs[ul_rif_index]; in mlxsw_sp_router_ul_rif_put()
11116 mlxsw_sp->router->rifs = kcalloc(max_rifs, in mlxsw_sp_rifs_init()
11119 if (!mlxsw_sp->router->rifs) in mlxsw_sp_rifs_init()
11141 kfree(mlxsw_sp->router->rifs); in mlxsw_sp_rifs_init()
11153 WARN_ON_ONCE(mlxsw_sp->router->rifs[i]); in mlxsw_sp_rifs_fini()
11161 kfree(mlxsw_sp->router->rifs); in mlxsw_sp_rifs_fini()