| /xnu-10063.141.1/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 123 + 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 D | c11_atomic_builtin_rewrite.cocci | 118 + os_atomic_or_orig
|
| /xnu-10063.141.1/libkern/gen/ |
| H A D | OSAtomicOperations.c | 160 return os_atomic_or_orig(value, mask, relaxed); in OSBitOrAtomic() 227 return os_atomic_or_orig(value, (UInt8)mask, relaxed); in OSBitOrAtomic8() 257 return os_atomic_or_orig(value, (UInt16)mask, relaxed); in OSBitOrAtomic16()
|
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | mpsc_queue.c | 394 st = os_atomic_or_orig(&dq->mpd_state, MPSC_QUEUE_STATE_WAKEUP, release); in _mpsc_daemon_queue_enqueue() 440 st = os_atomic_or_orig(&dq->mpd_state, MPSC_QUEUE_STATE_CANCELED, relaxed); in mpsc_daemon_queue_cancel_and_wait()
|
| H A D | lock_ptr.c | 273 tmp.lck_ptr_value = os_atomic_or_orig(&lck->lck_ptr_value, in hw_lck_ptr_lock_fastpath()
|
| H A D | thread.h | 1385 return os_atomic_or_orig(&thread->thread_tag, tag, relaxed); in thread_set_tag_internal()
|
| H A D | locks.c | 406 return (os_atomic_or_orig(target, mask, acquire) & mask) == 0; in hw_lock_trylock_bit()
|
| H A D | smr.c | 2732 rehash = os_atomic_or_orig(&smrh->smrsh_rehashing, reason, relaxed); in __smr_shash_schedule_rehash()
|
| H A D | sched_prim.c | 1419 sched_cond_t old_cond = (sched_cond_t) os_atomic_or_orig(cond, SCHED_COND_WAKEUP, release); in sched_cond_signal()
|
| /xnu-10063.141.1/osfmk/ipc/ |
| H A D | ipc_space.h | 149 return (os_atomic_or_orig(&is->is_bits, bit, relaxed) & bit) == 0; in is_bits_set()
|
| H A D | ipc_kmsg.c | 917 v = os_atomic_or_orig(&kmsg->ikm_keep_alive, in ipc_kmsg_keep_alive_try_reusing()
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | tty_tty.c | 128 if (os_atomic_or_orig(&sessp->s_refcount, S_CTTYREF, relaxed) & S_CTTYREF) { in cttyopen()
|
| H A D | kern_event.c | 1685 state = os_atomic_or_orig(&kn->kn_hook32, TIMER_IMMEDIATE, relaxed); in filt_timerfire_immediate()
|
| /xnu-10063.141.1/osfmk/arm/ |
| H A D | cpuid.c | 299 uint8_t prev_cpuid_cache_info_bitmap = os_atomic_or_orig(&cpuid_cache_info_bitmap, in do_cacheid()
|
| /xnu-10063.141.1/libkern/os/ |
| H A D | atomic_private.h | 517 #define os_atomic_or_orig(p, v, m) _os_atomic_c11_op_orig(p, v, m, fetch_or) macro
|
| /xnu-10063.141.1/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 685 if (os_atomic_or_orig(&ch->ch_flags, CHANF_DEFUNCT, relaxed) & in kern_channel_defunct()
|
| H A D | channel.c | 251 if ((os_atomic_or_orig(&csi->csi_flags, CSI_DESTROYED, relaxed) & in csi_destroy()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_mit.c | 763 if ((os_atomic_or_orig(&mit->mit_flags, NETIF_MITF_SAMPLING, relaxed) & in nx_netif_mit_stats()
|
| /xnu-10063.141.1/doc/primitives/ |
| H A D | atomics.md | 203 `(os_atomic_or_orig(p, bit, relaxed) & bit)` will atomically perform
|
| /xnu-10063.141.1/bsd/pthread/ |
| H A D | pthread_workqueue.c | 2158 wq_flags = os_atomic_or_orig(&wq->wq_flags, WQ_EXITING, relaxed); in workq_mark_exiting()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 3891 if (!(os_atomic_or_orig(&na->na_flags, NAF_DRAINING, relaxed) & in na_drain()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | ntstat.c | 6068 u_int32_t prev_ncs_watching = os_atomic_or_orig(&state->ncs_watching, (1 << provider_id), relaxed); in nstat_set_provider_filter()
|