masterv           149 net/bridge/br_vlan.c 	struct net_bridge_vlan *masterv;
masterv           152 net/bridge/br_vlan.c 	masterv = br_vlan_find(vg, vid);
masterv           153 net/bridge/br_vlan.c 	if (!masterv) {
masterv           159 net/bridge/br_vlan.c 		masterv = br_vlan_find(vg, vid);
masterv           160 net/bridge/br_vlan.c 		if (WARN_ON(!masterv))
masterv           162 net/bridge/br_vlan.c 		refcount_set(&masterv->refcnt, 1);
masterv           163 net/bridge/br_vlan.c 		return masterv;
masterv           165 net/bridge/br_vlan.c 	refcount_inc(&masterv->refcnt);
masterv           167 net/bridge/br_vlan.c 	return masterv;
masterv           181 net/bridge/br_vlan.c static void br_vlan_put_master(struct net_bridge_vlan *masterv)
masterv           185 net/bridge/br_vlan.c 	if (!br_vlan_is_master(masterv))
masterv           188 net/bridge/br_vlan.c 	vg = br_vlan_group(masterv->br);
masterv           189 net/bridge/br_vlan.c 	if (refcount_dec_and_test(&masterv->refcnt)) {
masterv           191 net/bridge/br_vlan.c 				       &masterv->vnode, br_vlan_rht_params);
masterv           192 net/bridge/br_vlan.c 		__vlan_del_list(masterv);
masterv           193 net/bridge/br_vlan.c 		call_rcu(&masterv->rcu, br_master_vlan_rcu_free);
masterv           224 net/bridge/br_vlan.c 	struct net_bridge_vlan *masterv = NULL;
masterv           262 net/bridge/br_vlan.c 		masterv = br_vlan_get_master(br, v->vid, extack);
masterv           263 net/bridge/br_vlan.c 		if (!masterv)
masterv           265 net/bridge/br_vlan.c 		v->brvlan = masterv;
masterv           274 net/bridge/br_vlan.c 			v->stats = masterv->stats;
masterv           314 net/bridge/br_vlan.c 		if (masterv) {
masterv           315 net/bridge/br_vlan.c 			if (v->stats && masterv->stats != v->stats)
masterv           319 net/bridge/br_vlan.c 			br_vlan_put_master(masterv);
masterv           331 net/bridge/br_vlan.c 	struct net_bridge_vlan *masterv = v;
masterv           341 net/bridge/br_vlan.c 		masterv = v->brvlan;
masterv           361 net/bridge/br_vlan.c 	if (masterv != v) {
masterv           370 net/bridge/br_vlan.c 	br_vlan_put_master(masterv);