Home
last modified time | relevance | path

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

/external/libdrm/
Dxf86atomic.h51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro
70 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro
95 # 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/u-boot/arch/x86/include/asm/
Datomic.h86 static inline void atomic_dec(atomic_t *v) in atomic_dec() function
/external/u-boot/arch/powerpc/include/asm/
Datomic.h90 #define atomic_dec(v) ((void) atomic_dec_return((v))) macro
/external/u-boot/include/asm-generic/
Datomic.h47 static inline void atomic_dec(atomic_t *v) 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