Home
last modified time | relevance | path

Searched refs:arch_atomic_read (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/arch/m68k/include/asm/
Datomic.h19 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
51 : "di" (i), "2" (arch_atomic_read(v))); \
66 : "di" (i), "2" (arch_atomic_read(v))); \
174 prev = arch_atomic_read(v); in arch_atomic_cmpxchg()
187 prev = arch_atomic_read(v); in arch_atomic_xchg()
/linux-5.19.10/arch/x86/include/asm/
Datomic.h23 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
222 int val = arch_atomic_read(v); in arch_atomic_fetch_and()
240 int val = arch_atomic_read(v); in arch_atomic_fetch_or()
258 int val = arch_atomic_read(v); in arch_atomic_fetch_xor()
/linux-5.19.10/arch/s390/include/asm/
Datomic.h18 static inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
22 #define arch_atomic_read arch_atomic_read macro
/linux-5.19.10/arch/ia64/include/asm/
Datomic.h24 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
39 old = arch_atomic_read(v); \
54 old = arch_atomic_read(v); \
/linux-5.19.10/arch/sh/include/asm/
Datomic.h22 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/arc/include/asm/
Datomic.h17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/sparc/include/asm/
Datomic_32.h35 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
Datomic_64.h17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/arm64/include/asm/
Datomic.h102 #define arch_atomic_read(v) __READ_ONCE((v)->counter) macro
169 #define arch_atomic64_read arch_atomic_read
/linux-5.19.10/arch/hexagon/include/asm/
Datomic.h37 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/openrisc/include/asm/
Datomic.h128 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/include/asm-generic/
Datomic.h130 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/xtensa/include/asm/
Datomic.h46 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/csky/include/asm/
Datomic.h16 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-5.19.10/arch/parisc/include/asm/
Datomic.h71 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-5.19.10/arch/alpha/include/asm/
Datomic.h29 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/include/linux/atomic/
Datomic-arch-fallback.h229 ret = arch_atomic_read(v); in arch_atomic_read_acquire()
1242 int c = arch_atomic_read(v); in arch_atomic_fetch_add_unless()
1292 int c = arch_atomic_read(v); in arch_atomic_inc_unless_negative()
1308 int c = arch_atomic_read(v); in arch_atomic_dec_unless_positive()
1324 int dec, c = arch_atomic_read(v); in arch_atomic_dec_if_positive()
Datomic-long.h523 return arch_atomic_read(v); in arch_atomic_long_read()
/linux-5.19.10/arch/loongarch/include/asm/
Datomic.h38 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/powerpc/kernel/
Dsmp.c420 spin_until_cond(arch_atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock_start()
429 spin_until_cond(arch_atomic_read(&__nmi_ipi_lock) == 0); in nmi_ipi_lock()
435 WARN_ON(arch_atomic_read(&__nmi_ipi_lock) != 1); in nmi_ipi_unlock()
/linux-5.19.10/include/linux/
Djump_label.h261 return arch_atomic_read(&key->enabled); in static_key_count()
/linux-5.19.10/arch/powerpc/include/asm/
Datomic.h26 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-5.19.10/arch/arm/include/asm/
Datomic.h25 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-5.19.10/arch/riscv/include/asm/
Datomic.h28 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-5.19.10/arch/x86/kernel/cpu/mce/
Dcore.c1053 while (arch_atomic_read(&mce_callin) != num_online_cpus()) { in mce_start()
1079 while (arch_atomic_read(&mce_executing) < order) { in mce_start()
1092 *no_way_out = arch_atomic_read(&global_nwo); in mce_start()

12