Home
last modified time | relevance | path

Searched refs:atomic_fcmpset_int (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/i386/linux/
H A Dlinux_copyout.c105 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 Datomic.h113 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 Drefcount.h107 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 Datomic_san.h207 #define atomic_fcmpset_int ATOMIC_SAN(fcmpset_int) macro
/freebsd/sys/i386/include/
H A Datomic.h622 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 Datomic.h450 #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 Dvfs_default.c1199 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 Dkern_synch.c434 } while (!atomic_fcmpset_int(&bc->__count, &old, in _blockcount_sleep()
H A Dvfs_subr.c3804 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 Datomic.h865 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 Dcopyout.c438 ca->res = 1 - atomic_fcmpset_int((u_int *)kva, &ca->oldval, in casueword_slow0()
H A Dpmap.c5989 if (atomic_fcmpset_int(&pmap_trm_arena_last, &prev_addr, addr)) in pmap_trm_import()
/freebsd/sys/riscv/include/
H A Datomic.h300 #define atomic_fcmpset_int atomic_fcmpset_32 macro
/freebsd/sys/vm/
H A Dvm_page.c1054 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 Dvm_page.h917 while (atomic_fcmpset_int(&m->ref_count, &r, r & (VPRC_BLOCKED | in vm_page_clearref()
H A Dvm_pageout.c2085 if (atomic_fcmpset_int(&lowmem_ticks, &last, ticks) == 0) in vm_pageout_lowmem()
/freebsd/sys/arm64/include/
H A Datomic.h563 #define atomic_fcmpset_int atomic_fcmpset_32 macro
/freebsd/sys/arm/include/
H A Datomic.h1094 #define atomic_fcmpset_int atomic_fcmpset_32 macro
/freebsd/sys/x86/x86/
H A Dmp_x86.c1306 if (atomic_fcmpset_int(cpu_bitmap, &old, new)) in ipi_bitmap_set()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c712 } else if (atomic_fcmpset_int(&ldev->siref, in linux_get_fop()