Lines Matching refs:vlan_bitmap
46 if (test_bit(vid, v->vlan_bitmap)) { in __vlan_add()
77 set_bit(vid, v->vlan_bitmap); in __vlan_add()
91 if (!test_bit(vid, v->vlan_bitmap)) in __vlan_del()
102 clear_bit(vid, v->vlan_bitmap); in __vlan_del()
104 if (bitmap_empty(v->vlan_bitmap, VLAN_N_VID)) { in __vlan_del()
118 bitmap_zero(v->vlan_bitmap, VLAN_N_VID); in __vlan_flush()
248 if (test_bit(*vid, v->vlan_bitmap)) in br_allowed_ingress()
270 if (test_bit(vid, v->vlan_bitmap)) in br_allowed_egress()
301 if (test_bit(*vid, v->vlan_bitmap)) in br_should_learn()
381 if (test_bit(vid, pv->vlan_bitmap)) in br_vlan_find()
458 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_vlan_set_proto()
477 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in br_vlan_set_proto()
487 for_each_set_bit(vid, pv->vlan_bitmap, errvid) in br_vlan_set_proto()
495 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in br_vlan_set_proto()
704 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in nbp_vlan_flush()
721 if (test_bit(vid, pv->vlan_bitmap)) in nbp_vlan_find()