Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan.c151 struct net_bridge_vlan *masterv; in br_vlan_get_master() local
154 masterv = br_vlan_find(vg, vid); in br_vlan_get_master()
155 if (!masterv) { in br_vlan_get_master()
161 masterv = br_vlan_find(vg, vid); in br_vlan_get_master()
162 if (WARN_ON(!masterv)) in br_vlan_get_master()
164 refcount_set(&masterv->refcnt, 1); in br_vlan_get_master()
165 return masterv; in br_vlan_get_master()
167 refcount_inc(&masterv->refcnt); in br_vlan_get_master()
169 return masterv; in br_vlan_get_master()
183 static void br_vlan_put_master(struct net_bridge_vlan *masterv) in br_vlan_put_master() argument
[all …]