Home
last modified time | relevance | path

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

/xnu-8792.41.9/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-8792.41.9/libsyscall/mach/
H A Dvm_reclaim.c148os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_free()
183 os_atomic_thread_fence(seq_cst); // Our write to tail must happen before our read of busy in mach_vm_reclaim_mark_used()
195os_atomic_thread_fence(seq_cst); // tail increment can not be seen before the entry is cleared in … in mach_vm_reclaim_mark_used()
/xnu-8792.41.9/osfmk/kern/
H A Dsmr.c339 os_atomic_thread_fence(seq_cst); /* [R1] */ in __smr_enter()
395 os_atomic_thread_fence(seq_cst); /* [S3] */ in __smr_rd_advance()
437 os_atomic_thread_fence(seq_cst); /* [S2] */ in __smr_scan()
561 os_atomic_thread_fence(seq_cst); in smr_deferred_advance_nopreempt()
H A Dsmr.h227 os_atomic_thread_fence(release); \
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.c165 os_atomic_thread_fence(acquire); in _seqlock_shared_lock_slowpath()
195 os_atomic_thread_fence(release); in _seqlock_excl_commit()
H A Dlock_ticket.c577 os_atomic_thread_fence(acquire); in hw_lck_ticket_contended()
H A Dsched_prim.c6994 os_atomic_thread_fence(acquire); in sched_is_in_sleep()
/xnu-8792.41.9/tools/cocci/
H A Dc11_atomic_builtin_rewrite.cocci23 + os_atomic_thread_fence(new_m)
H A Dmcache_atomic_rewrite.cocci86 + os_atomic_thread_fence(seq_cst)
/xnu-8792.41.9/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.c1143 os_atomic_thread_fence(release); in ml_set_is_quiescing()
1149 os_atomic_thread_fence(acquire); in ml_is_quiescing()
/xnu-8792.41.9/libkern/os/
H A Datomic_private.h227 #define os_atomic_thread_fence(m) ({ \ macro
/xnu-8792.41.9/osfmk/vm/
H A Dvm_reclaim.c536 os_atomic_thread_fence(seq_cst); in reclaim_chunk()
H A Dvm_compressor_pager.c664 os_atomic_thread_fence(release); in compressor_pager_slot_lookup()
/xnu-8792.41.9/doc/
H A Datomics.md154 `os_atomic_thread_fence(mem_order)` provides a memory barrier
/xnu-8792.41.9/osfmk/arm/pmap/
H A Dpmap.c2954 os_atomic_thread_fence(release); in pmap_create_options_internal()
3181 os_atomic_thread_fence(seq_cst); in pmap_destroy_internal()
3723 os_atomic_thread_fence(acquire);
3743 os_atomic_thread_fence(acquire);
4592 os_atomic_thread_fence(release);
9214 os_atomic_thread_fence(seq_cst);
/xnu-8792.41.9/bsd/kern/
H A Dubc_subr.c4498os_atomic_thread_fence(seq_cst); // fence to make sure all of the writes happen before we update t… in ubc_cs_blob_add()
4737 os_atomic_thread_fence(seq_cst); // Fence to prevent reordering here in ubc_cs_blob_add_supplement()
H A Dkern_proc.c4970 os_atomic_thread_fence(release); in proc_ro_ref_proc()