Searched refs:rif_mac_profiles_idr (Results 1 – 2 of 2) sorted by relevance
21 struct idr rif_mac_profiles_idr; member
8275 id = idr_alloc(&router->rif_mac_profiles_idr, profile, 0, in mlxsw_sp_rif_mac_profile_index_alloc()8295 profile = idr_remove(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_index_free()8322 idr_for_each_entry(&router->rif_mac_profiles_idr, profile, id) { in mlxsw_sp_rif_mac_profile_find()8404 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_put()8420 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_is_shared()8434 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_edit()9960 idr_init(&mlxsw_sp->router->rif_mac_profiles_idr); in mlxsw_sp_rifs_init()9987 WARN_ON(!idr_is_empty(&mlxsw_sp->router->rif_mac_profiles_idr)); in mlxsw_sp_rifs_fini()9988 idr_destroy(&mlxsw_sp->router->rif_mac_profiles_idr); in mlxsw_sp_rifs_fini()