Home
last modified time | relevance | path

Searched refs:batadv_atomic_dec_not_zero (Results 1 – 4 of 4) sorted by relevance

/linux/net/batman-adv/
H A Dmain.h290 #define batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) macro
H A Dgateway_client.c214 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
H A Dsend.c504 if (queue_left && !batadv_atomic_dec_not_zero(queue_left)) { in batadv_forw_packet_alloc()
H A Dtranslation-table.c3477 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))