| /freebsd/sys/i386/linux/ |
| H A D | linux_copyout.c | 105 while (!atomic_fcmpset_int(kva, &old, old | st->oparg)) in futex_orl_slow0() 131 while (!atomic_fcmpset_int(kva, &old, old & st->oparg)) in futex_andl_slow0() 157 while (!atomic_fcmpset_int(kva, &old, old ^ st->oparg)) in futex_xorl_slow0()
|
| /freebsd/sys/compat/linuxkpi/common/include/asm/ |
| H A D | atomic.h | 113 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_add_unless() 127 if (likely(atomic_fcmpset_int(&v->counter, &c, c + a))) in atomic_fetch_add_unless() 151 if (atomic_fcmpset_int(&v->counter, &ret, new)) in atomic_cmpxchg() 301 if (likely(atomic_fcmpset_int(&v->counter, &old, retval))) in atomic_dec_if_positive()
|
| /freebsd/sys/sys/ |
| H A D | refcount.h | 107 if (__predict_true(atomic_fcmpset_int(count, &old, in refcount_acquire_checked() 128 if (atomic_fcmpset_int(count, &old, old + 1)) in refcount_acquire_if_gt()
|
| H A D | atomic_san.h | 207 #define atomic_fcmpset_int ATOMIC_SAN(fcmpset_int) macro
|
| /freebsd/sys/i386/include/ |
| H A D | atomic.h | 622 return (atomic_fcmpset_int((volatile u_int *)dst, (u_int *)expect, in atomic_fcmpset_long() 703 #define atomic_fcmpset_acq_int atomic_fcmpset_int 704 #define atomic_fcmpset_rel_int atomic_fcmpset_int 785 #define atomic_fcmpset_32 atomic_fcmpset_int 848 atomic_fcmpset_int((volatile u_int *)(dst), (u_int *)(old), (u_int)(new))
|
| /freebsd/sys/amd64/include/ |
| H A D | atomic.h | 450 #define atomic_fcmpset_acq_int atomic_fcmpset_int 451 #define atomic_fcmpset_rel_int atomic_fcmpset_int 532 #define atomic_fcmpset_32 atomic_fcmpset_int
|
| /freebsd/sys/kern/ |
| H A D | vfs_default.c | 1199 if (atomic_fcmpset_int(&vp->v_writecount, &n, -1)) { in vop_stdset_text() 1209 if (atomic_fcmpset_int(&vp->v_writecount, &n, n - 1)) { in vop_stdset_text() 1234 if (atomic_fcmpset_int(&vp->v_writecount, &n, 0)) { in vop_stdunset_text() 1244 if (atomic_fcmpset_int(&vp->v_writecount, &n, n + 1)) { in vop_stdunset_text() 1286 if (atomic_fcmpset_int(&vp->v_writecount, &n, n + ap->a_inc)) { in vop_stdadd_writecount_impl()
|
| H A D | kern_synch.c | 434 } while (!atomic_fcmpset_int(&bc->__count, &old, in _blockcount_sleep()
|
| H A D | vfs_subr.c | 3804 if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) { in vhold_smr() 3846 if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) { in vhold_recycle_free()
|
| /freebsd/sys/powerpc/include/ |
| H A D | atomic.h | 865 atomic_fcmpset_int(volatile u_int *p, u_int *cmpval, u_int newval) in atomic_fcmpset_int() function 959 #define atomic_fcmpset_32 atomic_fcmpset_int 972 #define atomic_fcmpset_ptr atomic_fcmpset_int
|
| /freebsd/sys/i386/i386/ |
| H A D | copyout.c | 438 ca->res = 1 - atomic_fcmpset_int((u_int *)kva, &ca->oldval, in casueword_slow0()
|
| H A D | pmap.c | 5989 if (atomic_fcmpset_int(&pmap_trm_arena_last, &prev_addr, addr)) in pmap_trm_import()
|
| /freebsd/sys/riscv/include/ |
| H A D | atomic.h | 300 #define atomic_fcmpset_int atomic_fcmpset_32 macro
|
| /freebsd/sys/vm/ |
| H A D | vm_page.c | 1054 if (atomic_fcmpset_int(&m->busy_lock, &x, in vm_page_sunbusy() 1166 } while (!atomic_fcmpset_int(&m->busy_lock, &x, x | VPB_BIT_WAITERS)); in _vm_page_busy_sleep() 1849 if (atomic_fcmpset_int(&m->busy_lock, &x, in vm_page_busy_release() 2072 } while (atomic_fcmpset_int(&vmd->vmd_free_count, &old, new) == 0); in _vm_domain_allocate() 4261 } while (!atomic_fcmpset_int(&m->ref_count, &old, old + 1)); in vm_page_wire_mapped() 4595 } while (!atomic_fcmpset_int(&m->ref_count, &old, old | VPRC_BLOCKED)); in vm_page_try_blocked_op()
|
| H A D | vm_page.h | 917 while (atomic_fcmpset_int(&m->ref_count, &r, r & (VPRC_BLOCKED | in vm_page_clearref()
|
| H A D | vm_pageout.c | 2085 if (atomic_fcmpset_int(&lowmem_ticks, &last, ticks) == 0) in vm_pageout_lowmem()
|
| /freebsd/sys/arm64/include/ |
| H A D | atomic.h | 563 #define atomic_fcmpset_int atomic_fcmpset_32 macro
|
| /freebsd/sys/arm/include/ |
| H A D | atomic.h | 1094 #define atomic_fcmpset_int atomic_fcmpset_32 macro
|
| /freebsd/sys/x86/x86/ |
| H A D | mp_x86.c | 1306 if (atomic_fcmpset_int(cpu_bitmap, &old, new)) in ipi_bitmap_set()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 712 } else if (atomic_fcmpset_int(&ldev->siref, in linux_get_fop()
|