| /freebsd-13.1/sys/compat/linuxkpi/common/include/asm/ |
| H A D | atomic64.h | 58 return (atomic_fetchadd_64(&v->counter, i)); in atomic64_fetch_add() 64 return i + atomic_fetchadd_64(&v->counter, i); in atomic64_add_return() 70 return atomic_fetchadd_64(&v->counter, -i) - i; in atomic64_sub_return() 88 return atomic_fetchadd_64(&v->counter, 1) + 1; in atomic64_inc() 94 return atomic_fetchadd_64(&v->counter, -1) - 1; in atomic64_dec()
|
| /freebsd-13.1/sys/riscv/include/ |
| H A D | atomic.h | 387 atomic_fetchadd_64(volatile uint64_t *p, uint64_t val) in atomic_fetchadd_64() function 447 #define atomic_fetchadd_long atomic_fetchadd_64 457 #define atomic_fetchadd_ptr atomic_fetchadd_64
|
| /freebsd-13.1/sys/sys/ |
| H A D | _atomic64e.h | 58 u_int64_t atomic_fetchadd_64(volatile u_int64_t *, u_int64_t);
|
| H A D | atomic_san.h | 378 #define atomic_fetchadd_64 ATOMIC_SAN(fetchadd_64) macro
|
| H A D | systm.h | 513 return (atomic_fetchadd_64(&unr64->counter, 1)); in alloc_unr64()
|
| /freebsd-13.1/sys/i386/include/ |
| H A D | atomic.h | 129 uint64_t atomic_fetchadd_64(volatile uint64_t *, uint64_t); 589 atomic_fetchadd_64(volatile uint64_t *p, uint64_t v) in atomic_fetchadd_64() function 862 #define atomic_fetchadd_acq_64 atomic_fetchadd_64 863 #define atomic_fetchadd_rel_64 atomic_fetchadd_64
|
| /freebsd-13.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | atomic.h | 122 return (atomic_fetchadd_64(target, delta) + delta); in atomic_add_64_nv()
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | atomic.h | 128 return (atomic_fetchadd_64(target, delta) + delta); in atomic_add_64_nv()
|
| /freebsd-13.1/sys/arm64/include/ |
| H A D | atomic.h | 531 #define atomic_fetchadd_long atomic_fetchadd_64 543 #define atomic_fetchadd_ptr atomic_fetchadd_64
|
| /freebsd-13.1/sys/mips/include/ |
| H A D | atomic.h | 563 atomic_fetchadd_64(__volatile uint64_t *p, uint64_t v) in atomic_fetchadd_64() function 700 #define atomic_fetchadd_long atomic_fetchadd_64
|
| /freebsd-13.1/sys/dev/smartpqi/ |
| H A D | smartpqi_defines.h | 843 #define OS_ATOMIC64_DEC(p) (atomic_fetchadd_64(p, -1) - 1) 844 #define OS_ATOMIC64_INC(p) (atomic_fetchadd_64(p, 1) + 1)
|
| /freebsd-13.1/sys/amd64/include/ |
| H A D | atomic.h | 617 #define atomic_fetchadd_64 atomic_fetchadd_long macro
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | atomic-v6.h | 588 atomic_fetchadd_64(volatile uint64_t *p, uint64_t val) in atomic_fetchadd_64() function
|
| /freebsd-13.1/sys/powerpc/include/ |
| H A D | atomic.h | 989 #define atomic_fetchadd_64 atomic_fetchadd_long macro
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_ratelimit.c | 1495 pre = atomic_fetchadd_64(&rs->rs_flows_using, -1); in tcp_rel_pacing_rate()
|
| /freebsd-13.1/sys/vm/ |
| H A D | uma_core.c | 4073 old = atomic_fetchadd_64(&zone->uz_items, in zone_alloc_limit_hard() 4116 old = atomic_fetchadd_64(&zone->uz_items, count); in zone_alloc_limit() 4147 old = atomic_fetchadd_64(&zone->uz_items, -count); in zone_free_limit()
|
| /freebsd-13.1/sys/opencrypto/ |
| H A D | crypto.c | 1001 res->id = atomic_fetchadd_64(&sessid, 1); in crypto_newsession()
|