Home
last modified time | relevance | path

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

/linux/net/batman-adv/
H A Dmesh-interface.c100 counters = per_cpu_ptr(bat_priv->bat_counters, cpu); in batadv_sum_counter()
806 bat_priv->bat_counters = __alloc_percpu(cnt_len, __alignof__(u64)); in batadv_meshif_init_late()
807 if (!bat_priv->bat_counters) in batadv_meshif_init_late()
874 free_percpu(bat_priv->bat_counters); in batadv_meshif_init_late()
875 bat_priv->bat_counters = NULL; in batadv_meshif_init_late()
H A Dmain.h347 this_cpu_add(bat_priv->bat_counters[idx], count); in batadv_add_counter()
H A Dmain.c330 free_percpu(bat_priv->bat_counters); in batadv_mesh_free()
331 bat_priv->bat_counters = NULL; in batadv_mesh_free()
H A Dtypes.h1549 * @bat_counters: mesh internal traffic statistic counters (see
1552 u64 __percpu *bat_counters; /* Per cpu counters */ member