Searched refs:atomic_fetch_add (Results 1 – 6 of 6) sorted by relevance
| /xnu-11215/tests/ |
| H A D | testposixshm.c | 33 atomic_fetch_add(&fail_count, 1); in worker_thread_func() 36 atomic_fetch_add(&pass_count, 1); in worker_thread_func() 46 atomic_fetch_add(&fail_count, 1); in worker_thread_func() 48 atomic_fetch_add(&pass_count, 1); in worker_thread_func() 58 atomic_fetch_add(&fail_count, 1); in worker_thread_func() 60 atomic_fetch_add(&pass_count, 1); in worker_thread_func() 70 atomic_fetch_add(&fail_count, 1); in worker_thread_func() 184 atomic_fetch_add(&phase, 1); 194 atomic_fetch_add(&phase, 1); 204 atomic_fetch_add(&phase, 1); [all …]
|
| H A D | task_vm_info_decompressions.c | 93 atomic_fetch_add(&thread_malloc_count, 1); in worker_thread_function() 105 atomic_fetch_add(&thread_thawed_count, 1); in worker_thread_function() 201 atomic_fetch_add(&phase, 1); 214 atomic_fetch_add(&phase, 1);
|
| /xnu-11215/EXTERNAL_HEADERS/ |
| H A D | stdatomic.h | 168 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
|
| /xnu-11215/tests/counter/ |
| H A D | benchmark.c | 119 if (atomic_fetch_add(&(globals->tg_threads_ready), 1) == globals->tg_args.n_threads - 1) { in writer()
|
| /xnu-11215/tests/sched/ |
| H A D | yield_aggressor.c | 123 if (atomic_fetch_add(&done_threads, 1) == num_threads - 1) { in thread_fn()
|
| /xnu-11215/osfmk/kperf/ |
| H A D | kptimer.c | 417 atomic_fetch_add(&mycounter, 1); in kptimer_broadcast_pet()
|