Home
last modified time | relevance | path

Searched refs:atomic64_read (Results 1 – 21 of 21) sorted by relevance

/arch/arm64/mm/
Dcontext.c115 u64 asid = atomic64_read(&mm->context.id); in new_context()
116 u64 generation = atomic64_read(&asid_generation); in new_context()
166 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
175 if (!((asid ^ atomic64_read(&asid_generation)) >> asid_bits) in check_and_switch_context()
181 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
182 if ((asid ^ atomic64_read(&asid_generation)) >> asid_bits) { in check_and_switch_context()
/arch/arm/mm/
Dcontext.c180 u64 asid = atomic64_read(&mm->context.id); in new_context()
181 u64 generation = atomic64_read(&asid_generation); in new_context()
232 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
233 if (!((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) in check_and_switch_context()
239 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
240 if ((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) { in check_and_switch_context()
/arch/x86/include/asm/
Datomic64_64.h19 static inline long atomic64_read(const atomic64_t *v) in atomic64_read() function
186 c = atomic64_read(v); in atomic64_add_unless()
210 c = atomic64_read(v); in atomic64_dec_if_positive()
Datomic64_32.h120 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
/arch/s390/include/asm/
Datomic.h215 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
283 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
337 old = atomic64_read(v); in atomic64_add_return()
348 old = atomic64_read(v); in atomic64_set_mask()
358 old = atomic64_read(v); in atomic64_clear_mask()
374 c = atomic64_read(v); in atomic64_add_unless()
390 c = atomic64_read(v); in atomic64_dec_if_positive()
/arch/s390/kernel/
Dvtime.c53 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
178 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
201 atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
230 timer->expires += atomic64_read(&virt_timer_elapsed); in internal_add_vtimer()
232 (s64) atomic64_read(&virt_timer_current))) in internal_add_vtimer()
/arch/ia64/include/asm/
Datomic.h25 #define atomic64_read(v) ACCESS_ONCE((v)->counter) macro
83 old = atomic64_read(v); \
144 c = atomic64_read(v); in atomic64_add_unless()
/arch/sparc/include/asm/
Datomic_64.h18 #define atomic64_read(v) ACCESS_ONCE((v)->counter) macro
97 c = atomic64_read(v); in atomic64_add_unless()
/arch/parisc/include/asm/
Datomic.h205 atomic64_read(const atomic64_t *v) in atomic64_read() function
239 c = atomic64_read(v); in atomic64_add_unless()
263 c = atomic64_read(v); in atomic64_dec_if_positive()
/arch/arm64/include/asm/
Datomic.h142 #define atomic64_read(v) ACCESS_ONCE((v)->counter) macro
238 c = atomic64_read(v); in atomic64_add_unless()
/arch/tile/include/asm/
Datomic.h193 c = atomic64_read(v); in atomic64_dec_if_positive()
Datomic_64.h65 #define atomic64_read(v) ((v)->counter) macro
Datomic_32.h94 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
/arch/x86/kernel/
Dpvclock.c108 last = atomic64_read(&last_value); in pvclock_clocksource_read()
/arch/arm/include/asm/
Datomic.h222 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
244 static inline long long atomic64_read(const atomic64_t *v) in atomic64_read() function
/arch/mips/include/asm/
Datomic.h314 #define atomic64_read(v) ACCESS_ONCE((v)->counter) macro
508 c = atomic64_read(v); in atomic64_add_unless()
/arch/frv/include/asm/
Datomic.h128 static inline long long atomic64_read(atomic64_t *v) in atomic64_read() function
/arch/s390/pci/
Dpci_debug.c50 atomic64_read(counter)); in pci_sw_counter_show()
/arch/alpha/include/asm/
Datomic.h21 #define atomic64_read(v) ACCESS_ONCE((v)->counter) macro
/arch/arm/kvm/
Darm.c352 return unlikely(kvm->arch.vmid_gen != atomic64_read(&kvm_vmid_gen)); in need_new_vmid_gen()
402 kvm->arch.vmid_gen = atomic64_read(&kvm_vmid_gen); in update_vttbr()
/arch/powerpc/include/asm/
Datomic.h255 static __inline__ long atomic64_read(const atomic64_t *v) in atomic64_read() function