Searched refs:atomic_fetchadd_long (Results 1 – 16 of 16) sorted by relevance
/dragonfly/sys/dev/drm/include/linux/ |
H A D | atomic.h | 70 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 D | linux_sched.c | 127 refs = atomic_fetchadd_long(&mm->refs, -1); in linux_mm_drop()
|
H A D | linux_wwmutex.c | 44 ctx->stamp = atomic_fetchadd_long(&ww_class->stamp, 1); in ww_acquire_init()
|
/dragonfly/sys/kern/ |
H A D | lwkt_token.c | 355 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 D | kern_lock.c | 174 count = atomic_fetchadd_long(&lkp->lk_count, 0); in lockmgr_shared() 881 atomic_fetchadd_long(&lkp->lk_count, -1); in lockmgr_release()
|
H A D | kern_exit.c | 1059 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 D | kern_kmalloc.c | 957 i = atomic_fetchadd_long(&slab->findex, 1); in _kfree_obj()
|
H A D | kern_resource.c | 1110 sbsize = atomic_fetchadd_long(&uip->ui_sbsize, to - *hiwat); in chgsbsize()
|
H A D | kern_prot.c | 1102 if (atomic_fetchadd_long(&cr->cr_ref, -1) == 1) { in crfree()
|
/dragonfly/lib/libc/locale/ |
H A D | xlocale_private.h | 186 count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1; in xlocale_release()
|
/dragonfly/sys/cpu/x86_64/include/ |
H A D | atomic.h | 589 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 D | fuse_ipc.c | 100 fip->unique = atomic_fetchadd_long(&fmp->unique, 1); in fuse_ipc_get()
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_sig.c | 310 i = atomic_fetchadd_long(&LogWIndex, plen + bytes); in _thr_log()
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | copyio.c | 207 res = atomic_fetchadd_long((uint64_t *)(kva + ((vm_offset_t)p & PAGE_MASK)), in fuwordadd64()
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | pmap.c | 4752 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 D | pf.c | 1090 sid = atomic_fetchadd_long(&pf_status.stateid, 1); in pf_state_insert()
|