Searched refs:atomic_fetch_add_explicit (Results 1 – 7 of 7) sorted by relevance
| /xnu-10002.1.13/libkern/os/ |
| H A D | refcnt.c | 216 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group() 222 atomic_fetch_add_explicit(&grp->grp_count, init_count, memory_order_relaxed); in ref_attach_to_group() 223 atomic_fetch_add_explicit(&grp->grp_retain_total, init_count, memory_order_relaxed); in ref_attach_to_group() 240 atomic_fetch_add_explicit(&grp->grp_count, 1, memory_order_relaxed); in ref_retain_group() 241 atomic_fetch_add_explicit(&grp->grp_retain_total, 1, memory_order_relaxed); in ref_retain_group() 252 atomic_fetch_add_explicit(&grp->grp_release_total, 1, memory_order_relaxed); in ref_release_group() 305 os_ref_count_t old = atomic_fetch_add_explicit(rc, 1, memory_order_relaxed); in __os_ref_retain() 540 os_ref_count_t old = atomic_fetch_add_explicit(rc, n, mo); in os_ref_retain_mask_inline()
|
| /xnu-10002.1.13/tests/vm/ |
| H A D | diag_threshold_test_logging.c | 104 atomic_fetch_add_explicit(&recursion_level, 1, memory_order_relaxed); in signal_handler()
|
| 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-10002.1.13/EXTERNAL_HEADERS/ |
| H A D | stdatomic.h | 169 #define atomic_fetch_add_explicit __c11_atomic_fetch_add macro
|
| /xnu-10002.1.13/osfmk/kern/ |
| H A D | kern_monotonic.c | 59 (void)atomic_fetch_add_explicit(&mt_retrograde, 1, in mt_mtc_update_count()
|
| /xnu-10002.1.13/iokit/Kernel/ |
| H A D | IOPerfControl.cpp | 89 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-10002.1.13/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 255 atomic_fetch_add_explicit(&g_churn_stopped_at, spin_count, memory_order_relaxed); in churn_thread() 734 done_threads = atomic_fetch_add_explicit(&g_done_threads, 1, memory_order_relaxed) + 1; in worker_thread()
|