Searched refs:bat_counters (Results 1 – 4 of 4) sorted by relevance
105 counters = per_cpu_ptr(bat_priv->bat_counters, cpu); in batadv_sum_counter()750 bat_priv->bat_counters = __alloc_percpu(cnt_len, __alignof__(u64)); in batadv_softif_init_late()751 if (!bat_priv->bat_counters) in batadv_softif_init_late()819 free_percpu(bat_priv->bat_counters); in batadv_softif_init_late()820 bat_priv->bat_counters = NULL; in batadv_softif_init_late()
358 this_cpu_add(bat_priv->bat_counters[idx], count); in batadv_add_counter()
291 free_percpu(bat_priv->bat_counters); in batadv_mesh_free()292 bat_priv->bat_counters = NULL; in batadv_mesh_free()
1629 u64 __percpu *bat_counters; /* Per cpu counters */ member