Home
last modified time | relevance | path

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

/linux-6.1.9/arch/ia64/include/asm/
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); \
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) \
/linux-6.1.9/arch/ia64/include/uapi/asm/
Dintrinsics.h56 #define ia64_fetchadd(i,v,sem) \ macro
82 #define ia64_fetch_and_add(i,v) (ia64_fetchadd(i, v, rel) + (i)) /* return new value */
/linux-6.1.9/arch/ia64/kernel/
Dsmp.c248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
Dtraps.c319 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
/linux-6.1.9/arch/ia64/mm/
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()