/freebsd/sys/sys/ |
H A D | _atomic64e.h | 52 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 D | atomic_san.h | 382 #define atomic_fcmpset_64 ATOMIC_SAN(fcmpset_64) macro
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic64.h | 103 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 D | atomic.h | 210 while (!atomic_fcmpset_64((volatile u64 *)(ptr), \
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | atomic.h | 127 (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 D | atomic.h | 139 (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 D | atomic.h | 415 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 D | atomic.h | 500 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 D | subr_atomic64.c | 118 int atomic_fcmpset_64(volatile uint64_t *p, uint64_t *old, uint64_t new) in atomic_fcmpset_64() function
|
/freebsd/sys/net/ |
H A D | mp_ring.c | 192 } 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 D | t4_mp_ring.c | 154 } 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 D | atomic.h | 592 #define atomic_fcmpset_long atomic_fcmpset_64 604 #define atomic_fcmpset_ptr atomic_fcmpset_64
|
/freebsd/sys/amd64/include/ |
H A D | atomic.h | 559 #define atomic_fcmpset_64 atomic_fcmpset_long macro
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 4326 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 D | atomic.h | 910 #define atomic_fcmpset_64 atomic_fcmpset_long macro
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 348 atomic_fcmpset_64(volatile uint64_t *_ptr, uint64_t *_old, uint64_t _new) in atomic_fcmpset_64() function
|
/freebsd/sys/riscv/riscv/ |
H A D | pmap.c | 3069 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 D | vm_page.c | 5434 while (atomic_fcmpset_64(bits, &old, newbits) == 0); in vm_page_bits_swap()
|
H A D | uma_core.c | 4203 } while (atomic_fcmpset_64(&zone->uz_items, &old, new) == 0); in zone_alloc_limit_hard()
|