Searched refs:analyzed_port (Results 1 – 1 of 1) sorted by relevance
1003 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_find() local1005 list_for_each_entry(analyzed_port, &span->analyzed_ports_list, list) { in mlxsw_sp_span_analyzed_port_find()1006 if (analyzed_port->local_port == local_port && in mlxsw_sp_span_analyzed_port_find()1007 analyzed_port->ingress == ingress) in mlxsw_sp_span_analyzed_port_find()1008 return analyzed_port; in mlxsw_sp_span_analyzed_port_find()1119 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_create() local1122 analyzed_port = kzalloc(sizeof(*analyzed_port), GFP_KERNEL); in mlxsw_sp_span_analyzed_port_create()1123 if (!analyzed_port) in mlxsw_sp_span_analyzed_port_create()1126 refcount_set(&analyzed_port->ref_count, 1); in mlxsw_sp_span_analyzed_port_create()1127 analyzed_port->local_port = mlxsw_sp_port->local_port; in mlxsw_sp_span_analyzed_port_create()[all …]