| /trueos/lib/libthr/thread/ |
| HD | thr_once.c | 74 if (atomic_cmpset_acq_int(&once_control->state, state, ONCE_IN_PROGRESS)) in _pthread_once() 77 if (atomic_cmpset_acq_int(&once_control->state, state, ONCE_WAIT)) in _pthread_once()
|
| /trueos/sys/sys/ |
| HD | buf_ring.h | 92 } while (!atomic_cmpset_acq_int(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue() 130 } while (!atomic_cmpset_acq_int(&br->br_cons_head, cons_head, cons_next)); in buf_ring_dequeue_mc()
|
| /trueos/sys/mips/include/ |
| HD | profile.h | 88 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| HD | atomic.h | 541 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /trueos/sys/powerpc/include/ |
| HD | atomic.h | 614 atomic_cmpset_acq_int(volatile u_int *p, u_int cmpval, u_int newval) in atomic_cmpset_acq_int() function 648 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int 661 #define atomic_cmpset_acq_ptr atomic_cmpset_acq_int
|
| /trueos/sys/i386/include/ |
| HD | atomic.h | 607 #define atomic_cmpset_acq_int atomic_cmpset_int macro 672 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int 711 atomic_cmpset_acq_int((volatile u_int *)(dst), (u_int)(old), \
|
| HD | profile.h | 84 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| /trueos/lib/libc/gen/ |
| HD | sem_new.c | 374 if (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1)) in _sem_trywait() 394 if (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1)) in _sem_timedwait()
|
| HD | sem.c | 383 if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1)) in _libc_sem_timedwait_compat() 425 if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1)) in _libc_sem_trywait_compat()
|
| /trueos/sys/amd64/include/ |
| HD | profile.h | 84 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| HD | atomic.h | 394 #define atomic_cmpset_acq_int atomic_cmpset_int macro 459 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int
|
| /trueos/lib/libc/gmon/ |
| HD | mcount.c | 92 if (!atomic_cmpset_acq_int(&p->state, GMON_PROF_ON, GMON_PROF_BUSY)) in _MCOUNT_DECL()
|
| /trueos/libexec/rtld-elf/ |
| HD | rtld_lock.c | 125 if (atomic_cmpset_acq_int(&l->lock, 0, WAFLAG)) in def_wlock_acquire()
|
| /trueos/sys/ia64/include/ |
| HD | atomic.h | 322 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /trueos/sys/vm/ |
| HD | vm_page.h | 518 (atomic_cmpset_acq_int(&m->busy_lock, VPB_UNBUSIED, \
|
| HD | vm_page.c | 630 if (atomic_cmpset_acq_int(&m->busy_lock, x, x + VPB_ONE_SHARER)) in vm_page_trysbusy()
|
| /trueos/sys/netgraph/ |
| HD | ng_base.c | 1969 if (atomic_cmpset_acq_int(&ngq->q_flags, t, in ng_dequeue() 1976 } else if (atomic_cmpset_acq_int(&ngq->q_flags, OP_PENDING, in ng_dequeue() 2045 if (atomic_cmpset_acq_int(&node->nd_input_queue.q_flags, t, in ng_acquire_read() 2069 if (atomic_cmpset_acq_int(&node->nd_input_queue.q_flags, 0, in ng_acquire_write()
|
| /trueos/sys/kern/ |
| HD | kern_clock.c | 551 if (atomic_cmpset_acq_int(&global_hardclock_run, 0, 1)) { in hardclock_cnt()
|
| HD | kern_descrip.c | 2417 if (atomic_cmpset_acq_int(&fp->f_count, count, count + 1) != 1) in fget_unlocked()
|
| /trueos/sys/arm/include/ |
| HD | atomic.h | 1127 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /trueos/sys/fs/nfsserver/ |
| HD | nfs_nfsdcache.c | 864 if (atomic_cmpset_acq_int(&onethread, 0, 1) == 0) in nfsrc_trimcache()
|
| /trueos/sys/dev/netmap/ |
| HD | netmap_kern.h | 66 #define NM_ATOMIC_TEST_AND_SET(p) (!atomic_cmpset_acq_int((p), 0, 1))
|
| /trueos/sys/dev/hwpmc/ |
| HD | hwpmc_piv.c | 482 while (!atomic_cmpset_acq_int(&pc->pc_intrlock, 0, 1)) \
|
| /trueos/sys/compat/ndis/ |
| HD | subr_ntoskrnl.c | 2304 while (atomic_cmpset_acq_int((volatile u_int *)lock, 0, 1) == 0) { 2338 while (atomic_cmpset_acq_int((volatile u_int *)lock, 0, 1) == 0)
|
| /trueos/sys/dev/bxe/ |
| HD | bxe.c | 882 } while (atomic_cmpset_acq_int(addr, old, new) == 0); in bxe_cmpxchg()
|