Home
last modified time | relevance | path

Searched refs:ia64_fetchadd (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/ia64/include/asm/
Dspinlock.h47 ticket = ia64_fetchadd(1, p, acq); in __ticket_spin_lock()
169 while (unlikely(ia64_fetchadd(1, (int *) __read_lock_ptr, acq) < 0)) { \
170 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
181 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
Datomic.h98 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
106 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
183 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
191 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
/Linux-v4.19/arch/ia64/include/uapi/asm/
Dintrinsics.h58 #define ia64_fetchadd(i,v,sem) \ macro
84 #define ia64_fetch_and_add(i,v) (ia64_fetchadd(i, v, rel) + (i)) /* return new value */
/Linux-v4.19/arch/ia64/kernel/
Dsmp.c249 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
Dtraps.c328 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
/Linux-v4.19/arch/ia64/mm/
Dtlb.c116 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin()
133 ia64_fetchadd(1, &ss->serve, rel); in up_spin()