Searched refs:max_threads (Results 1 – 4 of 4) sorted by relevance
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | exclaves_inspection.c | 88 …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 95 for (count = 0; count < max_threads; ++count) { in prepare_scid_list_stackshot() 108 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 115 for (count = 0; count < max_threads; ++count) { in prepare_scid_list_kperf()
|
| H A D | waitq.c | 800 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-10063.141.1/tests/ |
| H A D | setitimer.c | 74 static const uint32_t max_threads = 9; variable 87 } __attribute__((aligned(128))) gThreadList[max_threads]; 164 nworkers = MIN(max_threads - 1, ncpu);
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | kern_memorystatus.c | 3624 int max_threads = max_jetsam_threads; in memorystatus_thread_pool_max() local 3625 memorystatus_log_info("Expanding memorystatus pool to %d!\n", max_threads); in memorystatus_thread_pool_max() 3626 atomic_store(&active_jetsam_threads, max_threads); in memorystatus_thread_pool_max()
|