Home
last modified time | relevance | path

Searched defs:atomic_dec (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/
Dxf86atomic.h51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro
71 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro
96 # define atomic_dec(x, v) (atomic_add_int(&(x)->atomic, -(v))) macro
/external/linux-kselftest/tools/testing/selftests/futex/include/
Datomic.h60 atomic_dec(atomic_t *addr) in atomic_dec() function
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c5522 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function
5527 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function
5534 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function