Searched refs:rif_mac_profiles_idr (Results 1 – 2 of 2) sorted by relevance
26 struct idr rif_mac_profiles_idr; member
8700 id = idr_alloc(&router->rif_mac_profiles_idr, profile, 0, in mlxsw_sp_rif_mac_profile_index_alloc()8720 profile = idr_remove(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_index_free()8747 idr_for_each_entry(&router->rif_mac_profiles_idr, profile, id) { in mlxsw_sp_rif_mac_profile_find()8829 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_put()8845 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_is_shared()8859 profile = idr_find(&mlxsw_sp->router->rif_mac_profiles_idr, in mlxsw_sp_rif_mac_profile_edit()10863 idr_init(&mlxsw_sp->router->rif_mac_profiles_idr); in mlxsw_sp_rifs_init()10895 WARN_ON(!idr_is_empty(&mlxsw_sp->router->rif_mac_profiles_idr)); in mlxsw_sp_rifs_fini()10896 idr_destroy(&mlxsw_sp->router->rif_mac_profiles_idr); in mlxsw_sp_rifs_fini()