Searched refs:ia64_cmpxchg (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/arch/ia64/include/asm/ |
D | atomic.h | 40 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); in ia64_atomic_add() 54 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); in ia64_atomic64_add() 68 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); in ia64_atomic_sub() 82 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); in ia64_atomic64_sub()
|
D | intrinsics.h | 133 #define ia64_cmpxchg(sem,ptr,old,new,size) \ macro 169 ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr))) 171 ia64_cmpxchg(rel, (ptr), (o), (n), sizeof(*(ptr)))
|
D | spinlock.h | 66 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock()
|
/linux-2.6.39/arch/ia64/kernel/ |
D | perfmon.c | 4319 old = ia64_cmpxchg(acq, &thread->pfm_context, NULL, ctx, sizeof(pfm_context_t *)); in pfm_context_load()
|