Searched refs:atomic_cmpset_acq_32 (Results 1 – 13 of 13) sorted by relevance
/freebsd/lib/libthr/thread/ |
H A D | thr_umtx.h | 82 if (atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_UNOWNED, id)) in _thr_umutex_trylock() 85 atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_RB_OWNERDEAD, in _thr_umutex_trylock() 99 if (atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_UNOWNED, id) != 0) in _thr_umutex_trylock2() 104 atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_CONTESTED, in _thr_umutex_trylock2() 108 atomic_cmpset_acq_32(&mtx->m_owner, UMUTEX_RB_OWNERDEAD, in _thr_umutex_trylock2() 198 if (atomic_cmpset_acq_32(&rwlock->rw_state, state, state + 1)) in _thr_rwlock_tryrdlock() 214 if (atomic_cmpset_acq_32(&rwlock->rw_state, state, in _thr_rwlock_trywrlock()
|
H A D | thr_umtx.c | 59 atomic_cmpset_acq_32(&mtx->m_owner, owner, id | owner)) in __thr_umutex_lock() 62 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock() 91 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock_spin() 95 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_lock_spin() 134 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_timedlock() 138 atomic_cmpset_acq_32(&mtx->m_owner, owner, in __thr_umutex_timedlock()
|
H A D | thr_mutex.c | 674 if (atomic_cmpset_acq_32(&m->m_lock.m_owner, owner, in mutex_lock_sleep() 689 if (atomic_cmpset_acq_32(&m->m_lock.m_owner, owner, in mutex_lock_sleep()
|
/freebsd/sys/kern/ |
H A D | kern_syscalls.c | 84 } while (atomic_cmpset_acq_32(&se->sy_thrcnt, oldcnt, cnt) == 0); in syscall_thread_drain() 105 } while (atomic_cmpset_acq_32(&(*se)->sy_thrcnt, oldcnt, cnt) == 0); in syscall_thread_enter()
|
/freebsd/sys/sys/ |
H A D | buf_ring.h | 119 } while (!atomic_cmpset_acq_32(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue() 166 } while (!atomic_cmpset_acq_32(&br->br_cons_head, cons_head, cons_next)); in buf_ring_dequeue_mc()
|
H A D | atomic_san.h | 353 #define atomic_cmpset_acq_32 ATOMIC_SAN(cmpset_acq_32) macro
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 485 atomic_cmpset_acq_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new) in atomic_cmpset_acq_32() function 1072 #define atomic_cmpset_acq_ptr atomic_cmpset_acq_32 1098 #define atomic_cmpset_acq_int atomic_cmpset_acq_32
|
/freebsd/sys/amd64/include/ |
H A D | atomic.h | 531 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 337 #define atomic_cmpset_acq_int atomic_cmpset_acq_32
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 577 #define atomic_cmpset_acq_int atomic_cmpset_acq_32
|
/freebsd/sys/i386/include/ |
H A D | atomic.h | 792 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
|
/freebsd/sys/powerpc/include/ |
H A D | atomic.h | 735 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_cam.c | 1326 if (atomic_cmpset_acq_32(&io->node->tgt_node.busy_sent, FALSE, TRUE)) { in ocs_task_set_full_or_busy()
|