Lines Matching refs:vlan_list
660 INIT_LIST_HEAD(&vlan->vlan_list); in bond_add_vlan()
665 list_add_tail(&vlan->vlan_list, &bond->vlan_list); in bond_add_vlan()
690 list_for_each_entry_safe(vlan, next, &bond->vlan_list, vlan_list) { in bond_del_vlan()
692 list_del(&vlan->vlan_list); in bond_del_vlan()
704 if (list_empty(&bond->vlan_list) && in bond_del_vlan()
767 if (list_empty(&bond->vlan_list)) { in bond_next_vlan()
772 next = list_entry(bond->vlan_list.next, in bond_next_vlan()
773 struct vlan_entry, vlan_list); in bond_next_vlan()
775 last = list_entry(bond->vlan_list.prev, in bond_next_vlan()
776 struct vlan_entry, vlan_list); in bond_next_vlan()
778 next = list_entry(bond->vlan_list.next, in bond_next_vlan()
779 struct vlan_entry, vlan_list); in bond_next_vlan()
781 next = list_entry(curr->vlan_list.next, in bond_next_vlan()
782 struct vlan_entry, vlan_list); in bond_next_vlan()
812 if (!list_empty(&bond->vlan_list) && in bond_dev_queue_xmit()
947 if (list_empty(&bond->vlan_list)) { in bond_add_vlans_on_slave()
961 list_for_each_entry(vlan, &bond->vlan_list, vlan_list) { in bond_add_vlans_on_slave()
976 if (list_empty(&bond->vlan_list)) { in bond_del_vlans_from_slave()
985 list_for_each_entry(vlan, &bond->vlan_list, vlan_list) { in bond_del_vlans_from_slave()
1623 if (!list_empty(&bond->vlan_list)) { in bond_enslave()
2122 if (list_empty(&bond->vlan_list)) { in bond_release()
2287 if (list_empty(&bond->vlan_list)) { in bond_release_all()
4287 INIT_LIST_HEAD(&bond->vlan_list); in bond_init()