Home
last modified time | relevance | path

Searched refs:atomic_fcmpset_rel_ptr (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/kern/
H A Dkern_rangelock.c134 if (atomic_fcmpset_rel_ptr(&lock->head, &v, in rangelock_cheat_lock()
163 if (atomic_fcmpset_rel_ptr(&lock->head, &v, in rangelock_cheat_lock()
210 if (atomic_fcmpset_rel_ptr(&lock->head, in rangelock_cheat_unlock()
215 if (atomic_fcmpset_rel_ptr(&lock->head, in rangelock_cheat_unlock()
227 if (atomic_fcmpset_rel_ptr(&lock->head, &v, in rangelock_cheat_unlock()
H A Dkern_lock.c381 if (!atomic_fcmpset_rel_ptr(&lk->lk_lock, &x, v)) { in wakeupshlk()
534 if (atomic_fcmpset_rel_ptr(&lk->lk_lock, xp, in lockmgr_sunlock_try()
993 if (atomic_fcmpset_rel_ptr(&lk->lk_lock, &v, in lockmgr_upgrade()
H A Dkern_rwlock.c765 if (atomic_fcmpset_rel_ptr(&rw->rw_lock, vp, in __rw_runlock_try()
830 if (!atomic_fcmpset_rel_ptr(&rw->rw_lock, &v, setv)) in __rw_runlock_hard()
H A Dkern_sx.c1304 if (atomic_fcmpset_rel_ptr(&sx->sx_lock, xp, in _sx_sunlock_try()
1352 if (!atomic_fcmpset_rel_ptr(&sx->sx_lock, &x, setx)) in _sx_sunlock_hard()
H A Dkern_thread.c606 if (atomic_fcmpset_rel_ptr((uintptr_t *)&tdd->tdd_zombies, in thread_zombie()
/freebsd/sys/powerpc/include/
H A Datomic.h916 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_long macro
920 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_int macro
/freebsd/sys/sys/
H A Drwlock.h95 atomic_fcmpset_rel_ptr(&(rw)->rw_lock, (tid), RW_UNLOCKED)
H A Dsx.h178 !atomic_fcmpset_rel_ptr(&sx->sx_lock, &x, SX_LOCK_UNLOCKED))) in __sx_xunlock()
H A Dmutex.h229 atomic_fcmpset_rel_ptr(&(mp)->mtx_lock, (vp), MTX_UNOWNED)
H A Datomic_san.h266 #define atomic_fcmpset_rel_ptr ATOMIC_SAN(fcmpset_rel_ptr) macro
/freebsd/sys/amd64/include/
H A Datomic.h588 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_long macro
/freebsd/sys/riscv/include/
H A Datomic.h652 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_64 macro
/freebsd/sys/arm64/include/
H A Datomic.h641 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_64 macro
/freebsd/sys/i386/include/
H A Datomic.h852 #define atomic_fcmpset_rel_ptr(dst, old, new) \ macro
/freebsd/sys/arm/include/
H A Datomic.h1070 #define atomic_fcmpset_rel_ptr atomic_fcmpset_rel_32 macro
/freebsd/sys/x86/x86/
H A Dcpu_machdep.c925 while (atomic_fcmpset_rel_ptr( in nmi_register_handler()