Home
last modified time | relevance | path

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

/linux-3.4.99/arch/ia64/include/asm/
Dcmpxchg.h72 #define ia64_cmpxchg(sem, ptr, old, new, size) \ macro
117 ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr)))
119 ia64_cmpxchg(rel, (ptr), (o), (n), sizeof(*(ptr)))
Datomic.h39 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); in ia64_atomic_add()
53 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); in ia64_atomic64_add()
67 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); in ia64_atomic_sub()
81 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); in ia64_atomic64_sub()
Dspinlock.h65 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock()
/linux-3.4.99/arch/ia64/kernel/
Dperfmon.c4308 old = ia64_cmpxchg(acq, &thread->pfm_context, NULL, ctx, sizeof(pfm_context_t *)); in pfm_context_load()