Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/include/linux/
H A Datomic.h70 return i + atomic_fetchadd_long(&v->counter, i); in atomic_add_return_long()
82 return atomic_fetchadd_long(&v->counter, -i) - i; in atomic_sub_return_long()
/dragonfly/sys/dev/drm/
H A Dlinux_sched.c127 refs = atomic_fetchadd_long(&mm->refs, -1); in linux_mm_drop()
H A Dlinux_wwmutex.c44 ctx->stamp = atomic_fetchadd_long(&ww_class->stamp, 1); in ww_acquire_init()
/dragonfly/sys/kern/
H A Dlwkt_token.c355 if ((atomic_fetchadd_long(&tok->t_count, TOK_INCR) & TOK_EXCLUSIVE) == 0) { in _lwkt_trytokref()
358 count = atomic_fetchadd_long(&tok->t_count, in _lwkt_trytokref()
457 count = atomic_fetchadd_long(&tok->t_count, -TOK_INCR); in _lwkt_reltokref()
H A Dkern_lock.c174 count = atomic_fetchadd_long(&lkp->lk_count, 0); in lockmgr_shared()
881 atomic_fetchadd_long(&lkp->lk_count, -1); in lockmgr_release()
H A Dkern_exit.c1059 waitgen = atomic_fetchadd_long(&q->p_waitgen, 0x80000000); in kern_wait()
1438 waitgen = atomic_fetchadd_long(&q->p_waitgen, 0x80000000); in kern_wait()
H A Dkern_kmalloc.c957 i = atomic_fetchadd_long(&slab->findex, 1); in _kfree_obj()
H A Dkern_resource.c1110 sbsize = atomic_fetchadd_long(&uip->ui_sbsize, to - *hiwat); in chgsbsize()
H A Dkern_prot.c1102 if (atomic_fetchadd_long(&cr->cr_ref, -1) == 1) { in crfree()
/dragonfly/lib/libc/locale/
H A Dxlocale_private.h186 count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; in xlocale_release()
/dragonfly/sys/cpu/x86_64/include/
H A Datomic.h589 atomic_fetchadd_long(volatile u_long *_p, u_long _v) in atomic_fetchadd_long() function
830 #define atomic_fetchadd_64 atomic_fetchadd_long
/dragonfly/sys/vfs/fuse/
H A Dfuse_ipc.c100 fip->unique = atomic_fetchadd_long(&fmp->unique, 1); in fuse_ipc_get()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_sig.c310 i = atomic_fetchadd_long(&LogWIndex, plen + bytes); in _thr_log()
/dragonfly/sys/platform/vkernel64/platform/
H A Dcopyio.c207 res = atomic_fetchadd_long((uint64_t *)(kva + ((vm_offset_t)p & PAGE_MASK)), in fuwordadd64()
/dragonfly/sys/platform/pc64/x86_64/
H A Dpmap.c4752 if ((atomic_fetchadd_long(&oldm->md.interlock_count, -1) & in pmap_remove_callback()
4843 icount = atomic_fetchadd_long(&m->md.interlock_count, in pmap_remove_all()
5275 if ((atomic_fetchadd_long(&oldm->md.interlock_count, -1) & in pmap_enter()
5766 icount = atomic_fetchadd_long(&m->md.interlock_count, in pmap_clearbit()
5829 icount = atomic_fetchadd_long(&m->md.interlock_count, in pmap_clearbit()
/dragonfly/sys/net/pf/
H A Dpf.c1090 sid = atomic_fetchadd_long(&pf_status.stateid, 1); in pf_state_insert()