Searched defs:atomic_dec (Results 1 – 4 of 4) sorted by relevance
55 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro74 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro99 # define atomic_dec(x, v) (atomic_add_int(&(x)->atomic, -(v))) macro
64 atomic_dec(atomic_t *addr) in atomic_dec() function
2684 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function2689 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function2696 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function
2836 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function2841 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function2848 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function