| /f-stack/freebsd/i386/linux/ |
| H A D | linux_copyout.c | 110 while (!atomic_fcmpset_int((int *)kva, &old, old | st->oparg)) in futex_orl_slow0() 136 while (!atomic_fcmpset_int((int *)kva, &old, old & st->oparg)) in futex_andl_slow0() 162 while (!atomic_fcmpset_int((int *)kva, &old, old ^ st->oparg)) in futex_xorl_slow0()
|
| /f-stack/freebsd/sys/ |
| H A D | refcount.h | 110 if (__predict_true(atomic_fcmpset_int(count, &old, in refcount_acquire_checked() 131 if (atomic_fcmpset_int(count, &old, old + 1)) in refcount_acquire_if_gt()
|
| H A D | _cscan_atomic.h | 172 #define atomic_fcmpset_int kcsan_atomic_fcmpset_int macro
|
| /f-stack/freebsd/amd64/include/ |
| H A D | atomic.h | 125 int atomic_fcmpset_int(volatile u_int *dst, u_int *expect, u_int src); 538 #define atomic_fcmpset_acq_int atomic_fcmpset_int 539 #define atomic_fcmpset_rel_int atomic_fcmpset_int 620 #define atomic_fcmpset_32 atomic_fcmpset_int
|
| /f-stack/freebsd/i386/include/ |
| H A D | atomic.h | 118 int atomic_fcmpset_int(volatile u_int *dst, u_int *expect, u_int src); 703 return (atomic_fcmpset_int((volatile u_int *)dst, (u_int *)expect, in atomic_fcmpset_long() 793 #define atomic_fcmpset_acq_int atomic_fcmpset_int 794 #define atomic_fcmpset_rel_int atomic_fcmpset_int 875 #define atomic_fcmpset_32 atomic_fcmpset_int 938 atomic_fcmpset_int((volatile u_int *)(dst), (u_int *)(old), (u_int)(new))
|
| /f-stack/freebsd/arm/include/ |
| H A D | atomic.h | 90 #define atomic_fcmpset_int atomic_fcmpset_32 macro
|
| /f-stack/freebsd/mips/include/ |
| H A D | atomic.h | 663 #define atomic_fcmpset_int atomic_fcmpset_32 macro 789 while (!atomic_fcmpset_int(ptr, &retval, value)) in atomic_swap_int()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_synch.c | 455 } while (!atomic_fcmpset_int(&bc->__count, &old, in _blockcount_sleep()
|
| H A D | kern_clock.c | 477 } while (!atomic_fcmpset_int(&ticks, &global, *t)); in hardclock()
|
| H A D | vfs_subr.c | 3362 if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) { in vhold_smr() 3404 if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) { in vhold_recycle_free()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | copyout.c | 440 ca->res = 1 - atomic_fcmpset_int((u_int *)kva, &ca->oldval, in casueword_slow0()
|
| H A D | pmap.c | 5908 if (atomic_fcmpset_int(&pmap_trm_arena_last, &prev_addr, addr)) in pmap_trm_import()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_page.c | 987 if (atomic_fcmpset_int(&m->busy_lock, &x, in vm_page_sunbusy() 1097 } while (!atomic_fcmpset_int(&m->busy_lock, &x, x | VPB_BIT_WAITERS)); in _vm_page_busy_sleep() 1750 if (atomic_fcmpset_int(&m->busy_lock, &x, in vm_page_busy_release() 2044 } while (atomic_fcmpset_int(&vmd->vmd_free_count, &old, new) == 0); in _vm_domain_allocate() 3942 } while (!atomic_fcmpset_int(&m->ref_count, &old, old + 1)); in vm_page_wire_mapped() 4264 } while (!atomic_fcmpset_int(&m->ref_count, &old, old | VPRC_BLOCKED)); in vm_page_try_blocked_op()
|
| H A D | vm_pageout.c | 2050 if (atomic_fcmpset_int(&lowmem_ticks, &last, ticks) == 0) in vm_pageout_lowmem()
|
| /f-stack/freebsd/arm64/include/ |
| H A D | atomic.h | 497 #define atomic_fcmpset_int atomic_fcmpset_32 macro
|
| /f-stack/freebsd/x86/x86/ |
| H A D | mp_x86.c | 1249 if (atomic_fcmpset_int(cpu_bitmap, &old, new)) in ipi_bitmap_set()
|