Lines Matching refs:vlans
454 list_add_tail(&vlan->list, &fnic->vlans);
462 if (list_empty(&fnic->vlans)) {
471 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
493 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
512 if (list_empty(&fnic->vlans)) {
517 fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
1304 if (!list_empty(&fnic->vlans)) {
1305 list_for_each_entry_safe(vlan, next, &fnic->vlans, list) {
1331 if (list_empty(&fnic->vlans)) {
1333 /* no vlans available, try again */
1342 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list);
1354 /* if all vlans are in failed state, restart vlan disc */
1373 if (list_empty(&fnic->vlans)) {
1374 /* we exhausted all vlans, restart vlan disc */
1384 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan,