Searched refs:mdb_entry_port (Results 1 – 1 of 1) sorted by relevance
994 struct mlxsw_sp_mdb_entry_port *mdb_entry_port; in mlxsw_sp_mdb_entry_port_lookup() local996 list_for_each_entry(mdb_entry_port, &mdb_entry->ports_list, list) { in mlxsw_sp_mdb_entry_port_lookup()997 if (mdb_entry_port->local_port == local_port) in mlxsw_sp_mdb_entry_port_lookup()998 return mdb_entry_port; in mlxsw_sp_mdb_entry_port_lookup()1009 struct mlxsw_sp_mdb_entry_port *mdb_entry_port; in mlxsw_sp_mdb_entry_port_get() local1012 mdb_entry_port = mlxsw_sp_mdb_entry_port_lookup(mdb_entry, local_port); in mlxsw_sp_mdb_entry_port_get()1013 if (mdb_entry_port) { in mlxsw_sp_mdb_entry_port_get()1014 if (mdb_entry_port->mrouter && in mlxsw_sp_mdb_entry_port_get()1015 refcount_read(&mdb_entry_port->refcount) == 1) in mlxsw_sp_mdb_entry_port_get()1018 refcount_inc(&mdb_entry_port->refcount); in mlxsw_sp_mdb_entry_port_get()[all …]