Searched refs:mdb_entry_port (Results 1 – 1 of 1) sorted by relevance
1101 struct mlxsw_sp_mdb_entry_port *mdb_entry_port; in mlxsw_sp_mdb_entry_port_lookup() local1103 list_for_each_entry(mdb_entry_port, &mdb_entry->ports_list, list) { in mlxsw_sp_mdb_entry_port_lookup()1104 if (mdb_entry_port->local_port == local_port) in mlxsw_sp_mdb_entry_port_lookup()1105 return mdb_entry_port; in mlxsw_sp_mdb_entry_port_lookup()1116 struct mlxsw_sp_mdb_entry_port *mdb_entry_port; in mlxsw_sp_mdb_entry_port_get() local1119 mdb_entry_port = mlxsw_sp_mdb_entry_port_lookup(mdb_entry, local_port); in mlxsw_sp_mdb_entry_port_get()1120 if (mdb_entry_port) { in mlxsw_sp_mdb_entry_port_get()1121 if (mdb_entry_port->mrouter && in mlxsw_sp_mdb_entry_port_get()1122 refcount_read(&mdb_entry_port->refcount) == 1) in mlxsw_sp_mdb_entry_port_get()1125 refcount_inc(&mdb_entry_port->refcount); in mlxsw_sp_mdb_entry_port_get()[all …]