Lines Matching refs:vlan_ctx
87 static struct vlan_context *vlan_ctx[] = { variable
164 ARRAY_FOR_EACH(vlan_ctx, i) { in get_vlan()
165 if (vlan_ctx[i] == NULL || !vlan_ctx[i]->is_used) { in get_vlan()
169 if (vlan_tag == vlan_ctx[i]->tag) { in get_vlan()
170 ctx = vlan_ctx[i]; in get_vlan()
322 ARRAY_FOR_EACH(vlan_ctx, i) { in net_eth_get_vlan_tag()
323 if (vlan_ctx[i] == NULL || !vlan_ctx[i]->is_used) { in net_eth_get_vlan_tag()
327 if (vlan_ctx[i]->iface == iface) { in net_eth_get_vlan_tag()
328 tag = vlan_ctx[i]->tag; in net_eth_get_vlan_tag()
429 ARRAY_FOR_EACH(vlan_ctx, i) { in net_eth_vlan_enable()
430 if (vlan_ctx[i] == NULL || vlan_ctx[i]->is_used) { in net_eth_vlan_enable()
434 vlan = vlan_ctx[i]; in net_eth_vlan_enable()