| /freebsd-13-stable/sys/arm/include/ |
| HD | atomic.h | 92 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /freebsd-13-stable/sys/mips/include/ |
| HD | profile.h | 83 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| HD | atomic.h | 660 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /freebsd-13-stable/sys/i386/include/ |
| HD | profile.h | 81 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| HD | atomic.h | 752 #define atomic_cmpset_acq_int atomic_cmpset_int macro 834 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int 893 atomic_cmpset_acq_int((volatile u_int *)(dst), (u_int)(old), \
|
| /freebsd-13-stable/sys/amd64/include/ |
| HD | profile.h | 81 while (!atomic_cmpset_acq_int(&mcount_lock, 0, 1)) \
|
| HD | atomic.h | 490 #define atomic_cmpset_acq_int atomic_cmpset_int macro 572 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int
|
| /freebsd-13-stable/lib/libc/gen/ |
| 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()
|
| HD | sem_new.c | 383 if (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1)) in _sem_trywait() 403 if (atomic_cmpset_acq_int(&sem->_kern._count, val, in _sem_clockwait_np()
|
| /freebsd-13-stable/sys/kern/ |
| HD | subr_counter.c | 142 atomic_cmpset_acq_int(&cr->cr_lock, 0, 1)) { in counter_ratecheck()
|
| HD | kern_clock.c | 494 if (atomic_cmpset_acq_int(&devpoll_run, 0, 1)) { in hardclock()
|
| HD | kern_intr.c | 1267 while (atomic_cmpset_acq_int(&ithd->it_need, 1, 0) != 0) { in ithread_loop()
|
| /freebsd-13-stable/sys/netipsec/ |
| HD | subr_ipsec.c | 137 } while(atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_enter() 160 } while (atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_drain()
|
| /freebsd-13-stable/sys/dev/imcsmb/ |
| HD | imcsmb_pci.c | 307 if (atomic_cmpset_acq_int(&sc->semaphore, 0, 1) == 0) { in imcsmb_pci_request_bus()
|
| /freebsd-13-stable/lib/libc/gmon/ |
| HD | mcount.c | 92 if (!atomic_cmpset_acq_int(&p->state, GMON_PROF_ON, GMON_PROF_BUSY)) in _MCOUNT_DECL()
|
| /freebsd-13-stable/sys/powerpc/include/ |
| HD | atomic.h | 739 #define atomic_cmpset_acq_32 atomic_cmpset_acq_int 752 #define atomic_cmpset_acq_ptr atomic_cmpset_acq_int
|
| /freebsd-13-stable/libexec/rtld-elf/ |
| HD | rtld_lock.c | 141 if (atomic_cmpset_acq_int(&l->lock, 0, WAFLAG)) in def_lock_acquire_set()
|
| /freebsd-13-stable/sys/riscv/include/ |
| HD | atomic.h | 309 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /freebsd-13-stable/sys/x86/x86/ |
| HD | mp_x86.c | 1497 if (atomic_cmpset_acq_int(&nmi_kdb_lock, 0, 1)) { in nmi_call_kdb_smp() 1503 while (!atomic_cmpset_acq_int(&nmi_kdb_lock, 0, 1)) in nmi_call_kdb_smp()
|
| /freebsd-13-stable/sys/netgraph/ |
| HD | ng_base.c | 1977 if (atomic_cmpset_acq_int(&ngq->q_flags, t, in ng_dequeue() 1984 } else if (atomic_cmpset_acq_int(&ngq->q_flags, OP_PENDING, in ng_dequeue() 2053 if (atomic_cmpset_acq_int(&node->nd_input_queue.q_flags, t, in ng_acquire_read() 2077 if (atomic_cmpset_acq_int(&node->nd_input_queue.q_flags, 0, in ng_acquire_write()
|
| /freebsd-13-stable/sys/arm64/include/ |
| HD | atomic.h | 569 #define atomic_cmpset_acq_int atomic_cmpset_acq_32 macro
|
| /freebsd-13-stable/sys/sys/ |
| HD | atomic_san.h | 205 #define atomic_cmpset_acq_int ATOMIC_SAN(cmpset_acq_int) macro
|
| /freebsd-13-stable/sys/fs/nfsserver/ |
| HD | nfs_nfsdcache.c | 870 if (atomic_cmpset_acq_int(&onethread, 0, 1) == 0) in nfsrc_trimcache()
|
| /freebsd-13-stable/sys/dev/netmap/ |
| HD | netmap_kern.h | 109 #define NM_ATOMIC_TEST_AND_SET(p) (!atomic_cmpset_acq_int((p), 0, 1))
|
| /freebsd-13-stable/sys/compat/ndis/ |
| HD | subr_ntoskrnl.c | 2301 while (atomic_cmpset_acq_int((volatile u_int *)lock, 0, 1) == 0) { 2335 while (atomic_cmpset_acq_int((volatile u_int *)lock, 0, 1) == 0)
|