Home
last modified time | relevance | path

Searched refs:os_atomic_thread_fence (Results 1 – 25 of 38) sorted by relevance

12

/xnu-10063.121.3/san/memory/
H A Dubsan_log.c86 os_atomic_thread_fence(release); in ubsan_log_append()
120 os_atomic_thread_fence(seq_cst);
158 os_atomic_thread_fence(seq_cst);
/xnu-10063.121.3/libsyscall/mach/
H A Dvm_reclaim.c156os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_free()
192 os_atomic_thread_fence(seq_cst); // Our write to tail must happen before our read of busy in mach_vm_reclaim_mark_used()
204os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_used()
/xnu-10063.121.3/osfmk/tests/
H A Dpmap_tests.c583 os_atomic_thread_fence(acquire); in hugepv_remove_enter_thread()
612 os_atomic_thread_fence(acquire); in hugepv_fast_fault_thread()
635 os_atomic_thread_fence(acquire); in hugepv_cache_attr_thread()
808 os_atomic_thread_fence(release); in test_pmap_huge_pv_list()
/xnu-10063.121.3/tools/cocci/
H A Dc11_atomic_builtin_rewrite.cocci23 + os_atomic_thread_fence(new_m)
/xnu-10063.121.3/osfmk/kern/
H A Dsmr.c657 os_atomic_thread_fence(seq_cst); /* [R1] */ in __smr_enter()
896 os_atomic_thread_fence(seq_cst); /* [S3] */ in __smr_rd_advance()
1077 os_atomic_thread_fence(seq_cst); /* [S2] */ in __smr_scan()
1145 os_atomic_thread_fence(seq_cst); in __smr_scan()
1220 os_atomic_thread_fence(seq_cst); in smr_deferred_advance()
1270 os_atomic_thread_fence(seq_cst); in smr_synchronize()
1913 os_atomic_thread_fence(seq_cst); in cpu_quiescent_advance()
1923 os_atomic_thread_fence(seq_cst); in cpu_quiescent_advance()
1939 os_atomic_thread_fence(seq_cst); in cpu_quiescent_join()
1961 os_atomic_thread_fence(seq_cst); in cpu_quiescent_tick()
H A Dlock_ptr.c404 os_atomic_thread_fence(acquire); in hw_lck_ptr_wait_for_value_contended()
H A Dkern_apfs_reflock.c298 os_atomic_thread_fence(acquire); in kern_apfs_reflock_try_put_ref()
H A Drestartable.c644 os_atomic_thread_fence(release); in task_restartable_ranges_synchronize()
H A Drecount.c215 os_atomic_thread_fence(acquire); in _seqlock_shared_lock_slowpath()
245 os_atomic_thread_fence(release); in _seqlock_excl_commit()
H A Dsmr.h167 os_atomic_thread_fence(release); \
H A Dlock_ticket.c577 os_atomic_thread_fence(acquire); in hw_lck_ticket_contended()
/xnu-10063.121.3/osfmk/arm/
H A Dcpu_common.c219 os_atomic_thread_fence(acquire); in cpu_handle_xcall()
228 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall()
239 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall()
H A Dmachine_routines_common.c1157 os_atomic_thread_fence(release); in ml_set_is_quiescing()
1163 os_atomic_thread_fence(acquire); in ml_is_quiescing()
/xnu-10063.121.3/osfmk/arm64/sptm/pmap/
H A Dpmap_data.h2080 os_atomic_thread_fence(seq_cst); in pmap_retype_epoch_enter()
2155 os_atomic_thread_fence(acquire); in pmap_retype_epoch_prepare_drain()
2207 os_atomic_thread_fence(acquire); in pmap_retype_epoch_drain()
H A Dpmap_data.c2223 os_atomic_thread_fence(acquire); in pmap_is_page_free()
/xnu-10063.121.3/libkern/os/
H A Datomic_private.h196 #define os_atomic_thread_fence(m) ({ \ macro
/xnu-10063.121.3/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c520 os_atomic_thread_fence(seq_cst); in nx_mon_na_rxsync()
1111 os_atomic_thread_fence(seq_cst); in nx_mon_zcopy_parent_sync()
1293 os_atomic_thread_fence(seq_cst); in nx_mon_parent_sync()
/xnu-10063.121.3/libkern/c++/
H A DOSSymbol.cpp357 os_atomic_thread_fence(release); in checkForPageUnload()
/xnu-10063.121.3/bsd/skywalk/channel/
H A Dchannel_ring.c458 os_atomic_thread_fence(seq_cst); in kr_reclaim()
677 os_atomic_thread_fence(seq_cst); in kr_txsync_prologue()
743 os_atomic_thread_fence(seq_cst); in kr_free_sync_prologue()
/xnu-10063.121.3/bsd/skywalk/nexus/flowswitch/
H A Dfsw_vp.c263 os_atomic_thread_fence(seq_cst); in fsw_vp_na_rxsync()
/xnu-10063.121.3/bsd/skywalk/nexus/upipe/
H A Dnx_user_pipe.c960 os_atomic_thread_fence(seq_cst); in nx_upipe_na_txsync_locked()
1025 os_atomic_thread_fence(seq_cst); in nx_upipe_na_rxsync()
/xnu-10063.121.3/osfmk/vm/
H A Dvm_compressor_pager.c664 os_atomic_thread_fence(release); in compressor_pager_slot_lookup()
H A Dvm_reclaim.c669 os_atomic_thread_fence(seq_cst); in reclaim_chunk()
/xnu-10063.121.3/libsyscall/wrappers/skywalk/
H A Dos_channel.c141 os_atomic_thread_fence(seq_cst); \
747 os_atomic_thread_fence(seq_cst); in os_channel_create_extended()
/xnu-10063.121.3/doc/primitives/
H A Datomics.md156 `os_atomic_thread_fence(mem_order)` provides a memory barrier

12