Lines Matching refs:sc_ports
247 if (!SLIST_EMPTY(&sc->sc_ports)) {
248 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
269 if (!SLIST_EMPTY(&sc->sc_ports)) {
270 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
338 SLIST_INIT(&sc->sc_ports);
398 while ((lp = SLIST_FIRST(&sc->sc_ports)) != NULL)
458 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
593 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
613 if (SLIST_EMPTY(&sc->sc_ports))
661 if (SLIST_EMPTY(&sc->sc_ports)) {
675 SLIST_FOREACH(tlp, &sc->sc_ports, lp_entries) {
685 SLIST_INSERT_HEAD(&sc->sc_ports, lp, lp_entries);
717 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
758 SLIST_REMOVE(&sc->sc_ports, lp, lagg_port, lp_entries);
765 if ((lp_ptr = SLIST_FIRST(&sc->sc_ports)) == NULL) {
775 SLIST_FOREACH(lp_ptr, &sc->sc_ports, lp_entries)
964 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1010 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1025 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
1161 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
1215 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
1423 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
1438 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
1456 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1508 SLIST_FOREACH(lp_next, &sc->sc_ports, lp_entries) {
1557 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1708 lp = SLIST_FIRST(&sc->sc_ports);
1824 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1847 SLIST_FOREACH(lp_next, &sc->sc_ports, lp_entries) {
1940 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1952 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1969 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
1973 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)