Lines Matching refs:max_background_threads
21 size_t max_background_threads; variable
292 for (unsigned i = ind; i < narenas; i += max_background_threads) {
395 for (unsigned i = 1; i < max_background_threads; i++) {
438 VARIABLE_ARRAY(bool, created_threads, max_background_threads);
440 for (i = 1; i < max_background_threads; i++) {
463 for (i = 1; i < max_background_threads; i++) {
510 assert(thread_ind < max_background_threads);
544 size_t thread_ind = arena_ind % max_background_threads;
598 VARIABLE_ARRAY(bool, marked, max_background_threads);
600 for (i = 0; i < max_background_threads; i++) {
609 if (marked[i % max_background_threads] ||
614 i % max_background_threads];
619 marked[i % max_background_threads] = true;
620 if (++nmarked == max_background_threads) {
735 for (unsigned i = 0; i < max_background_threads; i++) {
742 for (unsigned i = 0; i < max_background_threads; i++) {
751 for (unsigned i = 0; i < max_background_threads; i++) {
764 for (unsigned i = 0; i < max_background_threads; i++) {
788 for (unsigned i = 0; i < max_background_threads; i++) {
873 max_background_threads = opt_max_background_threads; in background_thread_boot1()
890 for (unsigned i = 0; i < max_background_threads; i++) { in background_thread_boot1()