Home
last modified time | relevance | path

Searched refs:masterv (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/bridge/
Dbr_vlan.c166 struct net_bridge_vlan *masterv; in br_vlan_get_master() local
169 masterv = br_vlan_find(vg, vid); in br_vlan_get_master()
170 if (!masterv) { in br_vlan_get_master()
176 masterv = br_vlan_find(vg, vid); in br_vlan_get_master()
177 if (WARN_ON(!masterv)) in br_vlan_get_master()
179 refcount_set(&masterv->refcnt, 1); in br_vlan_get_master()
180 return masterv; in br_vlan_get_master()
182 refcount_inc(&masterv->refcnt); in br_vlan_get_master()
184 return masterv; in br_vlan_get_master()
198 static void br_vlan_put_master(struct net_bridge_vlan *masterv) in br_vlan_put_master() argument
[all …]
Dbr_multicast.c3771 const struct net_bridge_vlan *masterv; in br_multicast_rcv() local
3777 masterv = vlan; in br_multicast_rcv()
3781 masterv = vlan->brvlan; in br_multicast_rcv()
3786 if (!(masterv->priv_flags & BR_VLFLAG_GLOBAL_MCAST_ENABLED)) in br_multicast_rcv()