Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dexclaves_inspection.c97 …are_scid_list_stackshot(queue_t wl, uint64_t *pscid_list, ctid_t *pctid_list, uint64_t max_threads) in prepare_scid_list_stackshot() argument
104 for (count = 0; count < max_threads; ++count) { in prepare_scid_list_stackshot()
117 prepare_scid_list_kperf(queue_t wl, uint64_t *pscid_list, ctid_t *pctid_list, uint64_t max_threads) in prepare_scid_list_kperf() argument
124 for (count = 0; count < max_threads; ++count) { in prepare_scid_list_kperf()
H A Dwaitq.c800 uint32_t max_threads; member
1014 if (++args->nthreads >= args->max_threads) { in waitq_queue_iterate_locked()
1051 if (update_inheritor && args->max_threads == UINT32_MAX) { in waitq_prioq_iterate_locked()
1088 if (++args->nthreads >= args->max_threads) { in waitq_prioq_iterate_locked()
1153 } else if (args->nthreads < args->max_threads) { in do_waitq_select_n_locked_queue()
1261 if (args->nthreads >= args->max_threads) { in do_waitq_select_n_locked_sets()
1283 if (args->nthreads >= args->max_threads) { in do_waitq_select_n_locked()
1526 .max_threads = UINT32_MAX, in waitq_wakeup64_all_locked()
1569 .max_threads = 1, in waitq_wakeup64_one_locked()
1612 .max_threads = 1, in waitq_wakeup64_identify_locked()
/xnu-11215/tests/
H A Dsetitimer.c75 static const uint32_t max_threads = 9; variable
88 } __attribute__((aligned(128))) gThreadList[max_threads];
165 nworkers = MIN(max_threads - 1, ncpu);
/xnu-11215/bsd/kern/
H A Dkern_memorystatus.c3683 int max_threads = max_jetsam_threads; in memorystatus_thread_pool_max() local
3684 memorystatus_log_info("Expanding memorystatus pool to %d\n", max_threads); in memorystatus_thread_pool_max()
3685 os_atomic_store(&active_jetsam_threads, max_threads, relaxed); in memorystatus_thread_pool_max()