Home
last modified time | relevance | path

Searched refs:atomic_fcmpset_64 (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/sys/
H A D_atomic64e.h52 int atomic_fcmpset_64(volatile u_int64_t *, u_int64_t *, u_int64_t);
53 #define atomic_fcmpset_acq_64 atomic_fcmpset_64
54 #define atomic_fcmpset_rel_64 atomic_fcmpset_64
H A Datomic_san.h382 #define atomic_fcmpset_64 ATOMIC_SAN(fcmpset_64) macro
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic64.h103 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_add_unless()
117 if (likely(atomic_fcmpset_64(&v->counter, &c, c + a))) in atomic64_fetch_add_unless()
131 while (!atomic_fcmpset_64(&v->counter, &ret, i)) in atomic64_xchg()
143 if (atomic_fcmpset_64(&v->counter, &ret, new)) in atomic64_cmpxchg()
H A Datomic.h210 while (!atomic_fcmpset_64((volatile u64 *)(ptr), \
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Datomic.h127 (void)atomic_fcmpset_64(target, &cmp, newval); in atomic_cas_64()
132 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Datomic.h139 (void) atomic_fcmpset_64(target, &cmp, newval); in atomic_cas_64()
144 if (atomic_fcmpset_64(target, &cmp, newval)) in atomic_cas_64()
/freebsd/sys/riscv/include/
H A Datomic.h415 atomic_fcmpset_64(volatile uint64_t *p, uint64_t *cmpval, uint64_t newval) in atomic_fcmpset_64() function
541 #define atomic_fcmpset_long atomic_fcmpset_64
554 #define atomic_fcmpset_ptr atomic_fcmpset_64
/freebsd/sys/i386/include/
H A Datomic.h500 atomic_fcmpset_64(volatile uint64_t *dst, uint64_t *expect, uint64_t src) in atomic_fcmpset_64() function
798 #define atomic_fcmpset_acq_64 atomic_fcmpset_64
799 #define atomic_fcmpset_rel_64 atomic_fcmpset_64
/freebsd/sys/kern/
H A Dsubr_atomic64.c118 int atomic_fcmpset_64(volatile uint64_t *p, uint64_t *old, uint64_t new) in atomic_fcmpset_64() function
/freebsd/sys/net/
H A Dmp_ring.c192 } while (atomic_fcmpset_64(&r->state, &os.state, in drain_ring_lockless()
418 if (atomic_fcmpset_64(&r->state, &os.state, ns.state)) in ifmp_ring_enqueue()
/freebsd/sys/dev/cxgbe/
H A Dt4_mp_ring.c154 } while (atomic_fcmpset_64(&r->state, &os.state, in drain_ring()
398 if (atomic_fcmpset_64(&r->state, &os.state, ns.state)) in mp_ring_enqueue()
/freebsd/sys/arm64/include/
H A Datomic.h592 #define atomic_fcmpset_long atomic_fcmpset_64
604 #define atomic_fcmpset_ptr atomic_fcmpset_64
/freebsd/sys/amd64/include/
H A Datomic.h559 #define atomic_fcmpset_64 atomic_fcmpset_long macro
/freebsd/sys/arm64/arm64/
H A Dpmap.c4326 while (!atomic_fcmpset_64(l2, &old_l2, (old_l2 & ~mask) | nbits)) in pmap_protect_l2()
4373 while (!atomic_fcmpset_64(tl3p, &l3e, (l3e & ~mask) | nbits)) in pmap_mask_set_l3c()
4526 while (!atomic_fcmpset_64(l3p, &l3, (l3 & ~mask) | in pmap_mask_set_locked()
4835 if (!atomic_fcmpset_64(firstl3, &newl2, newl2 & ~ATTR_SW_DBM)) in pmap_promote_l2()
4867 if (!atomic_fcmpset_64(l3, &oldl3, oldl3 & in pmap_promote_l2()
4978 if (!atomic_fcmpset_64(l3p, &firstl3c, firstl3c & ~ATTR_SW_DBM)) in pmap_promote_l3c()
5008 if (!atomic_fcmpset_64(l3, &oldl3, oldl3 & in pmap_promote_l3c()
7308 while (!atomic_fcmpset_64(pte, &oldpte, in pmap_remove_write()
8549 while (!atomic_fcmpset_64(tl2p, &l2e, l2e & ~(ATTR_CONTIGUOUS | in pmap_demote_l2c()
8574 while (!atomic_fcmpset_64(tl2p, &l2e, (l2e & ~mask) | nbits)) in pmap_demote_l2c()
[all …]
/freebsd/sys/powerpc/include/
H A Datomic.h910 #define atomic_fcmpset_64 atomic_fcmpset_long macro
/freebsd/sys/arm/include/
H A Datomic.h348 atomic_fcmpset_64(volatile uint64_t *_ptr, uint64_t *_old, uint64_t _new) in atomic_fcmpset_64() function
/freebsd/sys/riscv/riscv/
H A Dpmap.c3069 if (atomic_fcmpset_64(firstl3, &firstl3e, firstl3e & ~PTE_W)) { in pmap_promote_l2()
3092 if (atomic_fcmpset_64(l3, &l3e, l3e & ~PTE_W)) { in pmap_promote_l2()
/freebsd/sys/vm/
H A Dvm_page.c5434 while (atomic_fcmpset_64(bits, &old, newbits) == 0); in vm_page_bits_swap()
H A Duma_core.c4203 } while (atomic_fcmpset_64(&zone->uz_items, &old, new) == 0); in zone_alloc_limit_hard()