Home
last modified time | relevance | path

Searched refs:spin (Results 1 – 7 of 7) sorted by relevance

/xnu-8019.80.24/tests/
H A Dmanual_wq_cooperative.c177 spin(uint64_t spin_duration_nsecs) in spin() function
196 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
201 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
206 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
H A Dstackshot_accuracy.m38 child_recurse(int r, int spin, void (^cb)(void))
41 child_recurse(r - 1, spin, cb);
47 if (spin == 0) {
49 } else if (spin == 2) {
303 parent_helper_singleproc(int spin)
313 child_recurse(RECURSIONS, spin, ^{
H A Dstackshot_idle_25570396.m146 * shared semaphore. This should spin up plenty of threads! */
177 /* Dispatch NUMENQUEUES jobs to a concurrent queue that spin in a tight loop.
/xnu-8019.80.24/osfmk/kern/
H A Dkern_monotonic.c85 spin: in mt_fixed_thread_counts()
94 goto spin; in mt_fixed_thread_counts()
/xnu-8019.80.24/tests/ktrace/
H A Dkperf_backtracing_tests.c473 static volatile bool spin = true; variable
483 while (spin); in recurse_spin()
H A Dkpc_tests.c140 spin(void *arg) in spin() function
257 pthread_t *threads = start_threads(&mch, spin, &until);
528 (void)start_threads(&mch, spin, &stop);
/xnu-8019.80.24/bsd/net/
H A Droute.c3788 rt_lock(struct rtentry *rt, boolean_t spin) in rt_lock() argument
3791 if (spin) { in rt_lock()