Searched refs:atomic_fetch_add_explicit (Results 1 – 6 of 6) sorted by relevance
| /xnu-11215.61.5/libkern/os/ |
| H A D | refcnt.c | 221 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group() 227 atomic_fetch_add_explicit(&grp->grp_count, init_count, memory_order_relaxed); in ref_attach_to_group() 228 atomic_fetch_add_explicit(&grp->grp_retain_total, init_count, memory_order_relaxed); in ref_attach_to_group() 245 atomic_fetch_add_explicit(&grp->grp_count, 1, memory_order_relaxed); in ref_retain_group() 246 atomic_fetch_add_explicit(&grp->grp_retain_total, 1, memory_order_relaxed); in ref_retain_group() 257 atomic_fetch_add_explicit(&grp->grp_release_total, 1, memory_order_relaxed); in ref_release_group() 327 os_ref_count_t old = atomic_fetch_add_explicit(rc, 1, memory_order_relaxed); in __os_ref_retain() 558 os_ref_count_t old = atomic_fetch_add_explicit(rc, n, mo); in os_ref_retain_mask_inline()
|
| /xnu-11215.61.5/EXTERNAL_HEADERS/ |
| H A D | stdatomic.h | 169 #define atomic_fetch_add_explicit __c11_atomic_fetch_add macro
|
| /xnu-11215.61.5/osfmk/kern/ |
| H A D | kern_monotonic.c | 59 (void)atomic_fetch_add_explicit(&mt_retrograde, 1, in mt_mtc_update_count()
|
| /xnu-11215.61.5/iokit/Kernel/ |
| H A D | IOPerfControl.cpp | 92 driverIndex = atomic_fetch_add_explicit(&shared->maxDriverIndex, 1, memory_order_relaxed) + 1; in init() 549 id = atomic_fetch_add_explicit(&unique_work_context_id, 1, memory_order_relaxed) + 1; in init()
|
| /xnu-11215.61.5/tests/vm/ |
| H A D | fault_throughput.c | 336 …size_t index = atomic_fetch_add_explicit(next_fault_buffer_index_ptr(globals), 1UL, memory_order_a… in get_fault_buffer()
|
| /xnu-11215.61.5/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 362 atomic_fetch_add_explicit(&g_churn_stopped_at, spin_count, memory_order_relaxed); in churn_thread() 851 done_threads = atomic_fetch_add_explicit(&g_done_threads, 1, memory_order_relaxed) + 1; in worker_thread()
|