Searched refs:vlan_tmp (Results 1 – 2 of 2) sorted by relevance
72 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_kobj_to_vlan() local75 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_kobj_to_vlan()76 if (vlan_tmp->kobj != obj) in batadv_kobj_to_vlan()79 if (!atomic_inc_not_zero(&vlan_tmp->refcount)) in batadv_kobj_to_vlan()82 vlan = vlan_tmp; in batadv_kobj_to_vlan()
482 struct batadv_softif_vlan *vlan_tmp, *vlan = NULL; in batadv_softif_vlan_get() local485 hlist_for_each_entry_rcu(vlan_tmp, &bat_priv->softif_vlan_list, list) { in batadv_softif_vlan_get()486 if (vlan_tmp->vid != vid) in batadv_softif_vlan_get()489 if (!atomic_inc_not_zero(&vlan_tmp->refcount)) in batadv_softif_vlan_get()492 vlan = vlan_tmp; in batadv_softif_vlan_get()