/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/sh/include/asm/ |
D | atomic.h | 22 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/arch/arc/include/asm/ |
D | atomic.h | 17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/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-6.1.9/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-6.1.9/include/linux/ |
D | context_tracking.h | 121 return !(arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & RCU_DYNTICKS_IDX); in rcu_dynticks_curr_cpu_in_eqs()
|
D | context_tracking_state.h | 52 return arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_STATE_MASK; in __ct_state()
|
D | jump_label.h | 259 return arch_atomic_read(&key->enabled); in static_key_count()
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | atomic.h | 37 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/arch/openrisc/include/asm/ |
D | atomic.h | 128 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/include/asm-generic/ |
D | atomic.h | 130 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | atomic.h | 46 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/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-6.1.9/arch/parisc/include/asm/ |
D | atomic.h | 71 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | atomic.h | 29 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | atomic.h | 38 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/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-6.1.9/arch/powerpc/include/asm/ |
D | atomic.h | 26 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|
/linux-6.1.9/arch/arm/include/asm/ |
D | atomic.h | 25 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | atomic.h | 28 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
|