Searched refs:tvlv (Results 1 – 4 of 4) sorted by relevance
72 &bat_priv->tvlv.handler_list, list) { in batadv_tvlv_handler_get()96 struct batadv_tvlv_container *tvlv; in batadv_tvlv_container_release() local98 tvlv = container_of(ref, struct batadv_tvlv_container, refcount); in batadv_tvlv_container_release()99 kfree(tvlv); in batadv_tvlv_container_release()107 static void batadv_tvlv_container_put(struct batadv_tvlv_container *tvlv) in batadv_tvlv_container_put() argument109 kref_put(&tvlv->refcount, batadv_tvlv_container_release); in batadv_tvlv_container_put()127 struct batadv_tvlv_container *tvlv_tmp, *tvlv = NULL; in batadv_tvlv_container_get() local129 lockdep_assert_held(&bat_priv->tvlv.container_list_lock); in batadv_tvlv_container_get()131 hlist_for_each_entry(tvlv_tmp, &bat_priv->tvlv.container_list, list) { in batadv_tvlv_container_get()139 tvlv = tvlv_tmp; in batadv_tvlv_container_get()[all …]
174 spin_lock_init(&bat_priv->tvlv.container_list_lock); in batadv_mesh_init()175 spin_lock_init(&bat_priv->tvlv.handler_list_lock); in batadv_mesh_init()193 INIT_HLIST_HEAD(&bat_priv->tvlv.container_list); in batadv_mesh_init()194 INIT_HLIST_HEAD(&bat_priv->tvlv.handler_list); in batadv_mesh_init()
35 batman-adv-y += tvlv.o
1740 struct batadv_priv_tvlv tvlv; member