Searched refs:atomic_fetch_add_explicit (Results 1 – 5 of 5) sorted by relevance
| /xnu-11417.121.6/libkern/os/ |
| H A D | refcnt.c | 227 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group() 233 atomic_fetch_add_explicit(&grp->grp_count, init_count, memory_order_relaxed); in ref_attach_to_group() 234 atomic_fetch_add_explicit(&grp->grp_retain_total, init_count, memory_order_relaxed); in ref_attach_to_group() 251 atomic_fetch_add_explicit(&grp->grp_count, 1, memory_order_relaxed); in ref_retain_group() 252 atomic_fetch_add_explicit(&grp->grp_retain_total, 1, memory_order_relaxed); in ref_retain_group() 263 atomic_fetch_add_explicit(&grp->grp_release_total, 1, memory_order_relaxed); in ref_release_group() 333 os_ref_count_t old = atomic_fetch_add_explicit(rc, 1, memory_order_relaxed); in __os_ref_retain() 564 os_ref_count_t old = atomic_fetch_add_explicit(rc, n, mo); in os_ref_retain_mask_inline()
|
| /xnu-11417.121.6/EXTERNAL_HEADERS/ |
| H A D | stdatomic.h | 169 #define atomic_fetch_add_explicit __c11_atomic_fetch_add macro
|
| /xnu-11417.121.6/osfmk/kern/ |
| H A D | kern_monotonic.c | 59 (void)atomic_fetch_add_explicit(&mt_retrograde, 1, in mt_mtc_update_count()
|
| /xnu-11417.121.6/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-11417.121.6/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()
|