Searched refs:atomic64_dec_if_positive (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/lib/
H A Datomic64_test.c142 BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1)); test_atomic64()
147 BUG_ON(atomic64_dec_if_positive(&v) != -one); test_atomic64()
151 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); test_atomic64()
154 #warning Please implement atomic64_dec_if_positive for your architecture and select the above Kconfig symbol test_atomic64()
H A Datomic64.c113 long long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
126 EXPORT_SYMBOL(atomic64_dec_if_positive); variable
/linux-4.4.14/arch/sparc/lib/
H A Datomic_64.S98 ENTRY(atomic64_dec_if_positive) /* %o0 = atomic_ptr */
110 ENDPROC(atomic64_dec_if_positive)
H A Dksyms.c122 EXPORT_SYMBOL(atomic64_dec_if_positive);
/linux-4.4.14/include/asm-generic/
H A Datomic64.h43 extern long long atomic64_dec_if_positive(atomic64_t *v);
/linux-4.4.14/arch/sparc/include/asm/
H A Datomic_64.h115 long atomic64_dec_if_positive(atomic64_t *v);
/linux-4.4.14/arch/x86/include/asm/
H A Datomic64_64.h201 * atomic64_dec_if_positive - decrement by 1 if old value positive
207 static inline long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
H A Datomic64_32.h305 static inline long long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/alpha/include/asm/
H A Datomic.h201 * atomic64_dec_if_positive - decrement by 1 if old value positive
207 static inline long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/parisc/include/asm/
H A Datomic.h261 * atomic64_dec_if_positive - decrement by 1 if old value positive
267 static inline long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/arm64/include/asm/
H A Datomic_ll_sc.h167 __LL_SC_PREFIX(atomic64_dec_if_positive(atomic64_t *v)) atomic64_dec_if_positive() function
172 asm volatile("// atomic64_dec_if_positive\n" atomic64_dec_if_positive()
187 __LL_SC_EXPORT(atomic64_dec_if_positive); variable
H A Datomic_lse.h309 static inline long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/powerpc/include/asm/
H A Datomic.h402 static __inline__ long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
408 "1: ldarx %0,0,%1 # atomic64_dec_if_positive\n\ atomic64_dec_if_positive()
/linux-4.4.14/arch/arm/include/asm/
H A Datomic.h385 static inline long long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
393 __asm__ __volatile__("@ atomic64_dec_if_positive\n" atomic64_dec_if_positive()
/linux-4.4.14/arch/tile/include/asm/
H A Datomic.h189 static inline long long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/s390/include/asm/
H A Datomic.h296 static inline long long atomic64_dec_if_positive(atomic64_t *v) atomic64_dec_if_positive() function
/linux-4.4.14/arch/mips/include/asm/
H A Datomic.h564 * atomic64_dec_if_positive - decrement by 1 if old value positive
567 #define atomic64_dec_if_positive(v) atomic64_sub_if_positive(1, v) macro
/linux-4.4.14/drivers/scsi/cxlflash/
H A Dmain.c334 newval = atomic64_dec_if_positive(&afu->room); send_cmd()

Completed in 694 milliseconds