Searched refs:batadv_atomic_dec_not_zero (Results 1 – 5 of 5) sorted by relevance
298 #define batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) macro
452 if (!batadv_atomic_dec_not_zero(&bat_priv->bcast_queue_left)) { in batadv_add_bcast_packet_to_list()
275 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
3169 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count()3382 if (!batadv_atomic_dec_not_zero(&bat_priv->tt.ogm_append_cnt)) in batadv_tt_local_commit_changes_nolock()
683 if (!batadv_atomic_dec_not_zero(&bat_priv->batman_queue_left)) { in batadv_iv_ogm_aggregate_new()