Home
last modified time | relevance | path

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

/net/batman-adv/
Dsoft-interface.c543 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_softif_vlan_get() local
546 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_softif_vlan_get()
547 if (vlan_tmp->vid != vid) in batadv_softif_vlan_get()
550 if (!kref_get_unless_zero(&vlan_tmp->refcount)) in batadv_softif_vlan_get()
553 vlan = vlan_tmp; in batadv_softif_vlan_get()
Dsysfs.c95 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_kobj_to_vlan() local
98 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_kobj_to_vlan()
99 if (vlan_tmp->kobj != obj) in batadv_kobj_to_vlan()
102 if (!kref_get_unless_zero(&vlan_tmp->refcount)) in batadv_kobj_to_vlan()
105 vlan = vlan_tmp; in batadv_kobj_to_vlan()