Searched refs:rif_subport (Results 1 – 1 of 1) sorted by relevance
8155 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local8162 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()8163 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()8169 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local8171 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()8172 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()8918 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local8920 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()8921 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()8922 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()[all …]