Lines Matching refs:vlans
464 list_add_tail(&vlan->list, &fnic->vlans);
472 if (list_empty(&fnic->vlans)) {
481 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
503 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
522 if (list_empty(&fnic->vlans)) {
527 fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
1314 if (!list_empty(&fnic->vlans)) {
1315 list_for_each_entry_safe(vlan, next, &fnic->vlans, list) {
1341 if (list_empty(&fnic->vlans)) {
1343 /* no vlans available, try again */
1351 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
1363 /* if all vlans are in failed state, restart vlan disc */
1381 if (list_empty(&fnic->vlans)) {
1382 /* we exhausted all vlans, restart vlan disc */
1392 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan,