Searched refs:lock_cmpxchg (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | locks_internal.h | 116 #define lock_cmpxchg(p, e, v, m) ({ \ macro
|
| H A D | smr.c | 1015 if (lock_cmpxchg(&smrw->sect_waiter, NULL, self, relaxed)) { in __smr_wait_for_oncore() 1234 lock_cmpxchg(&smr->smr_clock.s_wr_seq, seq - SMR_SEQ_INC, seq, relaxed); in smr_deferred_advance_commit() 1926 if (lock_cmpxchg(quiesce_genp, gen, gen + 1, relaxed)) { in cpu_quiescent_advance()
|
| H A D | lock_mtx.c | 370 was_last = lock_cmpxchg(&lock->lck_mtx.as_tail, idx, pidx, release); in lck_mtx_ilk_lock_cleanup_as_mcs()
|
| H A D | locks.c | 366 return lock_cmpxchg(&lock->lock_data, 0, newval, acquire); in hw_lock_trylock_contended() 751 if (__probable(lock_cmpxchg(&lock->lock_data, 0, in hw_lock_try_internal()
|