Searched refs:analyzed_port (Results 1 – 1 of 1) sorted by relevance
1005 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_find() local1007 list_for_each_entry(analyzed_port, &span->analyzed_ports_list, list) { in mlxsw_sp_span_analyzed_port_find()1008 if (analyzed_port->local_port == local_port && in mlxsw_sp_span_analyzed_port_find()1009 analyzed_port->ingress == ingress) in mlxsw_sp_span_analyzed_port_find()1010 return analyzed_port; in mlxsw_sp_span_analyzed_port_find()1121 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_create() local1124 analyzed_port = kzalloc(sizeof(*analyzed_port), GFP_KERNEL); in mlxsw_sp_span_analyzed_port_create()1125 if (!analyzed_port) in mlxsw_sp_span_analyzed_port_create()1128 refcount_set(&analyzed_port->ref_count, 1); in mlxsw_sp_span_analyzed_port_create()1129 analyzed_port->local_port = mlxsw_sp_port->local_port; in mlxsw_sp_span_analyzed_port_create()[all …]