Home
last modified time | relevance | path

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

/NextBSD/sys/compat/linuxkpi/common/include/asm/
HDatomic-long.h48 return i + atomic_fetchadd_long(&v->counter, i); in atomic_long_add_return()
66 return atomic_fetchadd_long(&v->counter, 1) + 1; in atomic_long_inc()
72 return atomic_fetchadd_long(&v->counter, -1) - 1; in atomic_long_dec()
/NextBSD/lib/libc/locale/
HDxlocale_private.h158 long count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; in xlocale_release()
/NextBSD/sys/amd64/include/
HDatomic.h103 u_long atomic_fetchadd_long(volatile u_long *p, u_long v);
220 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
/NextBSD/sys/powerpc/include/
HDatomic.h689 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
737 #define atomic_fetchadd_64 atomic_fetchadd_long
/NextBSD/sys/mips/include/
HDatomic.h602 #define atomic_fetchadd_long atomic_fetchadd_64 macro
645 #define atomic_fetchadd_long(p, v) \ macro
/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDatomic.h167 return (atomic_fetchadd_long(p, (unsigned long)x) + x); in atomic_add_uint64()
176 return (atomic_fetchadd_long(p, (unsigned long)(-(long)x)) - x); in atomic_sub_uint64()
/NextBSD/sys/security/audit/
HDaudit_session.c756 old_val = atomic_fetchadd_long(&se->se_refcnt, 1); in audit_ref_session()
774 old_val = atomic_fetchadd_long(&se->se_refcnt, -1); in audit_unref_session()
792 old_val = atomic_fetchadd_long(&se->se_procnt, 1); in audit_inc_procount()
809 old_val = atomic_fetchadd_long(&se->se_procnt, -1); in audit_dec_procount()
/NextBSD/sys/fs/fuse/
HDfuse_ipc.c221 ftick->tk_unique = atomic_fetchadd_long(&data->ticketer, 1); in fticket_ctor()
223 ftick->tk_unique = atomic_fetchadd_long(&data->ticketer, 1); in fticket_ctor()
/NextBSD/sys/arm64/include/
HDatomic.h339 #define atomic_fetchadd_long atomic_fetchadd_64 macro
/NextBSD/sys/arm/include/
HDatomic-v4.h422 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
HDatomic-v6.h347 atomic_fetchadd_long(volatile u_long *p, u_long val) in atomic_fetchadd_long() function
/NextBSD/sys/riscv/include/
HDatomic.h329 #define atomic_fetchadd_long atomic_fetchadd_64 macro
/NextBSD/sys/sparc64/include/
HDatomic.h321 #define atomic_fetchadd_long atomic_add_long macro
/NextBSD/sys/i386/include/
HDatomic.h612 atomic_fetchadd_long(volatile u_long *p, u_long v) in atomic_fetchadd_long() function
/NextBSD/sys/kern/
HDvfs_bio.c545 space = atomic_fetchadd_long(&bufspace, diff); in bufspace_adjust()
783 space = atomic_fetchadd_long(&runningbufspace, -bspace); in runningbufwakeup()
1921 space = atomic_fetchadd_long(&runningbufspace, bp->b_runningbufspace); in bufwrite()
HDkern_resource.c1376 if (atomic_fetchadd_long(limit, (long)diff) + diff > max) { in chglimit()
HDvfs_subr.c1241 if (atomic_fetchadd_long(&numvnodes, count) + count <= desiredvnodes) { in getnewvnode_reserve()
/NextBSD/sys/rpc/
HDsvc.c1072 value = atomic_fetchadd_long(&pool->sp_space_used, delta) + delta; in svc_change_space_used()
/NextBSD/sys/vm/
HDuma_core.c1169 atomic_fetchadd_long(&keg->uk_offset, round_page(bytes)); in noobj_alloc()