Searched refs:atomic64_dec_if_positive (Results 1 – 9 of 9) sorted by relevance
120 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); in test_atomic64()125 BUG_ON(atomic64_dec_if_positive(&v) != -one); in test_atomic64()129 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64()132 #warning Please implement atomic64_dec_if_positive for your architecture, and add it to the IF above in test_atomic64()
121 long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function134 EXPORT_SYMBOL(atomic64_dec_if_positive);
27 extern long long atomic64_dec_if_positive(atomic64_t *v);
227 static inline long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function
305 static inline long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function
442 static __inline__ long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function
300 static inline long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function
398 static inline u64 atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() function
739 #define atomic64_dec_if_positive(v) atomic64_sub_if_positive(1, v) macro