Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/
H A Dmanual_wq_cooperative.c181 spin(uint64_t spin_duration_nsecs) in spin() function
200 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
205 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
210 spin(get_rand_spin_duration_nsecs()); in worker_cb_stress()
H A Dstackshot_accuracy.m40 child_recurse(int r, int spin, void (^cb)(void))
43 child_recurse(r - 1, spin, cb);
49 if (spin == 0) {
51 } else if (spin == 2) {
305 parent_helper_singleproc(int spin)
315 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-12377.1.9/osfmk/kern/
H A Dlock_stat.h202 lck_mtx_acquire_probe(bool spin, bool try_lock) in lck_mtx_acquire_probe() argument
204 if (spin) { in lck_mtx_acquire_probe()
404 #define LCK_MTX_ACQUIRED(mtx, grp, spin, profile) \ argument
405 lck_mtx_prof_probe(lck_mtx_acquire_probe(spin, false), mtx, grp, profile)
407 #define LCK_MTX_TRY_ACQUIRED(mtx, grp, spin, profile) \ argument
408 lck_mtx_prof_probe(lck_mtx_acquire_probe(spin, true), mtx, grp, profile)
H A Dlock_mtx.c1079 bool spin) in lck_mtx_try_lock_slow_inline() argument
1089 spin, odata & LCK_MTX_PROFILE); in lck_mtx_try_lock_slow_inline()
1097 if (spin) { in lck_mtx_try_lock_slow_inline()
/xnu-12377.1.9/tests/ktrace/
H A Dkperf_backtracing_tests.c468 static volatile bool spin = true; variable
478 while (spin); in recurse_spin()
/xnu-12377.1.9/tests/cpu_counters/
H A Dkpc_tests.c193 spin(void *arg) in spin() function
314 pthread_t *threads = start_threads(&mch, spin, &until);
582 (void)start_threads(&mch, spin, &stop);
/xnu-12377.1.9/tests/recount/
H A Drecount_tests.c51 volatile int *spin = arg; in spin_thread() local
52 while (*spin); in spin_thread()
/xnu-12377.1.9/tests/sched/
H A Dsetitimer.c700 bool *spin = arg; in cpu_thread_main() local
701 while (*spin) { in cpu_thread_main()
/xnu-12377.1.9/doc/observability/
H A Dmt_stackshot.md150 notices it is set, it will spin in place. Before the initiating CPU spins in
/xnu-12377.1.9/bsd/net/
H A Droute.c3898 rt_lock(struct rtentry *rt, boolean_t spin) in rt_lock() argument
3901 if (spin) { in rt_lock()