/arch/x86/include/asm/ |
D | atomic64_64.h | 19 static inline long atomic64_read(const atomic64_t *v) in atomic64_read() 31 static inline void atomic64_set(atomic64_t *v, long i) in atomic64_set() 43 static __always_inline void atomic64_add(long i, atomic64_t *v) in atomic64_add() 57 static inline void atomic64_sub(long i, atomic64_t *v) in atomic64_sub() 73 static inline int atomic64_sub_and_test(long i, atomic64_t *v) in atomic64_sub_and_test() 84 static __always_inline void atomic64_inc(atomic64_t *v) in atomic64_inc() 97 static __always_inline void atomic64_dec(atomic64_t *v) in atomic64_dec() 112 static inline int atomic64_dec_and_test(atomic64_t *v) in atomic64_dec_and_test() 125 static inline int atomic64_inc_and_test(atomic64_t *v) in atomic64_inc_and_test() 139 static inline int atomic64_add_negative(long i, atomic64_t *v) in atomic64_add_negative() [all …]
|
D | atomic64_32.h | 12 } atomic64_t; typedef 16 #define __ATOMIC64_DECL(sym) void atomic64_##sym(atomic64_t *, ...) 73 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() 86 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() 104 static inline void atomic64_set(atomic64_t *v, long long i) in atomic64_set() 119 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 133 static inline long long atomic64_add_return(long long i, atomic64_t *v) in atomic64_add_return() 144 static inline long long atomic64_sub_return(long long i, atomic64_t *v) in atomic64_sub_return() 152 static inline long long atomic64_inc_return(atomic64_t *v) in atomic64_inc_return() 160 static inline long long atomic64_dec_return(atomic64_t *v) in atomic64_dec_return() [all …]
|
/arch/frv/include/asm/ |
D | atomic.h | 92 } atomic64_t; typedef 96 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 107 static inline void atomic64_set(atomic64_t *v, long long i) in atomic64_set() 114 static inline long long atomic64_inc_return(atomic64_t *v) in atomic64_inc_return() 119 static inline long long atomic64_dec_return(atomic64_t *v) in atomic64_dec_return() 124 static inline long long atomic64_add_return(long long i, atomic64_t *v) in atomic64_add_return() 129 static inline long long atomic64_sub_return(long long i, atomic64_t *v) in atomic64_sub_return() 134 static inline long long atomic64_add_negative(long long i, atomic64_t *v) in atomic64_add_negative() 139 static inline void atomic64_add(long long i, atomic64_t *v) in atomic64_add() 144 static inline void atomic64_sub(long long i, atomic64_t *v) in atomic64_sub() [all …]
|
/arch/sparc/include/asm/ |
D | rwsem.h | 28 if (unlikely(atomic64_inc_return((atomic64_t *)(&sem->count)) <= 0L)) in __down_read() 53 (atomic64_t *)(&sem->count)); in __down_write_nested() 79 tmp = atomic64_dec_return((atomic64_t *)(&sem->count)); in __up_read() 90 (atomic64_t *)(&sem->count)) < 0L)) in __up_write() 99 atomic64_add(delta, (atomic64_t *)(&sem->count)); in rwsem_atomic_add() 109 tmp = atomic64_add_return(-RWSEM_WAITING_BIAS, (atomic64_t *)(&sem->count)); in __downgrade_write() 119 return atomic64_add_return(delta, (atomic64_t *)(&sem->count)); in rwsem_atomic_update()
|
D | atomic_64.h | 25 void atomic64_##op(long, atomic64_t *); 29 long atomic64_##op##_return(long, atomic64_t *); 102 static inline long atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() 119 long atomic64_dec_if_positive(atomic64_t *v);
|
/arch/arm64/include/asm/ |
D | atomic_lse.h | 171 static inline void atomic64_andnot(long i, atomic64_t *v) in atomic64_andnot() 174 register atomic64_t *x1 asm ("x1") = v; in atomic64_andnot() 183 static inline void atomic64_or(long i, atomic64_t *v) in atomic64_or() 186 register atomic64_t *x1 asm ("x1") = v; in atomic64_or() 195 static inline void atomic64_xor(long i, atomic64_t *v) in atomic64_xor() 198 register atomic64_t *x1 asm ("x1") = v; in atomic64_xor() 207 static inline void atomic64_add(long i, atomic64_t *v) in atomic64_add() 210 register atomic64_t *x1 asm ("x1") = v; in atomic64_add() 220 static inline long atomic64_add_return##name(long i, atomic64_t *v) \ 223 register atomic64_t *x1 asm ("x1") = v; \ [all …]
|
D | mmu.h | 25 atomic64_t id;
|
D | atomic_ll_sc.h | 105 __LL_SC_PREFIX(atomic64_##op(long i, atomic64_t *v)) \ in ATOMIC_OPS_RLX() 123 __LL_SC_PREFIX(atomic64_##op##_return##name(long i, atomic64_t *v)) \ 167 __LL_SC_PREFIX(atomic64_dec_if_positive(atomic64_t *v))
|
/arch/powerpc/include/asm/ |
D | atomic.h | 259 static __inline__ long atomic64_read(const atomic64_t *v) in atomic64_read() 268 static __inline__ void atomic64_set(atomic64_t *v, long i) in atomic64_set() 274 static __inline__ void atomic64_##op(long a, atomic64_t *v) \ 289 static __inline__ long atomic64_##op##_return(long a, atomic64_t *v) \ 321 static __inline__ void atomic64_inc(atomic64_t *v) in ATOMIC64_OPS() 335 static __inline__ long atomic64_inc_return(atomic64_t *v) in atomic64_inc_return() 363 static __inline__ void atomic64_dec(atomic64_t *v) in atomic64_dec() 377 static __inline__ long atomic64_dec_return(atomic64_t *v) in atomic64_dec_return() 402 static __inline__ long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() 434 static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() [all …]
|
/arch/s390/include/asm/ |
D | atomic.h | 180 typecheck(atomic64_t *, ptr); \ 202 typecheck(atomic64_t *, ptr); \ 217 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 227 static inline void atomic64_set(atomic64_t *v, long long i) in atomic64_set() 234 static inline long long atomic64_add_return(long long i, atomic64_t *v) in atomic64_add_return() 239 static inline void atomic64_add(long long i, atomic64_t *v) in atomic64_add() 256 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() 268 static inline void atomic64_##op(long i, atomic64_t *v) \ 280 static inline int atomic64_add_unless(atomic64_t *v, long long i, long long u) in ATOMIC64_OP() 296 static inline long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
|
D | pci.h | 116 atomic64_t allocated_pages; 117 atomic64_t mapped_pages; 118 atomic64_t unmapped_pages;
|
/arch/tile/include/asm/ |
D | atomic_32.h | 97 } atomic64_t; typedef 107 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 124 static inline void atomic64_add(long long i, atomic64_t *v) in atomic64_add() 131 static inline void atomic64_##op(long long i, atomic64_t *v) \ 147 static inline long long atomic64_add_return(long long i, atomic64_t *v) in ATOMIC64_OP() 162 static inline long long atomic64_add_unless(atomic64_t *v, long long a, in atomic64_add_unless() 179 static inline void atomic64_set(atomic64_t *v, long long n) in atomic64_set()
|
D | atomic_64.h | 88 static inline void atomic64_add(long i, atomic64_t *v) in atomic64_add() 93 static inline long atomic64_add_return(long i, atomic64_t *v) in atomic64_add_return() 102 static inline long atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() 114 static inline void atomic64_and(long i, atomic64_t *v) in atomic64_and() 119 static inline void atomic64_or(long i, atomic64_t *v) in atomic64_or() 124 static inline void atomic64_xor(long i, atomic64_t *v) in atomic64_xor()
|
D | atomic.h | 169 static inline long long atomic64_xchg(atomic64_t *v, long long n) in atomic64_xchg() 183 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, in atomic64_cmpxchg() 189 static inline long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
|
/arch/arm/include/asm/ |
D | atomic.h | 222 } atomic64_t; typedef 227 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 240 static inline void atomic64_set(atomic64_t *v, long long i) in atomic64_set() 249 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() 262 static inline void atomic64_set(atomic64_t *v, long long i) in atomic64_set() 279 static inline void atomic64_##op(long long i, atomic64_t *v) \ 299 atomic64_##op##_return_relaxed(long long i, atomic64_t *v) \ 342 atomic64_cmpxchg_relaxed(atomic64_t *ptr, long long old, long long new) in ATOMIC64_OPS() 365 static inline long long atomic64_xchg_relaxed(atomic64_t *ptr, long long new) in atomic64_xchg_relaxed() 385 static inline long long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive() [all …]
|
D | mmu.h | 8 atomic64_t id;
|
/arch/parisc/include/asm/ |
D | atomic.h | 166 static __inline__ void atomic64_##op(s64 i, atomic64_t *v) \ 176 static __inline__ s64 atomic64_##op##_return(s64 i, atomic64_t *v) \ 201 atomic64_set(atomic64_t *v, s64 i) in atomic64_set() 214 atomic64_read(const atomic64_t *v) in atomic64_read() 245 static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() 269 static inline long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
|
/arch/alpha/include/asm/ |
D | atomic.h | 69 static __inline__ void atomic64_##op(long i, atomic64_t * v) \ 85 static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \ 178 static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() 207 static inline long atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
|
/arch/ia64/include/asm/ |
D | rwsem.h | 142 #define rwsem_atomic_add(delta, sem) atomic64_add(delta, (atomic64_t *)(&(sem)->count)) 143 #define rwsem_atomic_update(delta, sem) atomic64_add_return(delta, (atomic64_t *)(&(sem)->count))
|
D | atomic.h | 84 ia64_atomic64_##op (__s64 i, atomic64_t *v) \ 93 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \ 157 static __inline__ long atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless() 185 atomic64_add_negative (__s64 i, atomic64_t *v) in atomic64_add_negative()
|
/arch/arm/include/asm/xen/ |
D | events.h | 20 atomic64_t, \
|
/arch/mips/include/asm/ |
D | atomic.h | 328 static __inline__ void atomic64_##op(long i, atomic64_t * v) \ 365 static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \ 440 static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v) in atomic64_sub_if_positive() 512 static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) in atomic64_add_unless()
|
/arch/arm64/mm/ |
D | context.c | 32 static atomic64_t asid_generation; 35 static DEFINE_PER_CPU(atomic64_t, active_asids);
|
/arch/arm/mm/ |
D | context.c | 46 static atomic64_t asid_generation = ATOMIC64_INIT(ASID_FIRST_VERSION); 49 static DEFINE_PER_CPU(atomic64_t, active_asids);
|
/arch/x86/kernel/ |
D | pvclock.c | 54 static atomic64_t last_value = ATOMIC64_INIT(0);
|