Home
last modified time | relevance | path

Searched refs:ia64_cmpxchg (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/ia64/include/asm/
Datomic.h40 } 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()
Dintrinsics.h133 #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)))
Dspinlock.h66 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock()
/linux-2.6.39/arch/ia64/kernel/
Dperfmon.c4319 old = ia64_cmpxchg(acq, &thread->pfm_context, NULL, ctx, sizeof(pfm_context_t *)); in pfm_context_load()