Searched refs:analyzed_port (Results 1 – 1 of 1) sorted by relevance
997 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_find() local999 list_for_each_entry(analyzed_port, &span->analyzed_ports_list, list) { in mlxsw_sp_span_analyzed_port_find()1000 if (analyzed_port->local_port == local_port && in mlxsw_sp_span_analyzed_port_find()1001 analyzed_port->ingress == ingress) in mlxsw_sp_span_analyzed_port_find()1002 return analyzed_port; in mlxsw_sp_span_analyzed_port_find()1109 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_create() local1112 analyzed_port = kzalloc(sizeof(*analyzed_port), GFP_KERNEL); in mlxsw_sp_span_analyzed_port_create()1113 if (!analyzed_port) in mlxsw_sp_span_analyzed_port_create()1116 refcount_set(&analyzed_port->ref_count, 1); in mlxsw_sp_span_analyzed_port_create()1117 analyzed_port->local_port = mlxsw_sp_port->local_port; in mlxsw_sp_span_analyzed_port_create()[all …]