Searched refs:arch_atomic_read (Results 1 – 8 of 8) sorted by relevance
23 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() function222 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()
102 #define arch_atomic_read(v) __READ_ONCE((v)->counter) macro169 #define arch_atomic64_read arch_atomic_read
254 return arch_atomic_read(&key->enabled); in static_key_count()
1088 int c = arch_atomic_read(v); in arch_atomic_fetch_add_unless()1138 int c = arch_atomic_read(v); in arch_atomic_inc_unless_negative()1154 int c = arch_atomic_read(v); in arch_atomic_dec_unless_positive()1170 int dec, c = arch_atomic_read(v); in arch_atomic_dec_if_positive()
80 #define arch_atomic_read atomic_read macro
28 return arch_atomic_read(v); in atomic_read()
321 return !(arch_atomic_read(&rdp->dynticks) & RCU_DYNTICK_CTRL_CTR); in rcu_dynticks_curr_cpu_in_eqs()
11319 return arch_atomic_read(&kvm->arch.assigned_device_count); in kvm_arch_has_assigned_device()