Home
last modified time | relevance | path

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

/net/batman-adv/
Dsoft-interface.c555 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_softif_vlan_get() local
558 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_softif_vlan_get()
559 if (vlan_tmp->vid != vid) in batadv_softif_vlan_get()
562 if (!kref_get_unless_zero(&vlan_tmp->refcount)) in batadv_softif_vlan_get()
565 vlan = vlan_tmp; in batadv_softif_vlan_get()
Dsysfs.c100 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_kobj_to_vlan() local
103 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_kobj_to_vlan()
104 if (vlan_tmp->kobj != obj) in batadv_kobj_to_vlan()
107 if (!kref_get_unless_zero(&vlan_tmp->refcount)) in batadv_kobj_to_vlan()
110 vlan = vlan_tmp; in batadv_kobj_to_vlan()