Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/sh/include/asm/
Datomic.h22 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/arch/arc/include/asm/
Datomic.h17 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/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-6.1.9/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-6.1.9/include/linux/
Dcontext_tracking.h121 return !(arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & RCU_DYNTICKS_IDX); in rcu_dynticks_curr_cpu_in_eqs()
Dcontext_tracking_state.h52 return arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_STATE_MASK; in __ct_state()
Djump_label.h259 return arch_atomic_read(&key->enabled); in static_key_count()
/linux-6.1.9/arch/hexagon/include/asm/
Datomic.h37 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/arch/openrisc/include/asm/
Datomic.h128 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/include/asm-generic/
Datomic.h130 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/arch/xtensa/include/asm/
Datomic.h46 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/arch/csky/include/asm/
Datomic.h16 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-6.1.9/arch/parisc/include/asm/
Datomic.h71 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-6.1.9/arch/alpha/include/asm/
Datomic.h29 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/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()
/linux-6.1.9/arch/loongarch/include/asm/
Datomic.h38 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/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-6.1.9/arch/powerpc/include/asm/
Datomic.h26 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function
/linux-6.1.9/arch/arm/include/asm/
Datomic.h25 #define arch_atomic_read(v) READ_ONCE((v)->counter) macro
/linux-6.1.9/arch/riscv/include/asm/
Datomic.h28 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function

12