Searched refs:bat_counters (Results 1 – 4 of 4) sorted by relevance
327 this_cpu_add(bat_priv->bat_counters[idx], count); in batadv_add_counter()340 counters = per_cpu_ptr(bat_priv->bat_counters, cpu); in batadv_sum_counter()
738 bat_priv->bat_counters = __alloc_percpu(cnt_len, __alignof__(uint64_t)); in batadv_softif_init_late()739 if (!bat_priv->bat_counters) in batadv_softif_init_late()811 free_percpu(bat_priv->bat_counters); in batadv_softif_init_late()812 bat_priv->bat_counters = NULL; in batadv_softif_init_late()
202 free_percpu(bat_priv->bat_counters); in batadv_mesh_free()203 bat_priv->bat_counters = NULL; in batadv_mesh_free()
766 uint64_t __percpu *bat_counters; /* Per cpu counters */ member