| /xnu-11215.1.10/libsyscall/mach/ |
| H A D | vm_reclaim.c | 141 …os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_free() 181 os_atomic_thread_fence(seq_cst); // Our write to tail must happen before our read of busy in mach_vm_reclaim_mark_free_with_id() 197 os_atomic_thread_fence(seq_cst); in mach_vm_reclaim_mark_free_with_id() 235 os_atomic_thread_fence(seq_cst); // Our write to tail must happen before our read of busy in mach_vm_reclaim_mark_used() 247 …os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_used()
|
| /xnu-11215.1.10/san/memory/ |
| H A D | ubsan_log.c | 86 os_atomic_thread_fence(release); in ubsan_log_append() 120 os_atomic_thread_fence(seq_cst); 158 os_atomic_thread_fence(seq_cst);
|
| /xnu-11215.1.10/osfmk/tests/ |
| H A D | pmap_tests.c | 584 os_atomic_thread_fence(acquire); in hugepv_remove_enter_thread() 613 os_atomic_thread_fence(acquire); in hugepv_fast_fault_thread() 636 os_atomic_thread_fence(acquire); in hugepv_cache_attr_thread() 809 os_atomic_thread_fence(release); in test_pmap_huge_pv_list()
|
| /xnu-11215.1.10/tools/cocci/ |
| H A D | c11_atomic_builtin_rewrite.cocci | 23 + os_atomic_thread_fence(new_m)
|
| /xnu-11215.1.10/osfmk/kern/ |
| H A D | smr.c | 658 os_atomic_thread_fence(seq_cst); /* [R1] */ in __smr_enter() 897 os_atomic_thread_fence(seq_cst); /* [S3] */ in __smr_rd_advance() 1078 os_atomic_thread_fence(seq_cst); /* [S2] */ in __smr_scan() 1146 os_atomic_thread_fence(seq_cst); in __smr_scan() 1221 os_atomic_thread_fence(seq_cst); in smr_deferred_advance() 1271 os_atomic_thread_fence(seq_cst); in smr_synchronize() 1914 os_atomic_thread_fence(seq_cst); in cpu_quiescent_advance() 1924 os_atomic_thread_fence(seq_cst); in cpu_quiescent_advance() 1940 os_atomic_thread_fence(seq_cst); in cpu_quiescent_join() 1962 os_atomic_thread_fence(seq_cst); in cpu_quiescent_tick()
|
| H A D | kern_apfs_reflock.c | 298 os_atomic_thread_fence(acquire); in kern_apfs_reflock_try_put_ref()
|
| H A D | lock_ptr.c | 404 os_atomic_thread_fence(acquire); in hw_lck_ptr_wait_for_value_contended()
|
| H A D | restartable.c | 644 os_atomic_thread_fence(release); in task_restartable_ranges_synchronize()
|
| H A D | recount.c | 210 os_atomic_thread_fence(acquire); in _seqlock_shared_lock_slowpath() 244 os_atomic_thread_fence(release); in _seqlock_excl_commit()
|
| H A D | lock_ticket.c | 577 os_atomic_thread_fence(acquire); in hw_lck_ticket_contended()
|
| H A D | smr.h | 169 os_atomic_thread_fence(release); \
|
| /xnu-11215.1.10/osfmk/arm/ |
| H A D | cpu_common.c | 220 os_atomic_thread_fence(acquire); in cpu_handle_xcall() 229 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall() 240 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall()
|
| H A D | machine_routines_common.c | 1163 os_atomic_thread_fence(release); in ml_set_is_quiescing() 1169 os_atomic_thread_fence(acquire); in ml_is_quiescing()
|
| /xnu-11215.1.10/libkern/os/ |
| H A D | refcnt.c | 964 os_atomic_thread_fence(acquire); in __os_pcpu_ref_release_slow() 1048 os_atomic_thread_fence(acquire); in os_pcpu_ref_wait_for_death() 1065 os_atomic_thread_fence(acquire); in os_pcpu_ref_wait_for_death()
|
| H A D | atomic_private.h | 196 #define os_atomic_thread_fence(m) ({ \ macro
|
| /xnu-11215.1.10/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_data.h | 2023 os_atomic_thread_fence(seq_cst); in pmap_retype_epoch_enter() 2098 os_atomic_thread_fence(acquire); in pmap_retype_epoch_prepare_drain() 2150 os_atomic_thread_fence(acquire); in pmap_retype_epoch_drain()
|
| H A D | pmap_data.c | 2220 os_atomic_thread_fence(acquire); in pmap_is_page_free()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 520 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-11215.1.10/libkern/c++/ |
| H A D | OSSymbol.cpp | 357 os_atomic_thread_fence(release); in checkForPageUnload()
|
| /xnu-11215.1.10/bsd/skywalk/channel/ |
| H A D | channel_ring.c | 458 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-11215.1.10/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_vp.c | 263 os_atomic_thread_fence(seq_cst); in fsw_vp_na_rxsync()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 961 os_atomic_thread_fence(seq_cst); in nx_upipe_na_txsync_locked() 1026 os_atomic_thread_fence(seq_cst); in nx_upipe_na_rxsync()
|
| /xnu-11215.1.10/osfmk/vm/ |
| H A D | vm_compressor_pager.c | 669 os_atomic_thread_fence(release); in compressor_pager_slot_lookup()
|
| /xnu-11215.1.10/libsyscall/wrappers/skywalk/ |
| H A D | os_channel.c | 141 os_atomic_thread_fence(seq_cst); \ 747 os_atomic_thread_fence(seq_cst); in os_channel_create_extended()
|
| /xnu-11215.1.10/doc/primitives/ |
| H A D | atomics.md | 156 `os_atomic_thread_fence(mem_order)` provides a memory barrier
|