Home
last modified time | relevance | path

Searched refs:atomic_fetch_add_explicit (Results 1 – 7 of 7) sorted by relevance

/xnu-8792.81.2/libkern/os/
H A Drefcnt.c222 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group()
228 atomic_fetch_add_explicit(&grp->grp_count, init_count, memory_order_relaxed); in ref_attach_to_group()
229 atomic_fetch_add_explicit(&grp->grp_retain_total, init_count, memory_order_relaxed); in ref_attach_to_group()
246 atomic_fetch_add_explicit(&grp->grp_count, 1, memory_order_relaxed); in ref_retain_group()
247 atomic_fetch_add_explicit(&grp->grp_retain_total, 1, memory_order_relaxed); in ref_retain_group()
258 atomic_fetch_add_explicit(&grp->grp_release_total, 1, memory_order_relaxed); in ref_release_group()
311 os_ref_count_t old = atomic_fetch_add_explicit(rc, 1, memory_order_relaxed); in __os_ref_retain()
546 os_ref_count_t old = atomic_fetch_add_explicit(rc, n, mo); in os_ref_retain_mask_inline()
/xnu-8792.81.2/osfmk/kern/
H A Dkern_monotonic.c59 (void)atomic_fetch_add_explicit(&mt_retrograde, 1, in mt_mtc_update_count()
/xnu-8792.81.2/EXTERNAL_HEADERS/
H A Dstdatomic.h153 #define atomic_fetch_add_explicit __c11_atomic_fetch_add macro
/xnu-8792.81.2/iokit/Kernel/
H A DIOPerfControl.cpp89 driverIndex = atomic_fetch_add_explicit(&shared->maxDriverIndex, 1, memory_order_relaxed) + 1; in init()
506 id = atomic_fetch_add_explicit(&unique_work_context_id, 1, memory_order_relaxed) + 1; in init()
/xnu-8792.81.2/osfmk/arm/commpage/
H A Dcommpage.c894 old_gen = atomic_fetch_add_explicit(sched_gen, 1, memory_order_relaxed); in commpage_increment_cpu_quiescent_counter()
/xnu-8792.81.2/tools/tests/zero-to-n/
H A Dzero-to-n.c247 atomic_fetch_add_explicit(&g_churn_stopped_at, spin_count, memory_order_relaxed); in churn_thread()
722 done_threads = atomic_fetch_add_explicit(&g_done_threads, 1, memory_order_relaxed) + 1; in worker_thread()
/xnu-8792.81.2/tests/vm/
H A Dfault_throughput.c336 …size_t index = atomic_fetch_add_explicit(next_fault_buffer_index_ptr(globals), 1UL, memory_order_a… in get_fault_buffer()