Home
last modified time | relevance | path

Searched refs:atomic_cmpset_acq_32 (Results 1 – 13 of 13) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_umtx.h82 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 Dthr_umtx.c59 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 Dthr_mutex.c674 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 Dkern_syscalls.c84 } 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 Dbuf_ring.h119 } 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 Datomic_san.h353 #define atomic_cmpset_acq_32 ATOMIC_SAN(cmpset_acq_32) macro
/freebsd/sys/arm/include/
H A Datomic.h485 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 Datomic.h531 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
/freebsd/sys/riscv/include/
H A Datomic.h337 #define atomic_cmpset_acq_int atomic_cmpset_acq_32
/freebsd/sys/arm64/include/
H A Datomic.h577 #define atomic_cmpset_acq_int atomic_cmpset_acq_32
/freebsd/sys/i386/include/
H A Datomic.h792 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
/freebsd/sys/powerpc/include/
H A Datomic.h735 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int macro
/freebsd/sys/dev/ocs_fc/
H A Docs_cam.c1326 if (atomic_cmpset_acq_32(&io->node->tgt_node.busy_sent, FALSE, TRUE)) { in ocs_task_set_full_or_busy()