/linux-5.19.10/arch/m68k/include/asm/ |
D | atomic.h | 19 #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/ |
D | atomic.h | 23 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/ |
D | atomic.h | 18 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/ |
D | atomic.h | 24 #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/ |
D | atomic.h | 22 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/arc/include/asm/ |
D | atomic.h | 17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/sparc/include/asm/ |
D | atomic_32.h | 35 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
D | atomic_64.h | 17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | atomic.h | 102 #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/ |
D | atomic.h | 37 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/openrisc/include/asm/ |
D | atomic.h | 128 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/include/asm-generic/ |
D | atomic.h | 130 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/xtensa/include/asm/ |
D | atomic.h | 46 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/csky/include/asm/ |
D | atomic.h | 16 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|
/linux-5.19.10/arch/parisc/include/asm/ |
D | atomic.h | 71 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|
/linux-5.19.10/arch/alpha/include/asm/ |
D | atomic.h | 29 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/include/linux/atomic/ |
D | atomic-arch-fallback.h | 229 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()
|
D | atomic-long.h | 523 return arch_atomic_read(v); in arch_atomic_long_read()
|
/linux-5.19.10/arch/loongarch/include/asm/ |
D | atomic.h | 38 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | smp.c | 420 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/ |
D | jump_label.h | 261 return arch_atomic_read(&key->enabled); in static_key_count()
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | atomic.h | 26 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|
/linux-5.19.10/arch/arm/include/asm/ |
D | atomic.h | 25 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-5.19.10/arch/riscv/include/asm/ |
D | atomic.h | 28 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/ |
D | core.c | 1053 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()
|