Searched refs:batadv_atomic_dec_not_zero (Results 1 – 4 of 4) sorted by relevance
294 #define batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) macro
510 if (queue_left && !batadv_atomic_dec_not_zero(queue_left)) { in batadv_forw_packet_alloc()
216 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
3717 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_tt_check_roam_count()3930 if (!batadv_atomic_dec_not_zero(&bat_priv->tt.ogm_append_cnt)) in batadv_tt_local_commit_changes_nolock()