/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic-long.h | 49 return i + atomic_fetchadd_long(&v->counter, i); in atomic_long_add_return() 55 return atomic_fetchadd_long(&v->counter, -i) - i; in atomic_long_sub_return() 73 return atomic_fetchadd_long(&v->counter, 1) + 1; in atomic_long_inc() 79 return atomic_fetchadd_long(&v->counter, -1) - 1; in atomic_long_dec()
|
/freebsd/lib/libc/locale/ |
H A D | xlocale_private.h | 157 count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; in xlocale_release()
|
/freebsd/sys/amd64/include/ |
H A D | atomic.h | 208 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function 564 #define atomic_fetchadd_64 atomic_fetchadd_long
|
/freebsd/sys/kern/ |
H A D | kern_tslog.c | 64 pos = atomic_fetchadd_long(&nrecs, 1); in tslog()
|
H A D | kern_clock.c | 529 left = atomic_fetchadd_long(&watchdog_ticks, -newticks); in hardclock()
|
H A D | vfs_bio.c | 656 space = atomic_fetchadd_long(&bd->bd_bufspace, diff); in bufspace_adjust() 681 space = atomic_fetchadd_long(&bd->bd_bufspace, size); in bufspace_reserve() 929 space = atomic_fetchadd_long(&runningbufspace, -bspace); in runningbufwakeup() 949 old = atomic_fetchadd_long(&runningbufspace, space); in runningbufclaim()
|
H A D | kern_resource.c | 1672 new = atomic_fetchadd_long(limit, (long)diff) + diff; in chglimit()
|
H A D | vfs_cache.c | 810 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
|
H A D | vfs_subr.c | 2046 rnumvnodes = atomic_fetchadd_long(&numvnodes, 1) + 1; in vn_alloc()
|
/freebsd/sys/vm/ |
H A D | swap_pager.c | 216 prev = atomic_fetchadd_long(&uip->ui_vmsize, pincr); in swap_reserve_by_cred_rlimit() 220 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pincr); in swap_reserve_by_cred_rlimit() 239 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pdecr); in swap_release_by_cred_rlimit() 288 prev = atomic_fetchadd_long(&swap_reserved, pincr); in swap_reserve_by_cred() 298 prev = atomic_fetchadd_long(&swap_reserved, -pincr); in swap_reserve_by_cred() 305 prev = atomic_fetchadd_long(&swap_reserved, -pincr); in swap_reserve_by_cred() 374 prev = atomic_fetchadd_long(&swap_reserved, -pdecr); in swap_release_by_cred()
|
H A D | uma_int.h | 662 if (atomic_fetchadd_long(&uma_kmem_total, size) > uma_kmem_limit) in uma_total_inc()
|
H A D | uma_core.c | 2060 atomic_fetchadd_long(&keg->uk_offset, round_page(bytes)); in noobj_alloc()
|
/freebsd/sys/powerpc/include/ |
H A D | atomic.h | 935 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function 983 #define atomic_fetchadd_64 atomic_fetchadd_long
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_ipc.c | 403 ftick->tk_unique = atomic_fetchadd_long(&data->ticketer, 1); in fticket_reset() 405 ftick->tk_unique = atomic_fetchadd_long(&data->ticketer, 1); in fticket_reset()
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 542 #define atomic_fetchadd_long atomic_fetchadd_64 macro
|
/freebsd/sys/netinet/ |
H A D | tcp_lro.c | 141 atomic_fetchadd_long(&tcplro_stacks_wanting_mbufq, 1); in tcp_lro_reg_mbufq() 147 atomic_fetchadd_long(&tcplro_stacks_wanting_mbufq, -1); in tcp_lro_dereg_mbufq()
|
H A D | tcp_log_buf.c | 332 (atomic_fetchadd_long(&tcp_log_auto_ratio_cur, 1) % in tcp_log_selectauto()
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 595 #define atomic_fetchadd_long atomic_fetchadd_64 macro
|
/freebsd/sys/i386/include/ |
H A D | atomic.h | 627 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
|
/freebsd/sys/sys/ |
H A D | atomic_san.h | 238 #define atomic_fetchadd_long ATOMIC_SAN(fetchadd_long) macro
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 604 atomic_fetchadd_long(volatile u_long *p, u_long val) in atomic_fetchadd_long() function
|
/freebsd/sys/amd64/amd64/ |
H A D | trap.c | 437 u_long cnt = atomic_fetchadd_long(&cnt_efirt_faults, 1); in trap()
|
/freebsd/sys/geom/union/ |
H A D | g_union.c | 1054 if (atomic_fetchadd_long(&wip->wip_numios, -1) == 1) { in g_union_done()
|
/freebsd/sys/rpc/ |
H A D | svc.c | 1132 value = atomic_fetchadd_long(&pool->sp_space_used, delta) + delta; in svc_change_space_used()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 2615 key = atomic_fetchadd_long(&masterkey, 1); in ffs_blkrelease_start()
|