Home
last modified time | relevance | path

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

/openbmc/linux/arch/ia64/include/asm/
H A Dspinlock.h47 ticket = ia64_fetchadd(1, p, acq); in __ticket_spin_lock()
161 while (unlikely(ia64_fetchadd(1, (int *) __read_lock_ptr, acq) < 0)) { \
162 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
173 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
H A Datomic.h97 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
105 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
182 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
190 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dintrinsics.h52 #define ia64_fetchadd(i,v,sem) \ macro
78 #define ia64_fetch_and_add(i,v) (ia64_fetchadd(i, v, rel) + (i)) /* return new value */
/openbmc/linux/arch/ia64/kernel/
H A Dsmp.c248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
H A Dtraps.c319 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
/openbmc/linux/arch/ia64/mm/
H A Dtlb.c124 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin()
141 ia64_fetchadd(1, &ss->serve, rel); in up_spin()