Searched refs:batadv_atomic_dec_not_zero (Results 1 – 4 of 4) sorted by relevance
290 #define batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) macro
214 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
504 if (queue_left && !batadv_atomic_dec_not_zero(queue_left)) { in batadv_forw_packet_alloc()
3477 if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) in batadv_send_roam_adv() 3689 if (!batadv_atomic_dec_not_zero(&bat_priv->tt.ogm_append_cnt))