| /xnu-11215/EXTERNAL_HEADERS/ |
| H A D | stdatomic.h | 110 typedef _Atomic(bool) atomic_bool; 112 typedef _Atomic(_Bool) atomic_bool; 114 typedef _Atomic(char) atomic_char; 115 typedef _Atomic(signed char) atomic_schar; 116 typedef _Atomic(unsigned char) atomic_uchar; 117 typedef _Atomic(short) atomic_short; 119 typedef _Atomic(int) atomic_int; 120 typedef _Atomic(unsigned int) atomic_uint; 121 typedef _Atomic(long) atomic_long; 122 typedef _Atomic(unsigned long) atomic_ulong; [all …]
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOSharedDataQueue.cpp | 182 headOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in peek() 183 tailOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_ACQUIRE); in peek() 229 tail = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_RELAXED); in enqueue() 230 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_ACQUIRE); in enqueue() 290 __c11_atomic_store((_Atomic UInt32 *)&dataQueue->tail, newTail, __ATOMIC_RELEASE); in enqueue() 303 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in enqueue() 329 headOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in dequeue() 330 tailOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_ACQUIRE); in dequeue() 385 __c11_atomic_store((_Atomic UInt32 *)&dataQueue->head, newHeadOffset, __ATOMIC_RELEASE); in dequeue()
|
| H A D | IODataQueue.cpp | 179 tail = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_RELAXED); in enqueue() 180 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_ACQUIRE); in enqueue() 237 __c11_atomic_store((_Atomic UInt32 *)&dataQueue->tail, newTail, __ATOMIC_RELEASE); in enqueue() 250 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in enqueue()
|
| /xnu-11215/osfmk/kern/ |
| H A D | sched_clutch.h | 175 uint16_t _Atomic scr_cumulative_run_count[TH_BUCKET_SCHED_MAX]; 281 uint32_t _Atomic scbg_timeshare_tick; 283 uint32_t _Atomic scbg_pri_shift; 285 uint32_t _Atomic scbg_preferred_cluster; 316 uint16_t _Atomic sc_thr_count;
|
| H A D | sched.h | 277 _Atomic uint64_t earliest_deadline; /* earliest deadline */ 278 _Atomic int count; /* # of threads total */ 279 …_Atomic uint32_t constraint; /* constraint of earliest deadline thread … 280 _Atomic int ed_index; /* index of earliest deadline thread */
|
| H A D | monotonic.h | 40 extern _Atomic uint64_t mt_pmis; 41 extern _Atomic uint64_t mt_retrograde;
|
| H A D | processor.h | 169 extern _Atomic sched_perfctl_class_policy_t sched_perfctl_policy_util; 170 extern _Atomic sched_perfctl_class_policy_t sched_perfctl_policy_bg; 311 _Atomic pset_map_t pset_idle_map; /* psets with at least one IDLE CPU */ 312 _Atomic pset_map_t pset_idle_primary_map; /* psets with at least one IDLE primary CPU */ 313 …_Atomic pset_map_t pset_non_rt_map; /* psets with at least one available CPU not runni… 314 …_Atomic pset_map_t pset_non_rt_primary_map;/* psets with at least one available primary CPU n… 315 _Atomic pset_map_t pset_recommended_map; /* psets with at least one recommended processor */
|
| H A D | mpsc_queue.h | 54 struct mpsc_queue_chain *_Atomic mpqc_next; 124 struct mpsc_queue_chain *_Atomic mpqh_tail; 517 mpsc_daemon_queue_state_t _Atomic mpd_state;
|
| H A D | exclaves_memory.c | 57 _Atomic uint64_t pages_alloced; 58 _Atomic uint64_t pages_freed; 59 _Atomic uint64_t time_allocating; 60 _Atomic uint64_t max_alloc_latency; 61 _Atomic uint64_t alloc_latency_byhighbit[16];// highbit(MCT end - MCT start)/4
|
| H A D | bits.h | 192 atomic_bit_set(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_set() 200 atomic_bit_clear(_Atomic bitmap_t *__single map, int n, int mem_order) in atomic_bit_clear() 297 atomic_bitmap_set(_Atomic bitmap_t *__header_indexable map, uint n, int mem_order) in atomic_bitmap_set() 303 atomic_bitmap_clear(_Atomic bitmap_t *__header_indexable map, uint n, int mem_order) in atomic_bitmap_clear()
|
| /xnu-11215/iokit/System/ |
| H A D | IODataQueueDispatchSourceShared.h | 308 headOffset = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->head, __ATOMIC_RELAXED); in Peek() 309 tailOffset = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->tail, __ATOMIC_ACQUIRE); in Peek() 395 headOffset = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->head, __ATOMIC_RELAXED); in DequeueWithCoalesce() 396 tailOffset = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->tail, __ATOMIC_ACQUIRE); in DequeueWithCoalesce() 459 __c11_atomic_store((_Atomic uint32_t *)&dataQueue->head, newHeadOffset, __ATOMIC_RELEASE); in DequeueWithCoalesce() 510 tail = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->tail, __ATOMIC_RELAXED); in EnqueueWithCoalesce() 511 head = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->head, __ATOMIC_ACQUIRE); in EnqueueWithCoalesce() 587 __c11_atomic_store((_Atomic uint32_t *)&dataQueue->tail, newTail, __ATOMIC_RELEASE); in EnqueueWithCoalesce() 600 head = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->head, __ATOMIC_RELAXED); in EnqueueWithCoalesce() 640 tail = __c11_atomic_load((_Atomic uint32_t *)&dataQueue->tail, __ATOMIC_RELAXED); in CanEnqueueData() [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | vm_reclaim.h | 42 _Atomic uint64_t head; 43 _Atomic uint64_t tail; 44 _Atomic uint64_t busy;
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_memorystatus_internal.h | 83 extern _Atomic bool memorystatus_zone_map_is_exhausted; 98 extern _Atomic bool memorystatus_compressor_space_shortage; 105 extern _Atomic bool memorystatus_phantom_cache_pressure; 107 extern _Atomic bool memorystatus_pageout_starved; 203 extern _Atomic bool vm_swapout_wake_pending;
|
| /xnu-11215/san/memory/ |
| H A D | ubsan_log.c | 53 _Atomic size_t ubsan_log_head = 0; /* first valid entry */ 54 _Atomic size_t ubsan_log_tail = 0; /* next free slot (reader) */ 55 _Atomic size_t ubsan_log_next = 0; /* next free slot (writer) */
|
| /xnu-11215/san/coverage/ |
| H A D | kcov_ksancov_data.h | 50 _Atomic uint32_t kh_enabled; 63 _Atomic uint32_t kt_head; /* Pointer to the first unused element. */
|
| /xnu-11215/libkern/gen/ |
| H A D | OSAtomicOperations.c | 85 _Atomic UInt64 *aligned_addr = (_Atomic UInt64 *)(uintptr_t)address; in OSCompareAndSwap64() 122 _Atomic SInt64* aligned_address = (_Atomic SInt64*)(uintptr_t)address; in OSAddAtomic64()
|
| /xnu-11215/doc/primitives/ |
| H A D | atomics.md | 69 perform_with_progress(int steps, long _Atomic *progress) 82 perform_with_progress(int steps, long _Atomic *progress) 97 (or `_Atomic volatile`), which allow for use of atomic 105 as if their type was `_Atomic volatile` qualified. 132 Qualifying atomic variables with `_Atomic` or even 133 `_Atomic volatile` is encouraged, however authors must 212 static int _Atomic i = 0; 255 int _Atomic *address; 273 int _Atomic *address; 303 int _Atomic *address; [all …]
|
| /xnu-11215/bsd/sys/ |
| H A D | eventvar.h | 339 _Atomic(struct thread_group *) * 351 _Atomic thread_group_qos_t kqwl_preadopt_tg; 358 _Atomic uint8_t kqwl_iotier_override; /* iotier override */ 382 _Atomic uint16_t kqwl_preadopt_tg_needs_redrive;
|
| /xnu-11215/tests/ |
| H A D | task_vm_info_decompressions.c | 31 static _Atomic int thread_malloc_count = 0; 32 static _Atomic int thread_thawed_count = 0; 33 static _Atomic int phase = 0;
|
| H A D | testposixshm.c | 16 static _Atomic int phase = 0; 17 static _Atomic int pass_count = 0; 18 static _Atomic int fail_count = 0;
|
| H A D | perf_exit.c | 49 static _Atomic int producer_i, consumer_i; 57 static _Atomic bool tracing_on = false;
|
| /xnu-11215/bsd/pthread/ |
| H A D | workqueue_internal.h | 251 workq_state_flags_t _Atomic wq_flags; 266 _Atomic wq_thactive_t wq_thactive; 267 _Atomic uint64_t wq_lastblocked_ts[WORKQ_NUM_QOS_BUCKETS];
|
| /xnu-11215/libkern/os/ |
| H A D | atomic.h | 78 #define os_atomic(type) type volatile _Atomic 79 #define os_cast_to_atomic_pointer(p) (__typeof__(*(p)) volatile _Atomic *)(uintptr_t)(p)
|
| /xnu-11215/osfmk/arm/ |
| H A D | preemption_disable_internal.h | 66 _Atomic uint64_t pdp_max_mach_duration;
|
| /xnu-11215/osfmk/kperf/ |
| H A D | pet.h | 35 extern _Atomic uint32_t kppet_gencount;
|