Searched refs:local_sub_return (Results 1 – 7 of 7) sorted by relevance
/linux/arch/loongarch/include/asm/ |
H A D | local.h | 44 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 D | local.h | 38 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 D | local.h | 63 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 D | local.h | 115 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 D | local.h | 74 #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 D | local.h | 41 #define local_sub_return(i, l) atomic_long_sub_return((i), (&(l)->a)) macro
|
H A D | local64.h | 42 #define local64_sub_return(i, l) local_sub_return((i), (&(l)->a))
|