Home
last modified time | relevance | path

Searched refs:atomic_fetchadd_long (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic-long.h49 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 Dxlocale_private.h157 count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; in xlocale_release()
/freebsd/sys/amd64/include/
H A Datomic.h208 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 Dkern_tslog.c64 pos = atomic_fetchadd_long(&nrecs, 1); in tslog()
H A Dkern_clock.c529 left = atomic_fetchadd_long(&watchdog_ticks, -newticks); in hardclock()
H A Dvfs_bio.c656 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 Dkern_resource.c1672 new = atomic_fetchadd_long(limit, (long)diff) + diff; in chglimit()
H A Dvfs_cache.c810 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
H A Dvfs_subr.c2046 rnumvnodes = atomic_fetchadd_long(&numvnodes, 1) + 1; in vn_alloc()
/freebsd/sys/vm/
H A Dswap_pager.c216 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 Duma_int.h662 if (atomic_fetchadd_long(&uma_kmem_total, size) > uma_kmem_limit) in uma_total_inc()
H A Duma_core.c2060 atomic_fetchadd_long(&keg->uk_offset, round_page(bytes)); in noobj_alloc()
/freebsd/sys/powerpc/include/
H A Datomic.h935 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 Dfuse_ipc.c403 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 Datomic.h542 #define atomic_fetchadd_long atomic_fetchadd_64 macro
/freebsd/sys/netinet/
H A Dtcp_lro.c141 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 Dtcp_log_buf.c332 (atomic_fetchadd_long(&tcp_log_auto_ratio_cur, 1) % in tcp_log_selectauto()
/freebsd/sys/arm64/include/
H A Datomic.h595 #define atomic_fetchadd_long atomic_fetchadd_64 macro
/freebsd/sys/i386/include/
H A Datomic.h627 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
/freebsd/sys/sys/
H A Datomic_san.h238 #define atomic_fetchadd_long ATOMIC_SAN(fetchadd_long) macro
/freebsd/sys/arm/include/
H A Datomic.h604 atomic_fetchadd_long(volatile u_long *p, u_long val) in atomic_fetchadd_long() function
/freebsd/sys/amd64/amd64/
H A Dtrap.c437 u_long cnt = atomic_fetchadd_long(&cnt_efirt_faults, 1); in trap()
/freebsd/sys/geom/union/
H A Dg_union.c1054 if (atomic_fetchadd_long(&wip->wip_numios, -1) == 1) { in g_union_done()
/freebsd/sys/rpc/
H A Dsvc.c1132 value = atomic_fetchadd_long(&pool->sp_space_used, delta) + delta; in svc_change_space_used()
/freebsd/sys/ufs/ffs/
H A Dffs_alloc.c2615 key = atomic_fetchadd_long(&masterkey, 1); in ffs_blkrelease_start()