Searched refs:atomic (Results 1 – 14 of 14) sorted by relevance
| /xnu-12377.1.9/libkern/os/ |
| H A D | atomic.h | 70 #define os_atomic(type) std::atomic<type> volatile 107 inline volatile std::atomic<remove_volatile_t<T> > * 110 return reinterpret_cast<volatile std::atomic<remove_volatile_t<T> > *>(v); in cast_to_atomic_pointer() 114 inline volatile std::atomic<remove_volatile_t<T> > * 115 cast_to_atomic_pointer(std::atomic<T> *v) in cast_to_atomic_pointer() 117 return reinterpret_cast<volatile std::atomic<remove_volatile_t<T> > *>(v); in cast_to_atomic_pointer() 121 inline volatile std::atomic<remove_volatile_t<T> > * 122 cast_to_atomic_pointer(volatile std::atomic<T> *v) in cast_to_atomic_pointer() 124 return reinterpret_cast<volatile std::atomic<remove_volatile_t<T> > *>(v); in cast_to_atomic_pointer() 136 cast_to_nonatomic_pointer(std::atomic<T> *v) in cast_to_nonatomic_pointer() [all …]
|
| H A D | Makefile | 10 atomic.h \ 33 atomic.h \ 38 atomic.h \
|
| /xnu-12377.1.9/doc/primitives/ |
| H A D | atomics.md | 14 the [C11 memory model](https://en.cppreference.com/w/c/atomic/memory_order) 42 By default, C11 comes with two variants of each atomic "operation": 50 matching *seq_cst* atomic operations on your behalf. 97 (or `_Atomic volatile`), which allow for use of atomic 132 Qualifying atomic variables with `_Atomic` or even 141 atomic interfaces, but this header is considered obsolete 168 `os_atomic_store_wide` can be used to have access to atomic loads and store 171 ### Basic RMW (read/modify/write) atomic operations 173 The following basic atomic RMW operations exist: 175 - `inc`: atomic increment (equivalent to an atomic add of `1`), [all …]
|
| H A D | sched_cond.md | 13 * `sched_cond_init(sched_cond_t *cond)` - Initialize the atomic condition var 52 `assert_wait/thread_block` with atomic bit operations.
|
| /xnu-12377.1.9/osfmk/machine/ |
| H A D | Makefile | 13 atomic.h \
|
| /xnu-12377.1.9/osfmk/conf/ |
| H A D | Makefile.template | 152 mp.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 153 pmCPU.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 154 pmap_pcid.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 155 xcpm_dvfs.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 156 xcpm_fi.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 157 xcpm_idle.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst
|
| H A D | Makefile.x86_64 | 5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wno-atomic-implicit-seq-cst
|
| /xnu-12377.1.9/osfmk/arm/ |
| H A D | Makefile | 12 atomic.h \
|
| /xnu-12377.1.9/osfmk/i386/ |
| H A D | Makefile | 12 atomic.h \
|
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_map_internal.h | 342 bool atomic, in VME_OBJECT_SET() argument 347 entry->vme_atomic = atomic; in VME_OBJECT_SET() 349 if (atomic) { in VME_OBJECT_SET()
|
| /xnu-12377.1.9/tests/sched/ |
| H A D | Makefile | 61 sched/yield_aggressor: OTHER_CFLAGS += -Wno-atomic-implicit-seq-cst
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | uipc_socket.c | 1855 int32_t clen, int32_t atomic, int flags, int *sblocked) in sosendcheck() argument 1939 if ((atomic && resid > so->so_snd.sb_hiwat) || in sosendcheck() 1945 (atomic || (space < (int32_t)so->so_snd.sb_lowat) || in sosendcheck() 2049 int atomic = sosendallatonce(so) || top; in sosend() local 2138 error = sosendcheck(so, addr, resid, clen, atomic, flags, in sosend() 2308 if (freelist != NULL && atomic && in sosend() 2338 if (atomic && top == NULL && in sosend() 2384 (chainlength < sosendmaxchain || atomic || in sosend() 2595 int atomic = sosendallatonce(so); in sosend_list() local 2610 if (atomic == 0) { in sosend_list() [all …]
|
| /xnu-12377.1.9/doc/observability/ |
| H A D | mt_stackshot.md | 39 allows for stackshot to grab an atomic snapshot of the entire system's state.
|
| /xnu-12377.1.9/tests/vm/ |
| H A D | vm_stress.cpp | 125 std::atomic<state> state{paused};
|