| /xnu-12377.61.12/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-12377.61.12/libsyscall/mach/ |
| H A D | vm_reclaim.c | 220 …os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_try_enter() 239 os_atomic_thread_fence(seq_cst); // Our write to tail must happen before our read of busy in mach_vm_reclaim_try_enter() 255 os_atomic_thread_fence(seq_cst); in mach_vm_reclaim_try_enter() 332 os_atomic_thread_fence(seq_cst); in mach_vm_reclaim_try_cancel() 351 os_atomic_thread_fence(seq_cst); in mach_vm_reclaim_try_cancel()
|
| /xnu-12377.61.12/osfmk/tests/ |
| H A D | pmap_tests.c | 626 os_atomic_thread_fence(acquire); in hugepv_remove_enter_thread() 655 os_atomic_thread_fence(acquire); in hugepv_fast_fault_thread() 678 os_atomic_thread_fence(acquire); in hugepv_cache_attr_thread() 851 os_atomic_thread_fence(release); in test_pmap_huge_pv_list() 970 os_atomic_thread_fence(acquire); in surt_free_emulation_thread()
|
| /xnu-12377.61.12/tools/cocci/ |
| H A D | c11_atomic_builtin_rewrite.cocci | 23 + os_atomic_thread_fence(new_m)
|
| /xnu-12377.61.12/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 | mpsc_ring.c | 184 os_atomic_thread_fence(release); in mpsc_ring_init()
|
| H A D | lock_ptr.c | 404 os_atomic_thread_fence(acquire); in hw_lck_ptr_wait_for_value_contended()
|
| H A D | kern_apfs_reflock.c | 298 os_atomic_thread_fence(acquire); in kern_apfs_reflock_try_put_ref()
|
| 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 | smr.h | 170 os_atomic_thread_fence(release); \
|
| H A D | lock_ticket.c | 573 os_atomic_thread_fence(acquire); in hw_lck_ticket_contended()
|
| /xnu-12377.61.12/osfmk/arm/ |
| H A D | cpu_common.c | 237 os_atomic_thread_fence(acquire); in cpu_handle_xcall() 246 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall() 257 os_atomic_thread_fence(acq_rel); in cpu_handle_xcall()
|
| H A D | machine_routines_common.c | 1210 os_atomic_thread_fence(release); in ml_set_is_quiescing() 1216 os_atomic_thread_fence(acquire); in ml_is_quiescing()
|
| /xnu-12377.61.12/libkern/os/ |
| H A D | refcnt.c | 970 os_atomic_thread_fence(acquire); in __os_pcpu_ref_release_slow() 1054 os_atomic_thread_fence(acquire); in os_pcpu_ref_wait_for_death() 1071 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-12377.61.12/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_data.h | 2047 os_atomic_thread_fence(seq_cst); in pmap_epoch_enter() 2133 os_atomic_thread_fence(acquire); in pmap_epoch_prepare_drain() 2185 os_atomic_thread_fence(acquire); in pmap_epoch_drain()
|
| /xnu-12377.61.12/libkern/c++/ |
| H A D | OSSymbol.cpp | 357 os_atomic_thread_fence(release); in checkForPageUnload()
|
| /xnu-12377.61.12/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-12377.61.12/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_vp.c | 261 os_atomic_thread_fence(seq_cst); in fsw_vp_na_rxsync()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 960 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-12377.61.12/osfmk/vm/ |
| H A D | vm_compressor_pager.c | 672 os_atomic_thread_fence(release); in compressor_pager_slot_lookup()
|
| /xnu-12377.61.12/libsyscall/wrappers/skywalk/ |
| H A D | os_channel.c | 141 os_atomic_thread_fence(seq_cst); \ 719 os_atomic_thread_fence(seq_cst); in os_channel_create_extended()
|
| /xnu-12377.61.12/doc/primitives/ |
| H A D | atomics.md | 156 `os_atomic_thread_fence(mem_order)` provides a memory barrier
|
| /xnu-12377.61.12/osfmk/arm64/ |
| H A D | pcb.c | 564 os_atomic_thread_fence(release); in machine_thread_process_signature()
|