Home
last modified time | relevance | path

Searched refs:os_atomic_or_orig (Results 1 – 15 of 15) sorted by relevance

/xnu-8020.140.41/tools/cocci/
H A Dmcache_atomic_rewrite.cocci89 + os_atomic_or_orig(E, F, relaxed)
92 + os_atomic_or_orig(E, F, relaxed)
95 + os_atomic_or_orig(E, F, relaxed)
125 + os_atomic_or_orig(E, F, relaxed)
128 + os_atomic_or_orig(E, F, relaxed)
131 + os_atomic_or_orig(E, F, relaxed)
H A DOSAtomic_rewrite.cocci123 + os_atomic_or_orig(E, F, relaxed)
126 + os_atomic_or_orig(E, F, relaxed)
129 + os_atomic_or_orig(E, F, relaxed)
132 + os_atomic_or_orig(E, F, relaxed)
135 + os_atomic_or_orig(E, F, relaxed)
138 + os_atomic_or_orig(E, F, relaxed)
H A Dc11_atomic_builtin_rewrite.cocci118 + os_atomic_or_orig
/xnu-8020.140.41/libkern/gen/
H A DOSAtomicOperations.c164 return os_atomic_or_orig(value, mask, relaxed); in OSBitOrAtomic()
231 return os_atomic_or_orig(value, (UInt8)mask, relaxed); in OSBitOrAtomic8()
261 return os_atomic_or_orig(value, (UInt16)mask, relaxed); in OSBitOrAtomic16()
/xnu-8020.140.41/libkern/os/
H A Datomic_private.h550 #define os_atomic_or_orig(p, v, m) _os_atomic_c11_op_orig(p, v, m, fetch_or) macro
805 #define os_atomic_or_orig(p, v, m) _os_atomic_error_is_starvable(os_atomic_or_orig) macro
/xnu-8020.140.41/osfmk/kern/
H A Dmpsc_queue.c377 st = os_atomic_or_orig(&dq->mpd_state, MPSC_QUEUE_STATE_WAKEUP, release); in _mpsc_daemon_queue_enqueue()
423 st = os_atomic_or_orig(&dq->mpd_state, MPSC_QUEUE_STATE_CANCELED, relaxed); in mpsc_daemon_queue_cancel_and_wait()
H A Dcpu_quiesce.c352 checkin_mask_t orig_state = os_atomic_or_orig(&cpu_quiescing_checkin_state, in cpu_quiescent_counter_checkin()
H A Dthread.h1228 return os_atomic_or_orig(&thread->thread_tag, tag, relaxed); in thread_set_tag_internal()
H A Dlocks.c298 return (os_atomic_or_orig(target, mask, acquire) & mask) == 0; in hw_lock_trylock_bit()
/xnu-8020.140.41/osfmk/ipc/
H A Dipc_space.h150 return (os_atomic_or_orig(&is->is_bits, bit, relaxed) & bit) == 0; in is_bits_set()
/xnu-8020.140.41/bsd/kern/
H A Dtty_tty.c128 if (os_atomic_or_orig(&sessp->s_refcount, S_CTTYREF, relaxed) & S_CTTYREF) { in cttyopen()
H A Dkern_event.c1641 state = os_atomic_or_orig(&kn->kn_hook32, TIMER_IMMEDIATE, relaxed); in filt_timerfire_immediate()
/xnu-8020.140.41/osfmk/arm/
H A Dcpuid.c312 uint8_t prev_cpuid_cache_info_bitmap = os_atomic_or_orig(&cpuid_cache_info_bitmap, in do_cacheid()
/xnu-8020.140.41/doc/
H A Datomics.md201 `(os_atomic_or_orig(p, bit, relaxed) & bit)` will atomically perform
/xnu-8020.140.41/bsd/pthread/
H A Dpthread_workqueue.c2138 wq_flags = os_atomic_or_orig(&wq->wq_flags, WQ_EXITING, relaxed); in workq_mark_exiting()