Searched refs:ia64_fetchadd (Results 1 – 5 of 5) sorted by relevance
/arch/ia64/include/asm/ |
D | spinlock.h | 44 ticket = ia64_fetchadd(1, p, acq); in __ticket_spin_lock() 181 while (unlikely(ia64_fetchadd(1, (int *) __read_lock_ptr, acq) < 0)) { \ 182 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \ 193 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
|
D | intrinsics.h | 57 #define ia64_fetchadd(i,v,sem) \ macro 83 #define ia64_fetch_and_add(i,v) (ia64_fetchadd(i, v, rel) + (i)) /* return new value */
|
/arch/ia64/kernel/ |
D | smp.c | 249 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
|
D | traps.c | 324 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
|
/arch/ia64/mm/ |
D | tlb.c | 116 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin() 133 ia64_fetchadd(1, &ss->serve, rel); in up_spin()
|