vlans 799 drivers/net/dsa/b53/b53_common.c memset(priv->vlans, 0, sizeof(*priv->vlans) * priv->num_vlans); vlans 1352 drivers/net/dsa/b53/b53_common.c vl = &dev->vlans[vid]; vlans 1389 drivers/net/dsa/b53/b53_common.c vl = &dev->vlans[vid]; vlans 1712 drivers/net/dsa/b53/b53_common.c struct b53_vlan *vl = &dev->vlans[0]; vlans 2044 drivers/net/dsa/b53/b53_common.c u16 vlans; vlans 2065 drivers/net/dsa/b53/b53_common.c .vlans = 16, vlans 2074 drivers/net/dsa/b53/b53_common.c .vlans = 256, vlans 2083 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2095 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2107 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2119 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2131 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2143 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2155 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2167 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2179 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2191 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2203 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2215 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2227 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2239 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2251 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2263 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2275 drivers/net/dsa/b53/b53_common.c .vlans = 4096, vlans 2304 drivers/net/dsa/b53/b53_common.c dev->num_vlans = chip->vlans; vlans 2362 drivers/net/dsa/b53/b53_common.c dev->vlans = devm_kcalloc(dev->dev, vlans 2365 drivers/net/dsa/b53/b53_common.c if (!dev->vlans) vlans 140 drivers/net/dsa/b53/b53_priv.h struct b53_vlan *vlans; vlans 55 drivers/net/dsa/dsa_loop.c struct dsa_loop_vlan vlans[DSA_LOOP_VLANS]; vlans 213 drivers/net/dsa/dsa_loop.c vl = &ps->vlans[vid]; vlans 242 drivers/net/dsa/dsa_loop.c vl = &ps->vlans[vid]; vlans 253 drivers/net/dsa/lantiq_gswip.c struct gswip_vlan vlans[64]; vlans 860 drivers/net/dsa/lantiq_gswip.c for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { vlans 861 drivers/net/dsa/lantiq_gswip.c if (!priv->vlans[i].bridge) { vlans 885 drivers/net/dsa/lantiq_gswip.c priv->vlans[idx].bridge = bridge; vlans 886 drivers/net/dsa/lantiq_gswip.c priv->vlans[idx].vid = vid; vlans 887 drivers/net/dsa/lantiq_gswip.c priv->vlans[idx].fid = fid; vlans 903 drivers/net/dsa/lantiq_gswip.c priv->vlans[idx].bridge = NULL; vlans 920 drivers/net/dsa/lantiq_gswip.c for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { vlans 921 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].bridge == bridge) { vlans 983 drivers/net/dsa/lantiq_gswip.c for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { vlans 984 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].bridge == bridge) { vlans 985 drivers/net/dsa/lantiq_gswip.c if (fid != -1 && fid != priv->vlans[i].fid) vlans 987 drivers/net/dsa/lantiq_gswip.c fid = priv->vlans[i].fid; vlans 988 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].vid == vid) { vlans 1056 drivers/net/dsa/lantiq_gswip.c for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { vlans 1057 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].bridge == bridge && vlans 1058 drivers/net/dsa/lantiq_gswip.c (!vlan_aware || priv->vlans[i].vid == vid)) { vlans 1154 drivers/net/dsa/lantiq_gswip.c for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { vlans 1155 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].bridge == bridge && vlans 1156 drivers/net/dsa/lantiq_gswip.c priv->vlans[i].vid == vid) { vlans 1168 drivers/net/dsa/lantiq_gswip.c for (; pos < ARRAY_SIZE(priv->vlans); pos++) { vlans 1169 drivers/net/dsa/lantiq_gswip.c if (!priv->vlans[pos].bridge) { vlans 1313 drivers/net/dsa/lantiq_gswip.c for (i = cpu_port; i < ARRAY_SIZE(priv->vlans); i++) { vlans 1314 drivers/net/dsa/lantiq_gswip.c if (priv->vlans[i].bridge == bridge) { vlans 1315 drivers/net/dsa/lantiq_gswip.c fid = priv->vlans[i].fid; vlans 524 drivers/net/ethernet/intel/fm10k/fm10k.h u16 glort, bool vlans); vlans 837 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 glort, bool vlans) vlans 855 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (vlans) { vlans 115 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u16 *vlans; vlans 133 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); vlans 134 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!vlans) vlans 141 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c vlans[i++] = vlan; vlans 144 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c err = mlx5_modify_nic_vport_vlans(priv->mdev, vlans, list_size); vlans 149 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kfree(vlans); vlans 370 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c struct dr_action_vlan_info vlans; vlans 430 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c for (i = 0; i < attr->vlans.count; i++) { vlans 438 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c attr->vlans.headers[i], vlans 494 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c for (i = 0; i < attr->vlans.count; i++) { vlans 757 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c attr.vlans.count++; vlans 761 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (attr.vlans.count == MAX_VLANS) vlans 764 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c attr.vlans.headers[attr.vlans.count++] = action->push_vlan.vlan_hdr; vlans 385 drivers/net/ethernet/mellanox/mlx5/core/vport.c u16 vlans[], vlans 426 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(vlan_layout, vlan_addr, vlan, vlans[i]); vlans 5930 drivers/net/ethernet/mellanox/mlxsw/spectrum.c DECLARE_BITMAP(vlans, VLAN_N_VID) = {0}; vlans 5945 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (test_and_set_bit(pvid, vlans)) vlans 1752 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_vf->shadow_config.vlans[i].used) vlans 1756 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan = p_vf->shadow_config.vlans[i].vid; vlans 3123 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->shadow_config.vlans[i].used && vlans 3124 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].vid == vlans 3126 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = false; vlans 3139 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = false; vlans 3151 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->shadow_config.vlans[i].used) vlans 3154 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].used = true; vlans 3155 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf->shadow_config.vlans[i].vid = p_params->vlan; vlans 184 drivers/net/ethernet/qlogic/qed/qed_sriov.h struct qed_vf_vlan_shadow vlans[QED_ETH_VF_NUM_VLAN_FILTERS + 1]; vlans 1158 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)]; vlans 1386 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c set_bit(vid, adapter->vlans); vlans 1407 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c clear_bit(vid, adapter->vlans); vlans 4156 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c for_each_set_bit(vid, adapter->vlans, VLAN_N_VID) { vlans 437 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u16 *vlans; vlans 457 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c vlans = (u16 *)&cmd->rsp.arg[3]; vlans 459 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c sriov->allowed_vlans[i] = vlans[i]; vlans 46 drivers/net/macvlan.c struct list_head vlans; vlans 480 drivers/net/macvlan.c vlan = list_first_or_null_rcu(&port->vlans, vlans 1201 drivers/net/macvlan.c INIT_LIST_HEAD(&port->vlans); vlans 1471 drivers/net/macvlan.c list_add_tail_rcu(&vlan->list, &port->vlans); vlans 1681 drivers/net/macvlan.c list_for_each_entry(vlan, &port->vlans, list) vlans 1686 drivers/net/macvlan.c list_for_each_entry(vlan, &port->vlans, list) { vlans 1693 drivers/net/macvlan.c list_for_each_entry(vlan, &port->vlans, list) { vlans 1703 drivers/net/macvlan.c vlan = list_first_entry_or_null(&port->vlans, vlans 1716 drivers/net/macvlan.c list_for_each_entry_safe(vlan, next, &port->vlans, list) vlans 1728 drivers/net/macvlan.c list_for_each_entry(vlan, &port->vlans, list) vlans 292 drivers/scsi/fnic/fnic.h struct list_head vlans; vlans 470 drivers/scsi/fnic/fnic_fcs.c list_add_tail(&vlan->list, &fnic->vlans); vlans 478 drivers/scsi/fnic/fnic_fcs.c if (list_empty(&fnic->vlans)) { vlans 487 drivers/scsi/fnic/fnic_fcs.c vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); vlans 509 drivers/scsi/fnic/fnic_fcs.c vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); vlans 528 drivers/scsi/fnic/fnic_fcs.c if (list_empty(&fnic->vlans)) { vlans 533 drivers/scsi/fnic/fnic_fcs.c fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); vlans 1323 drivers/scsi/fnic/fnic_fcs.c if (!list_empty(&fnic->vlans)) { vlans 1324 drivers/scsi/fnic/fnic_fcs.c list_for_each_entry_safe(vlan, next, &fnic->vlans, list) { vlans 1350 drivers/scsi/fnic/fnic_fcs.c if (list_empty(&fnic->vlans)) { vlans 1360 drivers/scsi/fnic/fnic_fcs.c vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); vlans 1390 drivers/scsi/fnic/fnic_fcs.c if (list_empty(&fnic->vlans)) { vlans 1401 drivers/scsi/fnic/fnic_fcs.c vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, vlans 781 drivers/scsi/fnic/fnic_main.c INIT_LIST_HEAD(&fnic->vlans); vlans 43 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->vlans[vid] = ETHSW_VLAN_MEMBER; vlans 85 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[port_priv->pvid] &= ~ETHSW_VLAN_PVID; vlans 86 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[pvid] |= ETHSW_VLAN_PVID; vlans 111 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (port_priv->vlans[vid]) { vlans 124 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[vid] = ETHSW_VLAN_MEMBER; vlans 135 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[vid] |= ETHSW_VLAN_UNTAGGED; vlans 215 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!ethsw->vlans[vid]) vlans 223 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->vlans[vid] = 0; vlans 227 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ppriv_local->vlans[vid] = 0; vlans 896 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!port_priv->ethsw_data->vlans[vid]) { vlans 902 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->ethsw_data->vlans[vid] |= ETHSW_VLAN_GLOBAL; vlans 988 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!port_priv->vlans[vid]) vlans 991 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (port_priv->vlans[vid] & ETHSW_VLAN_PVID) { vlans 999 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (port_priv->vlans[vid] & ETHSW_VLAN_UNTAGGED) { vlans 1008 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[vid] &= ~ETHSW_VLAN_UNTAGGED; vlans 1011 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) { vlans 1019 drivers/staging/fsl-dpaa2/ethsw/ethsw.c port_priv->vlans[vid] &= ~ETHSW_VLAN_MEMBER; vlans 1025 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (ethsw->ports[i]->vlans[vid] & ETHSW_VLAN_MEMBER) vlans 1028 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->vlans[vid] &= ~ETHSW_VLAN_GLOBAL; vlans 1641 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ethsw->vlans[DEFAULT_VLAN_ID] = ETHSW_VLAN_MEMBER; vlans 53 drivers/staging/fsl-dpaa2/ethsw/ethsw.h u8 vlans[VLAN_VID_MASK + 1]; vlans 67 drivers/staging/fsl-dpaa2/ethsw/ethsw.h u8 vlans[VLAN_VID_MASK + 1]; vlans 121 include/linux/mlx5/vport.h u16 vlans[], vlans 1038 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { vlans 1095 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 1159 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 817 net/mac80211/chan.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 1004 net/mac80211/chan.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 291 net/mac80211/ieee80211_i.h struct list_head vlans; /* write-protected with RTNL and local->mtx */ vlans 511 net/mac80211/iface.c list_add(&sdata->u.vlan.list, &sdata->bss->vlans); vlans 916 net/mac80211/iface.c list_for_each_entry_safe(vlan, tmpsdata, &sdata->u.ap.vlans, vlans 919 net/mac80211/iface.c WARN_ON(!list_empty(&sdata->u.ap.vlans)); vlans 1429 net/mac80211/iface.c INIT_LIST_HEAD(&sdata->u.ap.vlans); vlans 74 net/mac80211/key.c list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 863 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { vlans 997 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 1021 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) vlans 1165 net/mac80211/sta_info.c int __sta_info_flush(struct ieee80211_sub_if_data *sdata, bool vlans) vlans 1174 net/mac80211/sta_info.c WARN_ON(vlans && sdata->vif.type != NL80211_IFTYPE_AP); vlans 1175 net/mac80211/sta_info.c WARN_ON(vlans && !sdata->bss); vlans 1180 net/mac80211/sta_info.c (vlans && sdata->bss == sta->sdata->bss)) { vlans 777 net/mac80211/sta_info.h int __sta_info_flush(struct ieee80211_sub_if_data *sdata, bool vlans);