Home
last modified time | relevance | path

Searched refs:atomic_load_explicit (Results 1 – 24 of 24) sorted by relevance

/xnu-8019.80.24/tests/
H A Dhvbench.c270 while (atomic_load_explicit(&stage, memory_order_relaxed) == 0) { in vcpu_switch_follower()
278 while (atomic_load_explicit(&stage, memory_order_relaxed) == 1) { in vcpu_switch_follower()
288 while (atomic_load_explicit(&stage, memory_order_relaxed) == 2) { in vcpu_switch_follower()
293 while (atomic_load_explicit(&stage, memory_order_relaxed) == 3) { in vcpu_switch_follower()
H A Dcontextswitch.c113 while (mach_absolute_time() < timeout && atomic_load_explicit(&keep_going, in spin_for_duration()
154 while (atomic_load_explicit(&keep_going, memory_order_relaxed)) { in thread()
H A Dulock.c35 uint32_t test_ulock_owner = atomic_load_explicit(&test_ulock, in test_waiter()
H A Dhw_breakpoint_step_arm64.c37 if (exception == EXC_BREAKPOINT || (exception == EXC_CRASH && atomic_load_explicit(&after_kill, in catch_mach_exception_raise()
H A Dioperf.c142 while (mach_absolute_time() < timeout && atomic_load_explicit(&keep_going, in spin_for_duration()
/xnu-8019.80.24/osfmk/corpses/
H A Dcorpse.c198 gate.value = atomic_load_explicit(&inflight_corpses, memory_order_relaxed); in total_corpses_count()
218 oldgate.value = atomic_load_explicit(&inflight_corpses, memory_order_relaxed); in task_crashinfo_get_ref()
256 oldgate.value = atomic_load_explicit(&inflight_corpses, memory_order_relaxed); in task_crashinfo_release_ref()
/xnu-8019.80.24/libkern/os/
H A Datomic_private.h316 __auto_type _r = os_atomic_std(atomic_load_explicit)( \
371 __auto_type _r = os_atomic_std(atomic_load_explicit)( \
H A Drefcnt.c395 atomic_load_explicit(rc, dealloc_order); in _os_ref_release_inline()
H A Drefcnt_internal.h192 return atomic_load_explicit(rc, memory_order_relaxed); in os_ref_get_count_internal()
/xnu-8019.80.24/osfmk/kern/
H A Dkern_monotonic.c86 start_gen = atomic_load_explicit(&thread->t_monotonic.mth_gen, in mt_fixed_thread_counts()
110 end_gen = atomic_load_explicit(&thread->t_monotonic.mth_gen, in mt_fixed_thread_counts()
H A Dlock_ticket.c330 cticket = atomic_load_explicit(ctp, memory_order_relaxed); in hw_lck_ticket_unlock_internal()
H A Dturnstile.c215 type_and_gencount.value = atomic_load_explicit(&turnstile->ts_type_gencount, memory_order_relaxed); in turnstile_get_type()
258 type_and_gencount.value = atomic_load_explicit(&turnstile->ts_type_gencount, memory_order_relaxed); in turnstile_get_gencount()
268 type_and_gencount.value = atomic_load_explicit(&turnstile->ts_type_gencount, memory_order_relaxed); in turnstile_set_type_and_increment_gencount()
H A Ddebug.c561 assert(atomic_load_explicit(&debugger_cpu, memory_order_relaxed) == cpu_number()); in DebuggerUnlock()
/xnu-8019.80.24/EXTERNAL_HEADERS/
H A Dstdatomic.h141 #define atomic_load_explicit __c11_atomic_load macro
/xnu-8019.80.24/tools/tests/zero-to-n/
H A Dzero-to-n.c297 if (atomic_load_explicit(&g_churn_stopped_at, memory_order_seq_cst) != 0) { in join_churn_threads()
617 assert_zero_t(my_id, atomic_load_explicit(&g_done_threads, memory_order_relaxed)); in worker_thread()
737 while (atomic_load_explicit(&g_done_threads, memory_order_relaxed) < g_numthreads) { in worker_thread()
1209 assert(atomic_load_explicit(&g_done_threads, memory_order_relaxed) == g_numthreads); in main()
/xnu-8019.80.24/san/tools/
H A Dksancov.h321 size_t head = atomic_load_explicit(&trace->kt_head, memory_order_acquire); in ksancov_trace_head()
/xnu-8019.80.24/osfmk/i386/commpage/
H A Dcommpage.c930 saved_data = atomic_load_explicit((_Atomic uint64_t *)(uintptr_t)cp, memory_order_relaxed); in commpage_update_mach_approximate_time()
943 saved_data = atomic_load_explicit((_Atomic uint64_t *)(uintptr_t)cp, memory_order_relaxed); in commpage_update_mach_approximate_time()
/xnu-8019.80.24/osfmk/kperf/
H A Dpet.c155 atomic_load_explicit(&kppet_gencount, in kppet_on_cpu()
/xnu-8019.80.24/doc/
H A Datomics.md161 facilities equivalent to `atomic_init`, `atomic_load_explicit`
257 old_value = atomic_load_explicit(address, memory_order_relaxed);
/xnu-8019.80.24/iokit/Kernel/
H A DIOPerfControl.cpp29 shared = atomic_load_explicit(&gIOPerfControlClientShared, memory_order_acquire); in init()
/xnu-8019.80.24/bsd/dev/i386/
H A Dunix_signal.c812 sigreturn_validation = atomic_load_explicit( in sigreturn()
/xnu-8019.80.24/bsd/dev/arm/
H A Dunix_signal.c836 sigreturn_validation = atomic_load_explicit( in sigreturn()
/xnu-8019.80.24/bsd/kern/
H A Dkern_exit.c950 uint32_t old_value = atomic_load_explicit(&p->p_user_faults, in abort_with_payload_internal()
H A Dkern_sig.c510 uint32_t old_sigreturn_validation = atomic_load_explicit( in sigaction()