Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 24 of 24) sorted by relevance

/arch/mn10300/include/asm/
Dspinlock.h138 atomic_add(RW_LOCK_BIAS, count); in arch_write_lock()
162 atomic_add(RW_LOCK_BIAS, count); in arch_write_unlock()
182 atomic_add(RW_LOCK_BIAS, count); in arch_write_trylock()
/arch/tile/include/asm/
Datomic.h58 #define atomic_sub(i, v) atomic_add((int)(-(i)), (v))
92 #define atomic_inc(v) atomic_add(1, (v))
Datomic_32.h32 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
/arch/metag/include/asm/
Datomic.h39 #define atomic_inc(v) atomic_add(1, (v))
/arch/s390/include/asm/
Datomic.h47 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
59 #define atomic_inc(_v) atomic_add(1, _v)
62 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v)
/arch/sh/include/asm/
Datomic.h42 #define atomic_inc(v) atomic_add(1, (v))
/arch/sparc/include/asm/
Datomic_32.h37 #define atomic_add(i, v) ((void)atomic_add_return( (int)(i), (v))) macro
Datomic_64.h76 #define atomic_inc(v) atomic_add(1, v) in ATOMIC_OPS()
/arch/m68k/amiga/
Dchipram.c109 atomic_add(size, &chipavail); in amiga_chip_free()
/arch/m32r/include/asm/
Dspinlock.h317 atomic_add(RW_LOCK_BIAS, count); in arch_write_trylock()
/arch/hexagon/include/asm/
Datomic.h202 #define atomic_inc(v) atomic_add(1, (v))
/arch/parisc/include/asm/
Datomic.h163 #define atomic_inc(v) (atomic_add( 1,(v)))
164 #define atomic_dec(v) (atomic_add( -1,(v)))
/arch/xtensa/include/asm/
Datomic.h217 #define atomic_inc(v) atomic_add(1,(v)) in ATOMIC_OPS()
/arch/x86/include/asm/
Datomic.h49 static __always_inline void atomic_add(int i, atomic_t *v) in atomic_add() function
/arch/ia64/include/asm/
Datomic.h317 #define atomic_add(i,v) (void)atomic_add_return((i), (v)) macro
319 #define atomic_inc(v) atomic_add(1, (v))
/arch/arc/include/asm/
Datomic.h289 #define atomic_sub(i, v) atomic_add(-(i), (v))
341 #define atomic_inc(v) atomic_add(1, v)
/arch/arm64/include/asm/
Datomic.h122 #define atomic_inc(v) atomic_add(1, (v))
/arch/alpha/include/asm/
Datomic.h306 #define atomic_inc(v) atomic_add(1,(v))
/arch/arm/include/asm/
Datomic.h257 #define atomic_inc(v) atomic_add(1, v)
/arch/mips/include/asm/
Datomic.h347 #define atomic_inc(v) atomic_add(1, (v))
/arch/s390/kernel/
Dtopology.c353 atomic_add(60, &topology_poll); in topology_expect_change()
/arch/x86/events/intel/
Duncore_nhmex.c598 atomic_add(1 << (idx * 8), &er->ref); in nhmex_mbox_get_shared_reg()
1017 atomic_add(1 << ((idx - 2) * 8), &er->ref); in nhmex_rbox_get_constraint()
Duncore_snbep.c817 atomic_add(1 << (i * 6), &er->ref); in __snbep_cbox_get_constraint()
944 atomic_add(1 << (idx * 8), &er->ref); in snbep_pcu_get_constraint()
/arch/x86/kernel/cpu/mcheck/
Dmce.c949 atomic_add(*no_way_out, &global_nwo); in mce_start()