Home
last modified time | relevance | path

Searched refs:local_sub_return (Results 1 – 7 of 7) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dlocal.h44 static inline long local_sub_return(long i, local_t *l) in local_sub_return() function
96 #define local_dec_return(l) local_sub_return(1, (l))
108 #define local_sub_and_test(i, l) (local_sub_return((i), (l)) == 0)
128 #define local_dec_and_test(l) (local_sub_return(1, (l)) == 0)
/linux/arch/alpha/include/asm/
H A Dlocal.h38 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return() function
93 #define local_dec_return(l) local_sub_return(1,(l))
97 #define local_sub_and_test(i,l) (local_sub_return((i), (l)) == 0)
101 #define local_dec_and_test(l) (local_sub_return(1, (l)) == 0)
/linux/arch/mips/include/asm/
H A Dlocal.h63 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return() function
134 #define local_dec_return(l) local_sub_return(1, (l))
146 #define local_sub_and_test(i, l) (local_sub_return((i), (l)) == 0)
166 #define local_dec_and_test(l) (local_sub_return(1, (l)) == 0)
/linux/arch/x86/include/asm/
H A Dlocal.h115 static inline long local_sub_return(long i, local_t *l) in local_sub_return() function
121 #define local_dec_return(l) (local_sub_return(1, l))
/linux/arch/powerpc/include/asm/
H A Dlocal.h74 #define local_dec_return(l) local_sub_return(1LL, l)
76 #define local_sub_and_test(a, l) (local_sub_return((a), (l)) == 0)
/linux/include/asm-generic/
H A Dlocal.h41 #define local_sub_return(i, l) atomic_long_sub_return((i), (&(l)->a)) macro
H A Dlocal64.h42 #define local64_sub_return(i, l) local_sub_return((i), (&(l)->a))